Home >Backend Development >PHP Tutorial >Han Shunping's latest PHP basic video tutorial materials (source code, courseware) recommended
PHP ("Hypertext Preprocessor") is a general-purpose open source scripting language. The syntax absorbs the characteristics of C language, Java and Perl, which is easy to learn and widely used. It is mainly suitable for the field of Web development. PHP's unique syntax mixes C, Java, Perl, and PHP's own syntax. It can execute dynamic web pages faster. Compared with other programming languages, dynamic pages made with PHP embed programs into HTML (an application under the Standard Universal Markup Language) document for execution, and the execution efficiency is much higher than CGI that completely generates HTML tags. "Han Shunping's 2016 Latest PHP Basics Video Tutorial" will show you some basic knowledge of PHP.
Course playback address: http://www.php.cn/course/443.html
The teacher’s teaching style:
The teacher’s lectures are vivid, witty, witty, and touching. A vivid metaphor is like the finishing touch, opening the door to wisdom for students; a well-placed humor brings a knowing smile to students, like drinking a glass of mellow wine, giving people aftertaste and nostalgia; a philosopher's aphorisms, cultural references Proverbs are interspersed from time to time in the narration, giving people thinking and warning.
The more difficult point in this video is to control the branch process of PHP:
Branch structure
The branch structure is that the program is executed according to the required conditions to change the order of program execution. That is, when the condition is met, a certain description block is executed, and otherwise, another description block is executed. The use of branch structures in programs can have the following forms:
Single conditional branch structure
Bidirectional conditional branch structure
Multidirectional conditional branch structure
Nested conditional branch structure
Single conditional branch
The if structure is a single conditional branch structure. The basic format of the if statement is to calculate an expression and decide whether to execute the following statements based on the calculation result. . The "expression" in parentheses after if is the condition for execution, and the result returned by the condition can only be a Boolean value. It is usually the result value calculated by an expression composed of comparison operators or logical operators, or some functions that return Boolean type, etc. If a value of other types is passed in, it will be automatically converted to Boolean TRUE or FALSE. If the expression is TRUE, the code block is executed, otherwise it is not executed.
Here we also recommend downloading source code resources: http://www.php.cn/xiazai/learn/2120
The above is the detailed content of Han Shunping's latest PHP basic video tutorial materials (source code, courseware) recommended. For more information, please follow other related articles on the PHP Chinese website!