array unshift
Adds a new item or items in front of an array.
copy
Adds a new item or items in front of an array.
copy
Changes document header and returns document data in JSON format.
copy
Simple class example.
copy
A simple copyrights short code using current year.
copy
Loop through an array.
copy
Match keyword with the values. This is a new feature in PHP8.
copy
Null coalescing returns the first value if it exists and is not null, otherwise it falls back to the second value.
copy
Lets you parse a URL and retrieve parts like scheme, hostname, port, path, query, fragment, username, and password.
copy
Run the following command to get installed PHP version.
copy
Print value to the view.
copy
Print value in a readable format. Useful when fetching large objects or arrays.
copy
Push a new item or items at the end of an array.
copy
This function lets you run a shell command directly from a php file. Output of the command will be returned as a string so it can be displayed too.
copy
Lets you format a string and combine it with variables.
copy
Ternary operator evaluates first parameter followed by two values. First value is returned when the condition is true otherwise the second value is returned.
copy
Converts first letter of the string to uppercase.
copy
Return all the data about a variable in a structured format.
copy