search

Next Section: PHP循环控制语句 for() break; continue();3216 plays

5 秒后自动播放下一节
  Watch Again

PHP language classic introductory tutorial

Introduction >
ChapterCourseware
Chapter1Introduction to PHP

PHP language introduction

02 minutes06 seconds

PHP software introduction

12 minutes04 seconds
Chapter2PHP variables

PHP variables, variable naming rules

06 minutes26 seconds

Variable type Boolean type, integer type, floating point type, string, null value

06 minutes13 seconds

Type conversion boolval intval floatval strval

07 minutes11 seconds

Type judgment function is_bool is_int is_float is_string is_null

13 minutes24 seconds
Chapter3PHP operators

Ouyang Ke's Vernacular Chapter (can be skipped)

09 minutes58 seconds

Arithmetic operators, string operators, assignment operators

08 minutes29 seconds

Increment and decrement operators, logical operators, comparison operators

13 minutes04 seconds

Conditional operators, operator precedence

08 minutes40 seconds
Chapter4PHP process control

PHP conditional control statement if()

10 minutes38 seconds

PHP conditional control statement switch() exit;

04 minutes40 seconds

PHP loop control statement while()

05 minutes26 seconds

PHP loop control statement for() break; continue();

04 minutes57 seconds
Chapter5PHP string

Single quotes, double quotes, string escape, trim(), ltrim(), rtime()

09 minutes39 seconds

String length, comparing two strings

09 minutes50 seconds

search string

06 minutes41 seconds

Replace strings and format numbers

06 minutes38 seconds
Chapter6PHP array

Create array, array type, output array

08 minutes54 seconds

One-dimensional array, multi-dimensional array, array traversal foreach()

10 minutes49 seconds

Array to string, string to array, count the number of array elements

07 minutes02 seconds

Query array keys, query data elements, add and delete array elements

08 minutes06 seconds

Detect arrays, merge arrays, and sort arrays

07 minutes35 seconds

superglobal variable

05 minutes27 seconds
Chapter7PHP object

Custom function

06 minutes29 seconds

Introduction to classes and objects, creation and instantiation of classes, members of classes

09 minutes40 seconds

Class value transfer, construction method, class inheritance, class polymorphism

09 minutes16 seconds

class magic methods

10 minutes11 seconds

Trait

04 minutes00 seconds

Namespaces

06 minutes26 seconds
  • CancelreplySending
  • Cancelpost a noteSending