Main PHP Tutorial8+

Simple PHP Tutorial for Beginners with Taskbook and Solution Examples.

Basics

001

Introduction to the PHP Language for Beginners

002

Getting Started With PHP

003

PHP Code Execution

004

The Problem with Encodings

005

PHP Error Output

006

Full Code for Running PHP

007

Improved Code For Launching

008

Overview of Basic PHP Commands

009

Comments in PHP

010

Comments in the Book

011

Var_dump Function in PHP

012

Functions in PHP

013

Variables in PHP

014

Using Variables in PHP

015

Changing Variable Values in PHP

016

Mathematical Operations with Numbers in PHP

017

Mathematical Operations with Variables in PHP

018

Priority of Mathematical Operations in PHP

019

Equal Precedence in PHP

020

Grouping Parentheses in PHP

021

Nuances of Grouping in PHP

022

Fractions in PHP

023

Negative Numbers in PHP

024

Modulo Operation in PHP

025

Exponentiation in PHP

026

Exponentiation Precedence in PHP

027

Strings in PHP

028

String Concatenation in PHP

029

Spaces When Concatenating Strings in PHP

030

String Length in PHP

031

The Cyrillic Character Problem in PHP

032

Working with HTML Tags in PHP

033

Tag Attributes in PHP

034

Logical Values in PHP

035

The Null Value in PHP

036

Automatic Type Conversion in PHP

037

Automatic Conversion To String in PHP

038

Nuances of String Conversion in PHP

039

Type Casting to Integers in PHP

040

Forced Conversion to Floating-Point Numbers in PHP

041

Converting a Fraction to an Integer in PHP

042

Converting a Number to a String in PHP

043

Getting String Characters in PHP

044

Numbers in a String in PHP

045

Accessing Digits of a Number in PHP

046

Nuances of Working with the Assignment Operation in PHP

047

Shorthand Operations in PHP

048

Increment and Decrement Operations in PHP

049

Prefix and Postfix Types in PHP

050

Search for errors in the code

051

Practice on Operations in PHP

052

Practice on Formulas in PHP

Arrays

Conditions

067

If-Else Construct in PHP

068

Greater Than and Less Than Operators in PHP

069

Equality Check in PHP

070

Checking for Inequality in PHP

071

Comparison of Variables in PHP

072

Data Types and the If-Else Construct in PHP

073

Numbers in Quotes in PHP

074

Value and Type Equality in PHP

075

Inequality by Value and Type in PHP

076

Nuances of Comparing Data Types in PHP

077

Complex Conditions in If-Else in PHP

078

Logical AND in PHP

079

Logical OR in PHP

080

Priority of Comparison Operations in PHP

081

Grouping Conditions in PHP

082

Inverting Statements in If-Else

083

If-Else Construct and Boolean Values

084

Non-Strict Comparison of Boolean Values in PHP

085

Shorthand If in If-Else Construct

086

Nuances of Shorthand Operations in PHP

087

Isset Command in PHP

088

Suppressing Warnings in PHP

089

Checking the Existence of an Array Element in PHP

090

The empty Command in PHP

091

The Optional Else Command in PHP

092

Optionality of Curly Braces in Conditions in PHP

093

The Problem of Optional Curly Braces in Conditions in PHP

094

Combinations of If-Else Constructs in PHP

095

Elseif Construct in PHP

096

Nested If Statements in PHP

097

Switch-Case Construct in PHP

098

Optionality of Default in PHP

099

Match Construct in PHP

100

Optionality of Break in PHP

101

Ternary Operator in PHP

102

Null Coalescing Operator in PHP

103

Null Coalescing Operator Chains in PHP

104

Logical Operations in PHP

105

Determining a Part of an Hour in PHP

106

Checking the Length of Strings and Arrays in PHP

107

Checking a String Character in PHP

108

Checking the Remainder of Division in PHP

109

Search for errors in the with conditions in JavaScript

110

Practice on If-Else Conditions in PHP

Loops

Multidimensionality

Mathematical Functions

String Functions

Array Functions

Random

Time

Custom Functions

Scope

Recursion

Regular Expressions

223

Introduction to Regular Expressions in PHP

224

Character Repetition Operators in Regex

225

Grouping Parentheses in PHP Regex

226

Escaping Special Characters in PHP Regex

227

List of Special Characters in Regex in PHP

228

Curly Braces in PHP Regular Expressions

229

Limiting Greediness in Regex in PHP

230

Character Groups in PHP Regular Expressions

231

Character Sets in PHP Regular Expressions

232

Inverting Character Sets in Regex

233

Features of Cyrillic in PHP Regular Expressions

234

Special Characters Inside Square Brackets in PHP

235

Character Groups Inside Square Brackets in PHP

236

Exceptions Inside Character Classes in PHP Regex

237

The Caret Symbol Inside Character Classes in PHP Regex

238

Hyphen Inside Sets in PHP Regex

239

Start and End of String in PHP Regex

240

The End or Beginning of a Word in PHP Regular Expressions

241

The 'or' Command in PHP Regular Expressions

242

Delimiters of Regular Expressions in PHP

243

Escaping Delimiters in PHP

244

The Backslash Problem in PHP

245

Checking a String with a Regex in PHP

246

Automatic Testing of Regex in PHP

247

Checking the Entire String with Regular Expressions in PHP

248

Pockets When Searching via Regular Expressions in PHP

249

Finding All Matches with Regular Expressions in PHP

250

All Matches into Subpatterns via Regular Expressions in PHP

251

Changing preg_match_all Behavior in PHP

252

Non-Capturing Parentheses in PHP Regex

253

Pockets in Replacement via Regular Expressions in PHP

254

Pockets in Regular Expressions in PHP

255

Named Capturing Groups in PHP Regex

256

Named Capturing Groups Inside PHP Regex

257

Common Number of Capture Groups in PHP Regex

258

Lookahead in PHP Regex

259

Lookbehind in PHP Regex

260

Replacement With Callback Using Regular Expressions in PHP

261

Regular Expression Modifiers in PHP

262

Ignoring Case in Regex in PHP

263

Comments in Regex in PHP

264

Working with Unicode in Regular Expressions in PHP

265

Changing Regex Greediness in PHP

266

Escaping Ordinary Characters in Regex in PHP

267

Several Regex Modifiers in PHP

268

Automatic Escaping of Special Regex Characters in PHP

269

Filtering an Array Using Regular Expressions in PHP

270

Splitting a String into an Array Using Regular Expressions in PHP

Forming Strings

Forms

Sessions

Cookies

File System

Databases

Database Organization

Database Practice

Working with HTTP

Redirects

Authentication

Site Engine