search

Next Section: 类的构造方法与析构方法:__construct()和__destruct()11203 plays

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

Dugu Jiujian (4)_PHP video tutorial

Introduction >
ChapterCourseware
Chapter1Why choose PHP Chinese website to learn PHP?

You won’t get pregnant after watching an advertisement_PHP Chinese website 2017 latest promotional video

03 minutes25 seconds
Chapter2PHP development environment construction: integrated installation and independent installation

Mac system: Installation and configuration of MAMP Pro development tools

05 minutes28 seconds

Windows system: Installation of WampServer tool

17 minutes18 seconds

Windows environment: UPUPW integrated development tool

17 minutes42 seconds

Windows environment: phpStudy integrated installation package

02 minutes47 seconds

Independent installation (1): Apache service installation and testing

14 minutes25 seconds

Independent installation (2): PHP and Apache integration

09 minutes57 seconds

MySQL and PHP integration: enabling PHP to handle databases

15 minutes01 seconds

[Exclusively developed by PHP Chinese website] Basic functions of PHP programmer toolbox

08 minutes48 seconds

[Exclusively developed by PHP Chinese website] PHP Programmer Toolbox Practical Guide

09 minutes17 seconds

Tips on using the front-end code artifact Emmet

20 minutes00 seconds
Chapter3PHP basic syntax: you must play according to its rules

Introduction to PHP: Why should you learn it? What can PHP do?

05 minutes57 seconds

What is the basic syntax of PHP? Tags, annotations, etc.

07 minutes15 seconds
Chapter4PHP data types: the basis for all legal operations

Introduction to PHP data types: Quickly preview and understand the basic methods of type conversion

11 minutes50 seconds

Boolean type Boolean: the simplest and most useful type

07 minutes38 seconds

Integer type: seemingly simple but actually very meaningful

09 minutes06 seconds

Float: Why can't it be used directly for comparison?

04 minutes51 seconds

String: Flexible little fairy

08 minutes54 seconds

Array (1): Quick preview of the soundtrack version

03 minutes18 seconds

Array (2): Index array and associative array

08 minutes43 seconds

Array (3): add/update/delete/view

09 minutes16 seconds

Array (4): Introduction to array traversal and common output statements

02 minutes57 seconds

Object (1): Creation and access of objects

04 minutes02 seconds

Object type Object (2): Use and type conversion of stdClass standard class

04 minutes46 seconds
Chapter5Variables and constants: small warehouses for storing data in programs

Variable creation and naming rules: Do not give random names

04 minutes10 seconds

Default value of variables: Default is not the best, so initialization is required

04 minutes32 seconds

Assignment of variables: The difference between passing by value and passing by reference

03 minutes15 seconds

Mutable variables: Provides a new idea for creating new variables

02 minutes34 seconds

The scope of a variable: it is the effective scope or visible scope

06 minutes04 seconds

Predefined variables (1): $GLOBALS/$_SERVER/$_GET/$_POST

07 minutes14 seconds

Predefined variables (2): $_COOKIE little dessert on the browser

09 minutes07 seconds

Predefined variables (3): $_SESSION, creating a more secure session mechanism

04 minutes53 seconds
Chapter6Program running process control in PHP

Conditional judgment structure: double branch process of if statement

04 minutes53 seconds

Multi-branch structure: Detailed explanation of the usage of switch statement

06 minutes31 seconds

for loop statement: It may be a universal loop, haha

04 minutes53 seconds

while loop: executed only when the condition is true, or may never be executed

04 minutes39 seconds

do~while loop: it must be executed once no matter what

03 minutes06 seconds
Chapter7Operators and expressions in PHP

Operators (1): arithmetic operators, string operators, assignment operators

08 minutes59 seconds

Operators (2): comparison operators and logical operators

07 minutes19 seconds

Introduction to expressions: Anything with a value can be called an expression

01 minutes54 seconds
Chapter8Functions and their applications in PHP

First experience with functions and syntax details: how to create and call functions

04 minutes59 seconds

Four parameter types of functions: value parameters/reference parameters/default parameters/variable parameters

11 minutes26 seconds

Variable function and callback implementation: the callback function is an elf

09 minutes28 seconds

Using callbacks to call methods of objects or classes (optional content)

04 minutes51 seconds

