Home Page Icon
Home Page
Table of Contents for
PHP Cookbook
Close
PHP Cookbook
by Eric A. Mann
PHP Cookbook
1. Variables
1.1. Defining Constants
1.2. Creating Variable Variables
1.3. Swapping Variables In-place
2. Operators
2.1. Using a ternary operator instead of an if-else block
2.2. Coalescing potentially null values
2.3. Comparing identical values
2.4. Using the spaceship operator to sort values
2.5. Suppressing diagnostic errors with an operator
2.6. Comparing bits within integers
3. Functions
3.1. Accessing function parameters
3.2. Settings a function’s default parameters
3.3. Using named function parameters
3.4. Enforcing function argument and return typing
3.5. Defining a function with a variable number of arguments
3.6. Returning more than one value
3.7. Accessing global variables from within a function
3.8. Managing state within a function across multiple invocations
3.9. Defining dynamic functions
3.10. Passing functions as parameters to other functions
3.11. Using concise function definitions (arrow functions)
3.12. Creating a function with no return value
3.13. Creating a function that does not return
4. Strings
4.1. Accessing substrings within a larger string
4.2. Extracting one string from within another
4.3. Replacing part of a string
4.4. Processing a string one byte at a time
4.5. Generating random strings
4.6. Interpolating variables within a string
4.7. Concatenating multiple strings together
4.8. Managing binary data stored in strings
About the Author
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
PHP Cookbook
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset