The Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow. Text content is released under Creative Commons BY-SA. See credits at the end of this book whom contributed to the various chapters. Images may be copyright of their respective owners unless otherwise specified
Book created for educational purposes and is not affiliated with group(s), company(s) nor Stack Overflow. All trademarks belong to their respective company owners
https://goalkicker.com/
章節目錄
1-1
Content list
1-2
About
1-3
Chapter 1: Getting started with PHP
1-4
Section 1.1: HTML output from web server
1-5
Section 1.2: Hello, World!
1-6
Section 1.3: Non-HTML output from web server
1-7
Section 1.4: PHP built-in server
1-8
Section 1.5: PHP CLI
1-9
Section 1.6: Instruction Separation
1-10
Section 1.7: PHP Tags
1-11
Chapter 2: Variables
1-12
Section 2.1: Accessing A Variable Dynamically By Name (Variable variables)
1-13
Section 2.2: Data Types
1-14
Section 2.3: Global variable best practices
1-15
Section 2.4: Default values of uninitialized variables
1-16
Section 2.5: Variable Value Truthiness and Identical Operator
1-17
Chapter 3: Variable Scope
1-18
Section 3.1: Superglobal variables
1-19
Section 3.2: Static properties and variables
1-20
Section 3.3: User-defined global variables
1-21
Chapter 4: Superglobal Variables PHP
1-22
Section 4.1: Suberglobals explained
1-23
Section 4.2: PHP5 SuperGlobals
1-24
Chapter 5: Outputting the Value of a Variable
1-25
Section 5.1: echo and print
1-26
Section 5.2: Outputting a structured view of arrays and objects
1-27
Section 5.3: String concatenation with echo
1-28
Section 5.4: printf vs sprintf
1-29
Section 5.5: Outputting large integers
1-30
Section 5.6: Output a Multidimensional Array with index and value and print into the table
1-31
Chapter 6: Constants
1-32
Section 6.1: Defining constants
1-33
Section 6.2: Class Constants
1-34
Section 6.3: Checking if constant is defined
1-35
Section 6.4: Using constants
1-36
Section 6.5: Constant arrays
1-37
Chapter 7: Magic Constants
1-38
Section 7.1: Dierence between __FUNCTION__ and __METHOD__
1-39
Section 7.2: Dierence between __CLASS__, get_class() and get_called_class()
1-40
Section 7.3: File & Directory Constants
1-41
Chapter 8: Comments
1-42
Section 8.1: Single Line Comments
1-43
Section 8.2: Multi Line Comments
1-44
Chapter 9: Types
1-45
Section 9.1: Type Comparison
1-46
Section 9.2: Boolean
1-47
Section 9.3: Float
1-48
Section 9.4: Strings
1-49
Section 9.5: Callable
1-50
Section 9.6: Resources
1-51
Section 9.7: Type Casting
1-52
Section 9.8: Type Juggling
1-53
Section 9.9: Null
1-54
Section 9.10: Integers
1-55
Chapter 10: Operators
1-56
Section 10.1: Null Coalescing Operator (??)
1-57
Section 10.2: Spaceship Operator (<=>)
1-58
Section 10.3: Execution Operator (``)
1-59
Section 10.4: Incrementing (++) and Decrementing Operators (--)
1-60
Section 10.5: Ternary Operator (?:)
1-61
Section 10.6: Logical Operators (&&/AND and ||/OR)