Function import and file inclusion: use of include and require

05 minutes03 seconds

Implementation of anonymous functions and closures: the principles of function expressions and closures

06 minutes14 seconds

Secrets of function creation and calling: I won’t tell you about it for ordinary people

06 minutes21 seconds
Chapter9Arrays in PHP and their usage techniques (full version)

Definition and classification of arrays: Array elements are composed of keys and values

07 minutes54 seconds

Array creation and access: 3 creation methods and 2 access methods

10 minutes16 seconds

Using for loops to traverse arrays: indexing and associative arrays

05 minutes02 seconds

Iterating through arrays using while loops: indexing and associative arrays

03 minutes55 seconds

Using foreach loop to traverse: index and associative array

03 minutes58 seconds

List structure: Convert elements of the default index array into variables

03 minutes16 seconds

Use each() function to split the array elements into two representations: index and association for traversal

03 minutes40 seconds

Use the list() structure and each() to complete the array traversal operation: must master

03 minutes38 seconds

Get the values ​​of all elements in an array and return them in a default index array: array_values()

02 minutes22 seconds

Get the key names of all elements and return them in the default index array: array_keys()

03 minutes38 seconds

Check whether a key exists in the array: array_key_exists()

03 minutes04 seconds

Check whether a value exists in the array: in_array()

07 minutes47 seconds

Array statistical functions: count(), array_count_values() and array_unique()

05 minutes49 seconds

Array filter array_filter(): callback function to process arrays

04 minutes08 seconds

Array patroller array_walk(): uses callback function to traverse or update the array

04 minutes29 seconds

Array mapper array_map(): Want to process multiple arrays at the same time? i can do it

05 minutes28 seconds

Array sorting by value: sort() forward and rsort() reverse sorting functions

04 minutes21 seconds

Array sorting by key name: ksort() ascending order and krsort() descending order function

04 minutes15 seconds

Keep the key-value correspondence unchanged when sorting the array: asrot() and arsort() functions

03 minutes36 seconds

To sort multiple arrays at the same time, the multi-dimensional array is first converted into a one-dimensional array by value: array_multisort()

06 minutes58 seconds

Use arrays to implement stack operations: array_push and array_pop

06 minutes06 seconds

Using arrays to implement queue operations: array_shift() and array_unshift() functions

04 minutes59 seconds

Other array functions: array_rand()/array_sum()/shuffle()/range()

10 minutes06 seconds
Chapter10Essential lectures on classes and objects in PHP: You must understand this time

A quick introduction to object-oriented programming in PHP: the relationship between classes and objects

02 minutes51 seconds

How to create a class and its properties and methods: naming conventions/access controls/pseudo variables

10 minutes06 seconds

6 ways to create objects: Only using [new class name] is not a real PHP programmer

12 minutes34 seconds

Creation and access of class constants: pay attention to the differences and connections with static properties

06 minutes01 seconds

Class automatic loading technology: __autoload() and spl_autoload_register()

09 minutes59 seconds

Class constructor and destructor methods: __construct() and __destruct()

06 minutes02 seconds

Object encapsulation [not just security]: private, __get, __set, __isset, __unset

11 minutes14 seconds

Class inheritance and polymorphism: extends and method overriding

10 minutes39 seconds

Tips for creating and accessing static members in classes: static

08 minutes11 seconds

Static binding and delayed binding technology of classes: detailed explanation of self, parent, static

09 minutes50 seconds

Object cloning technology: Create new objects like variable value transfer

05 minutes31 seconds

What should I do if I access a non-existent method or static method? Detailed explanation of __call() and __callSatatic()

04 minutes30 seconds

Serialization of objects: a method of transmitting or saving an object

06 minutes22 seconds

Abstract methods and abstract classes: templates for user classes

04 minutes18 seconds

Implementation of interface technology: standardizing members and types of user classes

05 minutes58 seconds

Declaration and usage skills of trait characteristics: Collection of class methods to achieve code reuse

13 minutes08 seconds

Namespace: Although we have the same name and the same sex, we belong to different time and space

10 minutes51 seconds

Object traversal: View object properties just like traversing an array

08 minutes08 seconds

PHP5.6 extension to namespace: use can import functions and constant spaces

15 minutes21 seconds
  • CancelreplySending
  • Cancelpost a noteSending