| Keyword/Function | Belongs To | Description |
|---|---|---|
$ | Regular Expression Syntax | Metacharacter. Finds a match at the end of the string |
| | Regular Expression Syntax | Metacharacter. Find a match for any one of the patterns separated by it, as in cat, dog or fish |
. | Regular Expression Syntax | Metacharacter. Find just one instance of any character |
[0-9] | Regular Expression Syntax | Pattern. Find one character from the range 0 to 9 |
[^abc] | Regular Expression Syntax | Pattern. Find any character NOT between the brackets |
[abc] | Regular Expression Syntax | Pattern. Find one character from the options between the brackets |
\b | Regular Expression Syntax | Metacharacter. Find a match at the beginning or the end of a word |
\d | Regular Expression Syntax | Metacharacter. Find a digit |
\s | Regular Expression Syntax | Metacharacter. Find a whitespace character |
\uxxxx | Regular Expression Syntax | Metacharacter. Find the Unicode character specified by the hexadecimal number xxxx |
^ | Regular Expression Syntax | Metacharacter. Finds a match at the beginning of a string |
__COMPILER_HALT_OFFSET__ | Miscellaneous Constants | Holds the byte offset directly after the __halt_compiler() call in the file |
__construct() | SimpleXML Functions | Creates a new SimpleXMLElement object Introduced in: |
__halt_compiler() | Miscellaneous Functions | Halts the compiler execution |
__toString() | SimpleXML Functions | Returns the string content of an element Introduced in: |
abs() | Math Functions | Returns the absolute (positive) value of a number Introduced in: |
abstract | Keywords | Declare a class as abstract Introduced in: |
acos() | Math Functions | Returns the arc cosine of a number |
acosh() | Math Functions | Returns the inverse hyperbolic cosine of a number |
addAttribute() | SimpleXML Functions | Appends an attribute to the SimpleXML element |
addChild() | SimpleXML Functions | Appends a child element to the SimpleXML element |
addcslashes() | String Functions | Returns a string with backslashes in front of the specified characters |
addslashes() | String Functions | Returns a string with backslashes in front of predefined characters |
affected_rows() | MySQLi Functions | Returns the number of affected rows in the previous MySQL operation |
and | Keywords | A logical operator |
array() | Array Functions | Creates an array Introduced in: |
array_change_key_case() | Array Functions | Changes all keys in an array to lowercase or uppercase |
array_chunk() | Array Functions | Splits an array into chunks of arrays Introduced in: |
array_column() | Array Functions | Returns the values from a single column in the input array |
array_combine() | Array Functions | Creates an array by using the elements from one "keys" array and one "values" array Introduced in: |
array_count_values() | Array Functions | Counts all the values of an array |
array_diff() | Array Functions | Compare arrays, and returns the differences (compare values only) |
array_diff_assoc() | Array Functions | Compare arrays, and returns the differences (compare keys and values) |
array_diff_key() | Array Functions | Compare arrays, and returns the differences (compare keys only) |
array_diff_uassoc() | Array Functions | Compare arrays, and returns the differences (compare keys and values, using a user-defined key comparison function) |
array_diff_ukey() | Array Functions | Compare arrays, and returns the differences (compare keys only, using a user-defined key comparison function) |
array_fill() | Array Functions | Fills an array with values Introduced in: |
array_fill_keys() | Array Functions | Fills an array with values, specifying keys |
array_filter() | Array Functions | Filters the values of an array using a callback function Introduced in: |
array_flip() | Array Functions | Flips/Exchanges all keys with their associated values in an array Introduced in: |
array_intersect() | Array Functions | Compare arrays, and returns the matches (compare values only) |
array_intersect_assoc() | Array Functions | Compare arrays and returns the matches (compare keys and values) |
array_intersect_key() | Array Functions | Compare arrays, and returns the matches (compare keys only) |
array_intersect_uassoc() | Array Functions | Compare arrays, and returns the matches (compare keys and values, using a user-defined key comparison function) |
array_intersect_ukey() | Array Functions | Compare arrays, and returns the matches (compare keys only, using a user-defined key comparison function) |
array_key_exists() | Array Functions | Checks if the specified key exists in the array Introduced in: |
array_keys() | Array Functions | Returns all the keys of an array Introduced in: |
array_map() | Array Functions | Sends each value of an array to a user-made function, which returns new values Introduced in: |
array_merge() | Array Functions | Merges one or more arrays into one array Introduced in: |
array_merge_recursive() | Array Functions | Merges one or more arrays into one array recursively |
array_multisort() | Array Functions | Sorts multiple or multi-dimensional arrays |
array_pad() | Array Functions | Inserts a specified number of items, with a specified value, to an array |
array_pop() | Array Functions | Deletes the last element of an array Introduced in: |
array_product() | Array Functions | Calculates the product of the values in an array |
array_push() | Array Functions | Inserts one or more elements to the end of an array Introduced in: |
array_rand() | Array Functions | Returns one or more random keys from an array |
array_reduce() | Array Functions | Returns an array as a string, using a user-defined function Introduced in: |
array_replace() | Array Functions | Replaces the values of the first array with the values from following arrays |
array_replace_recursive() | Array Functions | Replaces the values of the first array with the values from following arrays recursively |
array_reverse() | Array Functions | Returns an array in the reverse order Introduced in: |
array_search() | Array Functions | Searches an array for a given value and returns the key Introduced in: |
array_shift() | Array Functions | Removes the first element from an array, and returns the value of the removed element Introduced in: |
array_slice() | Array Functions | Returns selected parts of an array Introduced in: |
array_splice() | Array Functions | Removes and replaces specified elements of an array Introduced in: |
array_sum() | Array Functions | Returns the sum of the values in an array Introduced in: |
array_udiff() | Array Functions | Compare arrays, and returns the differences (compare values only, using a user-defined key comparison function) |
array_udiff_assoc() | Array Functions | Compare arrays, and returns the differences (compare keys and values, using a built-in function to compare the keys and a user-defined function to compare the values) |
array_udiff_uassoc() | Array Functions | Compare arrays, and returns the differences (compare keys and values, using two user-defined key comparison functions) |
array_uintersect() | Array Functions | Compare arrays, and returns the matches (compare values only, using a user-defined key comparison function) |
array_uintersect_assoc() | Array Functions | Compare arrays, and returns the matches (compare keys and values, using a built-in function to compare the keys and a user-defined function to compare the values) |
array_uintersect_uassoc() | Array Functions | Compare arrays, and returns the matches (compare keys and values, using two user-defined key comparison functions) |
array_unique() | Array Functions | Removes duplicate values from an array Introduced in: |
array_unshift() | Array Functions | Adds one or more elements to the beginning of an array Introduced in: |
array_values() | Array Functions | Returns all the values of an array Introduced in: |
array_walk() | Array Functions | Applies a user function to every member of an array |
array_walk_recursive() | Array Functions | Applies a user function recursively to every member of an array |
arsort() | Array Functions | Sorts an associative array in descending order, according to the value Introduced in: |
as | Keywords | Used in the foreach loop |
asin() | Math Functions | Returns the arc sine of a number |
asinh() | Math Functions | Returns the inverse hyperbolic sine of a number |
asort() | Array Functions | Sorts an associative array in ascending order, according to the value Introduced in: |
asXML() | SimpleXML Functions | Returns a well-formed XML string from a SimpleXML object |
atan() | Math Functions | Returns the arc tangent of a number in radians |
atan2() | Math Functions | Returns the arc tangent of two variables x and y |
atanh() | Math Functions | Returns the inverse hyperbolic tangent of a number |
attributes() | SimpleXML Functions | Returns the attributes and values of an element |
autocommit() | MySQLi Functions | Turns on or off auto-committing database modifications |
base_convert() | Math Functions | Converts a number from one number base to another |
basename() | Filesystem Functions | Returns the filename component of a path |
begin_transaction() | MySQLi Functions | Starts a transaction |
bin2hex() | String Functions | Converts a string of ASCII characters to hexadecimal values |
bindec() | Math Functions | Converts a binary number to a decimal number |
boolval() | Variable Handling Functions | Returns the boolean value of a variable |
break | Keywords | Break out of loops and switch statements Introduced in: |
cal_days_in_month() | Calendar Functions | Returns the number of days in a month for a specified year and calendar Introduced in: |
CAL_DOW_DAYNO | Calendar Constants | Integer constant requesting the day of week as a number (PHP 4) |
CAL_DOW_LONG | Calendar Constants | Integer constant requesting the day of week as a full name (PHP 4) |
CAL_DOW_SHORT | Calendar Constants | Integer constant requesting the day of week as a short name (PHP 4) |
CAL_EASTER_ALWAYS_GREGORIAN | Calendar Constants | Integer constant forcing the Gregorian Easter calculation (PHP 4.3) |
CAL_EASTER_ALWAYS_JULIAN | Calendar Constants | Integer constant forcing the Julian Easter calculation (PHP 4.3) |
CAL_EASTER_DEFAULT | Calendar Constants | Integer constant selecting the default Easter calculation (PHP 4.3) |
CAL_EASTER_ROMAN | Calendar Constants | Integer constant selecting the Roman Easter calculation (PHP 4.3) |
CAL_FRENCH | Calendar Constants | Integer constant identifying the French Republican calendar (PHP 4) |
cal_from_jd() | Calendar Functions | Converts a Julian Day Count into a date of a specified calendar |
CAL_GREGORIAN | Calendar Constants | Integer constant identifying the Gregorian calendar (PHP 4) |
cal_info() | Calendar Functions | Returns information about a specified calendar |
CAL_JEWISH | Calendar Constants | Integer constant identifying the Jewish calendar (PHP 4) |
CAL_JEWISH_ADD_ALAFIM | Calendar Constants | Integer constant adding alafim to Jewish dates (PHP 5.0) |
CAL_JEWISH_ADD_ALAFIM_GERESH | Calendar Constants | Integer constant adding the alafim geresh to Jewish dates (PHP 5.0) |
CAL_JEWISH_ADD_GERESHAYIM | Calendar Constants | Integer constant adding gereshayim to Jewish dates (PHP 5.0) |
CAL_JULIAN | Calendar Constants | Integer constant identifying the Julian calendar (PHP 4) |
CAL_MONTH_FRENCH | Calendar Constants | Integer constant requesting French Republican month names (PHP 4) |
CAL_MONTH_GREGORIAN_LONG | Calendar Constants | Integer constant requesting long Gregorian month names (PHP 4) |
CAL_MONTH_GREGORIAN_SHORT | Calendar Constants | Integer constant requesting short Gregorian month names (PHP 4) |
CAL_MONTH_JEWISH | Calendar Constants | Integer constant requesting Jewish month names (PHP 4) |
CAL_MONTH_JULIAN_LONG | Calendar Constants | Integer constant requesting long Julian month names (PHP 4) |
CAL_MONTH_JULIAN_SHORT | Calendar Constants | Integer constant requesting short Julian month names (PHP 4) |
CAL_NUM_CALS | Calendar Constants | Integer constant holding the number of available calendars (PHP 4) |
cal_to_jd() | Calendar Functions | Converts a date in a specified calendar to Julian Day Count |
callable | Keywords | A data type which can be executed as a function |
case | Keywords | Used in the switch conditional Introduced in: |
catch | Keywords | Used in the try..catch statement Introduced in: |
ceil() | Math Functions | Rounds a number up to the nearest integer Introduced in: |
change_user() | MySQLi Functions | Changes the user of the specified database connection |
character_set_name() | MySQLi Functions | Returns the default character set for the database connection |
chdir() | Directory Functions | Changes the current directory |
checkdate() | Date/Time Functions | Validates a Gregorian date Introduced in: |
checkdnsrr() | Network Functions | Checks DNS records for type corresponding to host |
chgrp() | Filesystem Functions | Changes the file group |
children() | SimpleXML Functions | Returns the children of a specified node |
chmod() | Filesystem Functions | Changes the file mode |
chop() | String Functions | Alias of rtrim() |
chown() | Filesystem Functions | Changes the file owner |
chr() | String Functions | Returns a character from a specified ASCII value Introduced in: |
chroot() | Directory Functions | Changes the root directory |
chunk_split() | String Functions | Splits a string into a series of smaller parts |
class | Keywords | Declare a class Introduced in: |
clearstatcache() | Filesystem Functions | Clears the file status cache |
clone | Keywords | Create a copy of an object |
close() | MySQLi Functions | Closes a previously opened database connection |
closedir() | Directory Functions | Closes a directory handle |
closelog() | Network Functions | Closes the connection of system logger |
commit() | MySQLi Functions | Commits the current transaction |
compact() | Array Functions | Create array containing variables and their values |
connect() | MySQLi Functions | Opens a new connection to the MySQL server |
connect_errno() | MySQLi Functions | Returns the error code from the last connection error |
connect_error() | MySQLi Functions | Returns the error description from the last connection error |
CONNECTION_ABORTED | Miscellaneous Constants | Connection is aborted by user or network error |
connection_aborted() | Miscellaneous Functions | Checks whether the client has disconnected |
CONNECTION_NORMAL | Miscellaneous Constants | Connection is running normally |
connection_status() | Miscellaneous Functions | Returns the current connection status |
CONNECTION_TIMEOUT | Miscellaneous Constants | Connection timed out |
connection_timeout() | Miscellaneous Functions | Deprecated from PHP 4.0.5. Checks whether the script has timed out |
const | Keywords | Define a class constant Introduced in: |
constant() | Miscellaneous Functions | Returns the value of a constant |
continue | Keywords | Jump to the next iteration of a loop Introduced in: |
convert_cyr_string() | String Functions | Deprecated. Converts a string from one Cyrillic character-set to another |
convert_uudecode() | String Functions | Decodes a uuencoded string |
convert_uuencode() | String Functions | Encodes a string using the uuencode algorithm |
copy() | Filesystem Functions | Copies a file |
cos() | Math Functions | Returns the cosine of a number |
cosh() | Math Functions | Returns the hyperbolic cosine of a number |
count() | Array Functions / SimpleXML Functions | Returns the number of elements in an array Introduced in: |
count_chars() | String Functions | Returns information about characters used in a string |
crc32() | String Functions | Calculates a 32-bit CRC for a string |
crypt() | String Functions | One-way string hashing |
current() | Array Functions | Returns the current element in an array |
data_seek() | MySQLi Functions | Adjusts the result pointer to an arbitrary row in the result-set |
date() | Date/Time Functions | Formats a local date and time Introduced in: |
date_add() | Date/Time Functions | Adds days, months, years, hours, minutes, and seconds to a date |
DATE_ATOM | Date/Time Constants | Atom format (example: 2019-01-18T14:13:03+00:00) |
DATE_COOKIE | Date/Time Constants | HTTP Cookies format (example: Fri, 18 Jan 2019 14:13:03 UTC) |
date_create() | Date/Time Functions | Returns a new DateTime object |
date_create_from_format() | Date/Time Functions | Returns a new DateTime object formatted according to a specified format |
date_date_set() | Date/Time Functions | Sets a new date |
date_default_timezone_get() | Date/Time Functions | Returns the default timezone used by all date/time functions |
date_default_timezone_set() | Date/Time Functions | Sets the default timezone used by all date/time functions |
date_diff() | Date/Time Functions | Returns the difference between two dates |
date_format() | Date/Time Functions | Returns a date formatted according to a specified format |
date_get_last_errors() | Date/Time Functions | Returns the warnings/errors found in a date string |
date_interval_create_from_date_string() | Date/Time Functions | Sets up a DateInterval from the relative parts of the string |
date_interval_format() | Date/Time Functions | Formats the interval |
DATE_ISO8601 | Date/Time Constants | ISO-8601 format (example: 2019-01-18T14:13:03+0000) |
date_isodate_set() | Date/Time Functions | Sets the ISO date |
date_modify() | Date/Time Functions | Modifies the timestamp |
date_offset_get() | Date/Time Functions | Returns the timezone offset |
date_parse() | Date/Time Functions | Returns an associative array with detailed info about a specified date |
date_parse_from_format() | Date/Time Functions | Returns an associative array with detailed info about a specified date, according to a specified format |
DATE_RFC1036 | Date/Time Constants | RFC 1036 format (example: Friday, 18-Jan-19 14:13:03 +0000) |
DATE_RFC1123 | Date/Time Constants | RFC 1123 format (example: Fri, 18 Jan 2019 14:13:03 +0000) |
DATE_RFC2822 | Date/Time Constants | RFC 2822 format (example: Fri, 18 Jan 2019 14:13:03 +0000) |
DATE_RFC3339 | Date/Time Constants | Same as DATE_ATOM (since PHP 5.1.3) |
DATE_RFC3339_EXTENDED | Date/Time Constants | RFC3339 Extended format (since PHP 7.0.0) |
DATE_RFC822 | Date/Time Constants | RFC 822 format (example: Fri, 18 Jan 2019 14:13:03 +0000) |
DATE_RFC850 | Date/Time Constants | RFC 850 format (example: Friday, 18-Jan-19 14:13:03 UTC) |
DATE_RSS | Date/Time Constants | RSS format (example: Fri, 18 Jan 2019 14:13:03 +0000) |
date_sub() | Date/Time Functions | Subtracts days, months, years, hours, minutes, and seconds from a date |
date_sun_info() | Date/Time Functions | Returns an array containing info about sunset/sunrise and twilight begin/end, for a specified day and location |
date_sunrise() | Date/Time Functions | Deprecated. Returns the sunrise time for a specified day and location |
date_sunset() | Date/Time Functions | Deprecated. Returns the sunset time for a specified day and location |
date_time_set() | Date/Time Functions | Sets the time |
date_timestamp_get() | Date/Time Functions | Returns the Unix timestamp |
date_timestamp_set() | Date/Time Functions | Sets the date and time based on a Unix timestamp |
date_timezone_get() | Date/Time Functions | Returns the time zone of the given DateTime object |
date_timezone_set() | Date/Time Functions | Sets the time zone for the DateTime object |
DATE_W3C | Date/Time Constants | World Wide Web Consortium format (example: 2019-01-18T14:13:03+00:00) |
debug() | MySQLi Functions | Performs debugging operations |
debug_backtrace() | Error and Logging Functions | Generates a backtrace |
debug_print_backtrace() | Error and Logging Functions | Prints a backtrace |
debug_zval_dump() | Variable Handling Functions | Dumps a string representation of an internal zend value to output |
decbin() | Math Functions | Converts a decimal number to a binary number |
dechex() | Math Functions | Converts a decimal number to a hexadecimal number |
declare | Keywords | Set directives for a block of code |
decoct() | Math Functions | Converts a decimal number to an octal number |
default | Keywords | Used in the switch statement Introduced in: |
define() | Miscellaneous Functions | Defines a constant Introduced in: |
defined() | Miscellaneous Functions | Checks whether a constant exists |
deg2rad() | Math Functions | Converts a degree value to a radian value |
delete() | Filesystem Functions | See unlink() |
die() | Miscellaneous Functions | Alias of exit() |
dir() | Directory Functions | Returns an instance of the Directory class |
dirname() | Filesystem Functions | Returns the directory name component of a path |
disk_free_space() | Filesystem Functions | Returns the free space of a filesystem or disk |
disk_total_space() | Filesystem Functions | Returns the total size of a filesystem or disk |
diskfreespace() | Filesystem Functions | Alias of disk_free_space() |
dns_check_record() | Network Functions | Alias of checkdnsrr() |
dns_get_mx() | Network Functions | Alias of getmxrr() |
dns_get_record() | Network Functions | Gets the DNS resource records associated with the specified hostname |
do | Keywords | Create a do...while loop Introduced in: |
doubleval() | Variable Handling Functions | Alias of floatval() |
dump_debug_info() | MySQLi Functions | Dumps debugging info into the log |
E_ALL | Error and Logging Constants | Enable all PHP errors and warnings |
E_COMPILE_ERROR | Error and Logging Constants | Fatal compile-time errors, generated by the Zend Scripting Engine |
E_COMPILE_WARNING | Error and Logging Constants | Non-fatal compile-time errors, generated by the Zend Scripting Engine |
E_CORE_ERROR | Error and Logging Constants | Fatal errors at PHP startup, generated by the core of PHP |
E_CORE_WARNING | Error and Logging Constants | Non-fatal errors at PHP startup, generated by the core of PHP |
E_DEPRECATED | Error and Logging Constants | Run-time notices about code that will not work in future versions (Since PHP 5.3) |
E_ERROR | Error and Logging Constants | Fatal run-time errors. Errors that cannot be recovered from. Execution of the script is halted |
E_NOTICE | Error and Logging Constants | Run-time notices. The script found something that might be an error, but could also happen when running a script normally |
E_PARSE | Error and Logging Constants | Compile-time parse errors. Parse errors should only be generated by the parser |
E_RECOVERABLE_ERROR | Error and Logging Constants | Catchable fatal error. Indicates a probably dangerous error occurred, but the Engine was left in a stable state (Since PHP 5.2) |
E_STRICT | Error and Logging Constants | Enable to have PHP suggest changes to your code for best interoperability and forward compatibility |
E_USER_DEPRECATED | Error and Logging Constants | User-generated deprecation warning, raised in PHP code using trigger_error() (Since PHP 5.3) |
E_USER_ERROR | Error and Logging Constants | Fatal user-generated error, raised in PHP code using trigger_error() |
E_USER_NOTICE | Error and Logging Constants | User-generated notice, raised in PHP code using trigger_error() |
E_USER_WARNING | Error and Logging Constants | Non-fatal user-generated warning, raised in PHP code using trigger_error() |
E_WARNING | Error and Logging Constants | Run-time warnings (non-fatal errors). Execution of the script is not halted |
each() | Array Functions | Deprecated from PHP 7.2. Returns the current key and value pair from an array |
easter_date() | Calendar Functions | Returns the Unix timestamp for midnight on Easter of a specified year |
easter_days() | Calendar Functions | Returns the number of days after March 21, that the Easter Day is in a specified year |
echo | Keywords | Output text Introduced in: |
echo() | String Functions | Outputs one or more strings Introduced in: |
else | Keywords | Used in conditional statements Introduced in: |
elseif | Keywords | Used in conditional statements Introduced in: |
empty | Keywords | Check if an expression is empty Introduced in: |
empty() | Variable Handling Functions | Checks whether a variable is empty Introduced in: |
end() | Array Functions | Sets the internal pointer of an array to its last element |
enddeclare | Keywords | End a declare block |
endfor | Keywords | End a for block |
endforeach | Keywords | End a foreach block |
endif | Keywords | End an if or elseif block |
endswitch | Keywords | End a switch block |
endwhile | Keywords | End a while block |
errno() | MySQLi Functions | Returns the last error code for the most recent function call |
error() | MySQLi Functions | Returns the last error description for the most recent function call |
error_clear_last() | Error and Logging Functions | Clears the last error |
error_get_last() | Error and Logging Functions | Returns the last error that occurred |
error_list() | MySQLi Functions | Returns a list of errors for the most recent function call |
error_log() | Error and Logging Functions | Sends an error message to a log, to a file, or to a mail account |
error_reporting() | Error and Logging Functions | Specifies which errors are reported Introduced in: |
eval() | Miscellaneous Functions | Evaluates a string as PHP code |
Exception() | Exception Methods | The constructor of the Exception object Introduced in: |
exit() | Miscellaneous Functions | Prints a message and exits the current script |
exp() | Math Functions | Calculates the exponent of e |
explode() | String Functions | Breaks a string into an array Introduced in: |
expm1() | Math Functions | Returns exp(x) - 1 |
extends | Keywords | Extends a class or interface Introduced in: |
extract() | Array Functions | Imports variables into the current symbol table from an array |
ezmlm_hash() | Mail Functions | Deprecated. Calculates the hash value needed by EZMLM |
fclose() | Filesystem Functions | Closes an open file Introduced in: |
feof() | Filesystem Functions | Checks if the "end-of-file" (EOF) has been reached for an open file |
fetch_all() | MySQLi Functions | Fetches all result rows as an associative array, a numeric array, or both |
fetch_array() | MySQLi Functions | Fetches a result row as an associative, a numeric array, or both |
fetch_assoc() | MySQLi Functions | Fetches a result row as an associative array |
fetch_field() | MySQLi Functions | Returns the next field in the result-set, as an object |
fetch_field_direct() | MySQLi Functions | Returns meta-data for a single field in the result-set, as an object |
fetch_fields() | MySQLi Functions | Returns an array of objects that represent the fields in a result-set |
fetch_lengths() | MySQLi Functions | Returns the lengths of the columns of the current row in the result-set |
fetch_object() | MySQLi Functions | Returns the current row of a result-set, as an object |
fetch_row() | MySQLi Functions | Fetches one row from a result-set and returns it as an enumerated array |
fflush() | Filesystem Functions | Flushes buffered output to an open file |
fgetc() | Filesystem Functions | Returns a single character from an open file |
fgetcsv() | Filesystem Functions | Returns a line from an open CSV file Introduced in: |
fgets() | Filesystem Functions | Returns a line from an open file Introduced in: |
fgetss() | Filesystem Functions | Removed in PHP 8.0. Returns a line from an open file, stripped from HTML and PHP tags |
field_count() | MySQLi Functions | Returns the number of columns for the most recent query |
field_seek() | MySQLi Functions | Sets the field cursor to the given field offset |
file() | Filesystem Functions | Reads a file into an array Introduced in: |
file_exists() | Filesystem Functions | Checks whether or not a file or directory exists Introduced in: |
file_get_contents() | Filesystem Functions | Reads a file into a string Introduced in: |
file_put_contents() | Filesystem Functions | Writes data to a file Introduced in: |
fileatime() | Filesystem Functions | Returns the last access time of a file |
filectime() | Filesystem Functions | Returns the last change time of a file |
filegroup() | Filesystem Functions | Returns the group ID of a file |
fileinode() | Filesystem Functions | Returns the inode number of a file |
filemtime() | Filesystem Functions | Returns the last modification time of a file Introduced in: |
fileowner() | Filesystem Functions | Returns the user ID (owner) of a file |
fileperms() | Filesystem Functions | Returns the file's permissions |
filesize() | Filesystem Functions | Returns the file size Introduced in: |
filetype() | Filesystem Functions | Returns the file type |
FILTER_CALLBACK | Filter Constants | Call a user-defined function to filter data |
FILTER_DEFAULT | Filter Constants | Do nothing, optionally strip/encode special characters. Equivalent to FILTER_UNSAFE_RAW |
FILTER_FLAG_ALLOW_FRACTION | Filter Constants | Allows a period as a fractional separator in numbers |
FILTER_FLAG_ALLOW_HEX | Filter Constants | Only for inputs that start with 0x/0X as hexadecimal numbers. This only allows succeeding characters to be a-fA-F0-9 |
FILTER_FLAG_ALLOW_OCTAL | Filter Constants | Only for inputs that start with a zero as octal numbers. This only allows the succeeding digits to be 0-7 |
FILTER_FLAG_ALLOW_SCIENTIFIC | Filter Constants | Allows an e or E for scientific notation in numbers |
FILTER_FLAG_ALLOW_THOUSAND | Filter Constants | Allows a comma as a thousands separator in numbers |
FILTER_FLAG_EMAIL_UNICODE | Filter Constants | Allows the local part of the email address to contain Unicode characters |
FILTER_FLAG_EMPTY_STRING_NULL | Filter Constants | Not in use |
FILTER_FLAG_ENCODE_AMP | Filter Constants | Encode the ampersand character |
FILTER_FLAG_ENCODE_HIGH | Filter Constants | Encode characters with ASCII value greater than 127 |
FILTER_FLAG_ENCODE_LOW | Filter Constants | Encode characters with ASCII value lower than 32 |
FILTER_FLAG_IPV4 | Filter Constants | Allows the IP address to be in IPv4 format |
FILTER_FLAG_IPV6 | Filter Constants | Allows the IP address to be in IPv6 format |
FILTER_FLAG_NO_ENCODE_QUOTES | Filter Constants | Do not encode single and double quotes |
FILTER_FLAG_NO_PRIV_RANGE | Filter Constants | Fails validation for the private IPv4 and IPv6 address ranges |
FILTER_FLAG_NO_RES_RANGE | Filter Constants | Fails validation for the reserved IPv4 and IPv6 address ranges |
FILTER_FLAG_NONE | Filter Constants | Allows no flags |
FILTER_FLAG_PATH_REQUIRED | Filter Constants | The URL must contain a path part |
FILTER_FLAG_QUERY_REQUIRED | Filter Constants | The URL must contain a query string |
FILTER_FLAG_STRIP_HIGH | Filter Constants | Strip characters with ASCII value greater than 127 |
FILTER_FLAG_STRIP_LOW | Filter Constants | Strip characters with ASCII value lower than 32 |
FILTER_FORCE_ARRAY | Filter Constants | Treats a scalar value as array with the scalar value as only element |
filter_has_var() | Filter Functions | Checks whether a variable of a specified input type exist |
filter_id() | Filter Functions | Returns the filter ID of a specified filter name |
filter_input() | Filter Functions | Gets an external variable (e.g. from form input) and optionally filters it |
filter_input_array() | Filter Functions | Gets external variables (e.g. from form input) and optionally filters them |
filter_list() | Filter Functions | Returns a list of all supported filter names |
FILTER_NULL_ON_FAILURE | Filter Constants | Return NULL on failure for unrecognized boolean values |
FILTER_REQUIRE_ARRAY | Filter Constants | The value must be an array |
FILTER_REQUIRE_SCALAR | Filter Constants | The value must be a scalar |
FILTER_SANITIZE_ADD_SLASHES | Filter Constants | Added as a replacement for FILTER_SANITIZE_MAGIC_QUOTES |
FILTER_SANITIZE_EMAIL | Filter Constants | Removes all illegal characters from an e-mail address |
FILTER_SANITIZE_ENCODED | Filter Constants | Removes or encodes special characters |
FILTER_SANITIZE_MAGIC_QUOTES | Filter Constants | Apply addslashes(). Deprecated in PHP 7.3.0 and removed in PHP 8.0.0 |
FILTER_SANITIZE_NUMBER_FLOAT | Filter Constants | Remove all characters, except digits, plus and minus signs, and optionally period, comma and e/E |
FILTER_SANITIZE_NUMBER_INT | Filter Constants | Removes all characters except digits and plus and minus signs |
FILTER_SANITIZE_SPECIAL_CHARS | Filter Constants | Removes special characters |
FILTER_SANITIZE_STRING | Filter Constants | Removes tags and special characters from a string. Deprecated in PHP 8.1.0 |
FILTER_SANITIZE_STRIPPED | Filter Constants | Alias of FILTER_SANITIZE_STRING. Deprecated in PHP 8.1.0 |
FILTER_SANITIZE_URL | Filter Constants | Removes all illegal characters from a URL |
FILTER_UNSAFE_RAW | Filter Constants | Do nothing, optionally strip/encode special characters |
FILTER_VALIDATE_BOOLEAN | Filter Constants | Validates a boolean |
FILTER_VALIDATE_EMAIL | Filter Constants | Validates value as a valid e-mail address |
FILTER_VALIDATE_FLOAT | Filter Constants | Validates value as float |
FILTER_VALIDATE_INT | Filter Constants | Validates value as integer |
FILTER_VALIDATE_IP | Filter Constants | Validates value as IP address |
FILTER_VALIDATE_MAC | Filter Constants | Validates value as MAC address |
FILTER_VALIDATE_REGEXP | Filter Constants | Validates value against a regular expression Introduced in: |
FILTER_VALIDATE_URL | Filter Constants | Validates value as URL |
filter_var() | Filter Functions | Filters a variable with a specified filter Introduced in: |
filter_var_array() | Filter Functions | Gets multiple variables and filter them Introduced in: |
final | Keywords | Declare a class, property or method as final |
finally | Keywords | Used in the try...catch statement Introduced in: |
floatval() | Variable Handling Functions | Returns the float value of a variable |
flock() | Filesystem Functions | Locks or releases a file |
floor() | Math Functions | Rounds a number down to the nearest integer Introduced in: |
flush() | Output Control Functions | Attempts to send content from the system's output buffer to the browser |
fmod() | Math Functions | Returns the remainder of x/y |
fn | Keywords | Declare an arrow function Introduced in: |
fnmatch() | Filesystem Functions | Matches a filename or string against a specified pattern |
fopen() | Filesystem Functions | Opens a file or URL Introduced in: |
for | Keywords | Create a for loop |
foreach | Keywords | Create a foreach loop Introduced in: |
fpassthru() | Filesystem Functions | Reads from the current position in a file until EOF, and writes the result to the output buffer |
fprintf() | String Functions | Writes a formatted string to a specified output stream |
fputcsv() | Filesystem Functions | Formats a line as CSV and writes it to an open file |
fputs() | Filesystem Functions | Alias of fwrite() |
fread() | Filesystem Functions | Reads from an open file (binary-safe) Introduced in: |
frenchtojd() | Calendar Functions | Converts a French Republican date to a Julian Day Count |
fscanf() | Filesystem Functions | Parses input from an open file according to a specified format |
fseek() | Filesystem Functions | Seeks in an open file |
fsockopen() | Network Functions | Opens an Internet or Unix domain socket connection |
fstat() | Filesystem Functions | Returns information about an open file |
ftell() | Filesystem Functions | Returns the current position in an open file |
ftp_alloc() | FTP Functions | Allocates space for a file to be uploaded to the FTP server |
FTP_ASCII | FTP Constants | Integer constant selecting ASCII transfer mode |
FTP_AUTORESUME | FTP Constants | Integer constant that automatically resumes an interrupted transfer |
FTP_AUTOSEEK | FTP Constants | Integer constant controlling automatic seeking during transfers |
FTP_BINARY | FTP Constants | Integer constant selecting binary transfer mode |
ftp_cdup() | FTP Functions | Changes to the parent directory on the FTP server |
ftp_chdir() | FTP Functions | Changes the current directory on the FTP server |
ftp_chmod() | FTP Functions | Sets permissions on a file via FTP |
ftp_close() | FTP Functions | Closes an FTP connection |
ftp_connect() | FTP Functions | Opens an FTP connection |
ftp_delete() | FTP Functions | Deletes a file on the FTP server |
ftp_exec() | FTP Functions | Executes a command on the FTP server |
FTP_FAILED | FTP Constants | Asynchronous transfer has failed |
ftp_fget() | FTP Functions | Downloads a file from the FTP server and saves it into an open local file |
FTP_FINISHED | FTP Constants | Asynchronous transfer is completed |
ftp_fput() | FTP Functions | Uploads from an open file and saves it to a file on the FTP server |
ftp_get() | FTP Functions | Downloads a file from the FTP server |
ftp_get_option() | FTP Functions | Returns runtime options of the FTP connection |
FTP_IMAGE | FTP Constants | Alias of FTP_BINARY |
ftp_login() | FTP Functions | Logs in to the FTP connection |
ftp_mdtm() | FTP Functions | Returns the last modified time of a specified file |
ftp_mkdir() | FTP Functions | Creates a new directory on the FTP server |
ftp_mlsd() | FTP Functions | Returns the list of files in the specified directory |
FTP_MOREDATA | FTP Constants | Asynchronous transfer is in progress |
ftp_nb_continue() | FTP Functions | Continues retrieving or sending a file (non-blocking) |
ftp_nb_fget() | FTP Functions | Downloads a file from the FTP server and saves it into an open file (non-blocking) |
ftp_nb_fput() | FTP Functions | Uploads from an open file and saves it to a file on the FTP server (non-blocking) |
ftp_nb_get() | FTP Functions | Downloads a file from the FTP server (non-blocking) |
ftp_nb_put() | FTP Functions | Uploads a file to the FTP server (non-blocking) |
ftp_nlist() | FTP Functions | Returns a list of files in the specified directory on the FTP server |
ftp_pasv() | FTP Functions | Turns passive mode on or off |
ftp_put() | FTP Functions | Uploads a file to the FTP server |
ftp_pwd() | FTP Functions | Returns the current directory name |
ftp_quit() | FTP Functions | Alias of ftp_close() |
ftp_raw() | FTP Functions | Sends a raw command to the FTP server |
ftp_rawlist() | FTP Functions | Returns a list of files with file information from a specified directory |
ftp_rename() | FTP Functions | Renames a file or directory on the FTP server |
ftp_rmdir() | FTP Functions | Deletes an empty directory on the FTP server |
ftp_set_option() | FTP Functions | Sets runtime options for the FTP connection |
ftp_site() | FTP Functions | Sends an FTP SITE command to the FTP server |
ftp_size() | FTP Functions | Returns the size of the specified file |
ftp_ssl_connect() | FTP Functions | Opens a secure SSL-FTP connection |
ftp_systype() | FTP Functions | Returns the system type identifier of the FTP server |
FTP_TEXT | FTP Constants | Alias of FTP_ASCII |
FTP_TIMEOUT_SEC | FTP Constants | The timeout used for network operations |
FTP_USEPASVADDRESS | FTP Constants | Boolean constant controlling whether the address returned by the server in passive mode is used |
ftruncate() | Filesystem Functions | Truncates an open file to a specified length |
function | Keywords | Create a function Introduced in: |
fwrite() | Filesystem Functions | Writes to an open file (binary-safe) Introduced in: |
get_browser() | Miscellaneous Functions | Returns the capabilities of the user's browser |
get_charset() | MySQLi Functions | Returns a character set object |
get_client_info() | MySQLi Functions | Returns the MySQL client library version |
get_client_stats() | MySQLi Functions | Returns statistics about client per-process |
get_client_version() | MySQLi Functions | Returns the MySQL client library version as an integer |
get_connection_stats() | MySQLi Functions | Returns statistics about the client connection |
get_defined_vars() | Variable Handling Functions | Returns all defined variables, as an array |
get_host_info() | MySQLi Functions | Returns the MySQL server hostname and the connection type |
get_html_translation_table() | String Functions | Returns the translation table used by htmlspecialchars() and htmlentities() |
get_proto_info() | MySQLi Functions | Returns the MySQL protocol version |
get_resource_type() | Variable Handling Functions | Returns the type of a resource |
get_server_info() | MySQLi Functions | Returns the MySQL server version |
get_server_version() | MySQLi Functions | Returns the MySQL server version as an integer |
getChildren() | SimpleXML Functions | Iteration. Returns the child elements of the current element |
getCode() | Exception Methods | Returns the exception code Introduced in: |
getcwd() | Directory Functions | Returns the current working directory Introduced in: |
getdate() | Date/Time Functions | Returns date/time information of a timestamp or the current local date/time |
getDocNamespaces() | SimpleXML Functions | Returns the namespaces declared in document |
getFile() | Exception Methods | Returns the full path of the file in which the exception was thrown |
gethostbyaddr() | Network Functions | Returns the domain name for a given IP address |
gethostbyname() | Network Functions | Returns the IPv4 address for a given domain or host name |
gethostbynamel() | Network Functions | Returns a list of IPv4 addresses for a given domain or host name |
gethostname() | Network Functions | Returns the host name Introduced in: |
getLine() | Exception Methods | Returns the line number of the line of code which threw the exception |
getMessage() | Exception Methods | Returns a string describing why the exception was thrown Introduced in: |
getmxrr() | Network Functions | Returns the MX records for the specified internet host name |
getName() | SimpleXML Functions | Returns the name of an element Introduced in: |
getNamespaces() | SimpleXML Functions | Returns the namespaces used in document |
getPrevious() | Exception Methods | If this exception was triggered by another one, this method returns the previous exception. If not, it returns null Introduced in: |
getprotobyname() | Network Functions | Returns the protocol number for a given protocol name |
getprotobynumber() | Network Functions | Returns the protocol name for a given protocol number |
getrandmax() | Math Functions | Returns the largest possible value returned by rand() |
getservbyname() | Network Functions | Returns the port number for a given Internet service and protocol |
getservbyport() | Network Functions | Returns the Internet service for a given port and protocol |
gettimeofday() | Date/Time Functions | Returns the current time |
getTrace() | Exception Methods | Returns an array with information about all of the functions that were running at the time the exception was thrown |
getTraceAsString() | Exception Methods | Returns the same information as getTrace(), but in a string |
gettype() | Variable Handling Functions | Returns the type of a variable Introduced in: |
glob() | Filesystem Functions | Returns an array of filenames / directories matching a specified pattern Introduced in: |
global | Keywords | Import variables from the global scope Introduced in: |
gmdate() | Date/Time Functions | Formats a GMT/UTC date and time |
gmmktime() | Date/Time Functions | Returns the Unix timestamp for a GMT date |
gmstrftime() | Date/Time Functions | Deprecated. Formats a GMT/UTC date and time according to locale settings |
goto | Keywords | Jump to a line of code |
gregoriantojd() | Calendar Functions | Converts a Gregorian date to a Julian Day Count |
hasChildren() | SimpleXML Functions | Iteration. Checks whether the current element has children |
header() | Network Functions | Sends a raw HTTP header to a client |
header_register_callback() | Network Functions | Calls a header function |
header_remove() | Network Functions | Removes an HTTP header previously set with the header() function |
headers_list() | Network Functions | Returns a list of response headers to be sent to the browser |
headers_sent() | Network Functions | Checks if and where headers have been sent |
hebrev() | String Functions | Converts Hebrew text to visual text |
hebrevc() | String Functions | Deprecated. Converts Hebrew text to visual text and new lines into line breaks |
hex2bin() | String Functions | Converts a string of hexadecimal values to ASCII characters |
hexdec() | Math Functions | Converts a hexadecimal number to a decimal number |
highlight_file() | Miscellaneous Functions | Outputs a file with the PHP syntax highlighted |
highlight_string() | Miscellaneous Functions | Outputs a string with the PHP syntax highlighted |
hrtime() | Miscellaneous Functions | Returns the system's high resolution time |
html_entity_decode() | String Functions | Converts HTML entities to characters |
htmlentities() | String Functions | Converts characters to HTML entities |
htmlspecialchars() | String Functions | Converts some predefined characters to HTML entities Introduced in: |
htmlspecialchars_decode() | String Functions | Converts some predefined HTML entities to characters |
http_response_code() | Network Functions | Sets or returns the HTTP response status code |
hypot() | Math Functions | Calculates the hypotenuse of a right-angle triangle |
i | Regular Expression Syntax | Modifier. Performs a case-insensitive search Introduced in: |
idate() | Date/Time Functions | Formats a local time/date as integer |
if | Keywords | Create a conditional statement Introduced in: |
ignore_user_abort() | Miscellaneous Functions | Sets whether a remote client can abort the running of a script |
implements | Keywords | Implement an interface |
implode() | String Functions | Returns a string from the elements of an array Introduced in: |
in_array() | Array Functions | Checks if a specified value exists in an array Introduced in: |
include | Keywords | Embed code from another file |
include_once | Keywords | Embed code from another file |
inet_ntop() | Network Functions | Converts a 32bit IPv4 or 128bit IPv6 address into a readable format |
inet_pton() | Network Functions | Converts a readable IP address into a packed 32bit IPv4 or 128bit IPv6 format |
INF | Math Constants | The infinite |
info() | MySQLi Functions | Returns information about the last executed query |
init() | MySQLi Functions | Initializes MySQLi and returns a resource for use with real_connect() |
INPUT_COOKIE | Filter Constants | COOKIE variables |
INPUT_ENV | Filter Constants | ENV variables |
INPUT_GET | Filter Constants | GET variables |
INPUT_POST | Filter Constants | POST variables |
INPUT_SERVER | Filter Constants | SERVER variables |
insert_id() | MySQLi Functions | Returns the auto-generated id from the last query |
instanceof | Keywords | Test an object's class Introduced in: |
insteadof | Keywords | Resolve conflicts with traits Introduced in: |
intdiv() | Math Functions | Performs integer division Introduced in: |
interface | Keywords | Declare an interface Introduced in: |
intval() | Variable Handling Functions | Returns the integer value of a variable |
ip2long() | Network Functions | Converts an IPv4 address into a long integer |
is_array() | Variable Handling Functions | Checks whether a variable is an array Introduced in: |
is_bool() | Variable Handling Functions | Checks whether a variable is a boolean Introduced in: |
is_callable() | Variable Handling Functions | Checks whether the contents of a variable can be called as a function Introduced in: |
is_countable() | Variable Handling Functions | Checks whether the contents of a variable is a countable value |
is_dir() | Filesystem Functions | Checks whether a file is a directory |
is_double() | Variable Handling Functions | Alias of is_float() |
is_executable() | Filesystem Functions | Checks whether a file is executable |
is_file() | Filesystem Functions | Checks whether a file is a regular file |
is_finite() | Math Functions | Checks whether a value is finite or not |
is_float() | Variable Handling Functions | Checks whether a variable is of type float |
is_infinite() | Math Functions | Checks whether a value is infinite or not |
is_int() | Variable Handling Functions | Checks whether a variable is of type integer Introduced in: |
is_integer() | Variable Handling Functions | Alias of is_int() |
is_iterable() | Variable Handling Functions | Checks whether the contents of a variable is an iterable value Introduced in: |
is_link() | Filesystem Functions | Checks whether a file is a link |
is_long() | Variable Handling Functions | Alias of is_int() |
is_nan() | Math Functions | Checks whether a value is 'not-a-number' |
is_null() | Variable Handling Functions | Checks whether a variable is NULL Introduced in: |
is_numeric() | Variable Handling Functions | Checks whether a variable is a number or a numeric string Introduced in: |
is_object() | Variable Handling Functions | Checks whether a variable is an object Introduced in: |
is_readable() | Filesystem Functions | Checks whether a file is readable |
is_real() | Variable Handling Functions | Alias of is_float() |
is_resource() | Variable Handling Functions | Checks whether a variable is a resource |
is_scalar() | Variable Handling Functions | Checks whether a variable is a scalar |
is_string() | Variable Handling Functions | Checks whether a variable is of type string Introduced in: |
is_uploaded_file() | Filesystem Functions | Checks whether a file was uploaded via HTTP POST |
is_writable() | Filesystem Functions | Checks whether a file is writable |
is_writeable() | Filesystem Functions | Alias of is_writable() |
isset | Keywords | Check if a variable exists and is not null Introduced in: |
isset() | Variable Handling Functions | Checks whether a variable is set (declared and not NULL) Introduced in: |
jddayofweek() | Calendar Functions | Returns the day of the week |
jdmonthname() | Calendar Functions | Returns a month name |
jdtofrench() | Calendar Functions | Converts a Julian Day Count to a French Republican date |
jdtogregorian() | Calendar Functions | Converts a Julian Day Count to a Gregorian date |
jdtojewish() | Calendar Functions | Converts a Julian Day Count to a Jewish date |
jdtojulian() | Calendar Functions | Converts a Julian Day Count to a Julian date |
jdtounix() | Calendar Functions | Converts Julian Day Count to Unix timestamp |
jewishtojd() | Calendar Functions | Converts a Jewish date to a Julian Day Count |
join() | String Functions | Alias of implode() |
JSON_BIGINT_AS_STRING | JSON Constants | Decodes large integers as strings instead of floats |
json_decode() | JSON Functions | Decodes a JSON string Introduced in: |
json_encode() | JSON Functions | Encode a value to JSON format Introduced in: |
JSON_ERROR_CTRL_CHAR | JSON Constants | Control character error |
JSON_ERROR_DEPTH | JSON Constants | Maximum stack depth has been exceeded |
JSON_ERROR_INF_OR_NAN | JSON Constants | Invalid NAN or INF values |
JSON_ERROR_INVALID_PROPERTY_NAME | JSON Constants | Invalid property name |
JSON_ERROR_NONE | JSON Constants | No error has occurred |
JSON_ERROR_RECURSION | JSON Constants | Invalid recursive reference values |
JSON_ERROR_STATE_MISMATCH | JSON Constants | Invalid or malformed JSON |
JSON_ERROR_SYNTAX | JSON Constants | Syntax error |
JSON_ERROR_UNSUPPORTED_TYPE | JSON Constants | Invalid type |
JSON_ERROR_UTF16 | JSON Constants | Malformed UTF-16 characters |
JSON_ERROR_UTF8 | JSON Constants | Malformed UTF-8 characters |
JSON_FORCE_OBJECT | JSON Constants | Outputs an object rather than an array when a non-associative array is used |
JSON_HEX_AMP | JSON Constants | All ampersands are converted to their escaped Unicode form |
JSON_HEX_APOS | JSON Constants | All single quotes are converted to their escaped Unicode form |
JSON_HEX_QUOT | JSON Constants | All double quotes are converted to their escaped Unicode form |
JSON_HEX_TAG | JSON Constants | All angle brackets are converted to their escaped Unicode form |
JSON_INVALID_UTF8_IGNORE | JSON Constants | Ignore invalid UTF-8 characters |
JSON_INVALID_UTF8_SUBSTITUTE | JSON Constants | Convert invalid UTF-8 characters to the replacement character |
json_last_error() | JSON Functions | Returns the last error occurred Introduced in: |
json_last_error_msg() | JSON Functions | Returns the error string of the last json_encode() or json_decode() call |
JSON_NUMERIC_CHECK | JSON Constants | Encodes numeric strings as numbers |
JSON_OBJECT_AS_ARRAY | JSON Constants | Decodes JSON objects as PHP arrays |
JSON_PARTIAL_OUTPUT_ON_ERROR | JSON Constants | Substitute some unencodable values instead of failing |
JSON_PRESERVE_ZERO_FRACTION | JSON Constants | Ensures that float values are always encoded as a float value |
JSON_PRETTY_PRINT | JSON Constants | Use whitespace in returned data to format it |
JSON_THROWN_ON_ERROR | JSON Constants | Throws a JsonException instead of setting the global error state |
JSON_UNESCAPED_LINE_TERMINATORS | JSON Constants | Line terminators are kept unescaped |
JSON_UNESCAPED_SLASHES | JSON Constants | Do not escape forward slashes |
json_validate() | JSON Functions | Checks if a string contains valid JSON (PHP 8.3) |
juliantojd() | Calendar Functions | Converts a Julian date to a Julian Day Count |
key() | Array Functions | Fetches a key from an array |
kill() | MySQLi Functions | Asks the server to kill a MySQL thread |
krsort() | Array Functions | Sorts an associative array in descending order, according to the key Introduced in: |
ksort() | Array Functions | Sorts an associative array in ascending order, according to the key Introduced in: |
lcfirst() | String Functions | Converts the first character of a string to lowercase Introduced in: |
lcg_value() | Math Functions | Returns a pseudo random number in a range between 0 and 1 |
lchgrp() | Filesystem Functions | Changes the group ownership of a symbolic link |
lchown() | Filesystem Functions | Changes the user ownership of a symbolic link |
levenshtein() | String Functions | Returns the Levenshtein distance between two strings Introduced in: |
LIBXML_BIGLINES | libxml Constants | Make line numbers greater than 65535 to be reported correctly |
libxml_clear_errors() | libxml Functions | Clears the libxml error buffer |
LIBXML_COMPACT | libxml Constants | Set small nodes allocation optimization. This may improve the application performance |
libxml_disable_entity_loader() | libxml Functions | Deprecated. Enables the ability to load external entities |
LIBXML_DOTTED_VERSION | libxml Constants | Get dotted libxml version (e.g. 2.6.5 or 2.6.17) |
LIBXML_DTDATTR | libxml Constants | Set default DTD attributes |
LIBXML_DTDLOAD | libxml Constants | Load external subset |
LIBXML_DTDVALID | libxml Constants | Validate with the DTD |
LIBXML_ERR_ERROR | libxml Constants | Get recoverable errors |
LIBXML_ERR_FATAL | libxml Constants | Get fatal errors |
LIBXML_ERR_NONE | libxml Constants | Get no errors |
LIBXML_ERR_WARNING | libxml Constants | Get simple warnings |
libxml_get_errors() | libxml Functions | Gets the errors from the libxml error buffer |
libxml_get_last_error() | libxml Functions | Gets the last error from the libxml error buffer |
LIBXML_HTML_NODEFDTD | libxml Constants | Prevents a default doctype being added when no doctype is found |
LIBXML_HTML_NOIMPLIED | libxml Constants | Turns off automatic adding of implied html and body elements |
LIBXML_NOBLANKS | libxml Constants | Remove blank nodes |
LIBXML_NOCDATA | libxml Constants | Set CDATA as text nodes |
LIBXML_NOEMPTYTAG | libxml Constants | Change empty tags into paired opening and closing tags when saving a document |
LIBXML_NOENT | libxml Constants | Substitute entities |
LIBXML_NOERROR | libxml Constants | Do not show error reports |
LIBXML_NONET | libxml Constants | Stop network access while loading documents |
LIBXML_NOWARNING | libxml Constants | Do not show warning reports |
LIBXML_NOXMLDECL | libxml Constants | Drop the XML declaration when saving a document |
LIBXML_NSCLEAN | libxml Constants | Remove excess namespace declarations |
LIBXML_PARSEHUGE | libxml Constants | Relaxes any hardcoded limit from the parser, such as maximum document depth or text node size |
LIBXML_PEDANTIC | libxml Constants | Enables pedantic error reporting |
LIBXML_SCHEMA_CREATE | libxml Constants | Create default or fixed value nodes during XSD schema validation |
libxml_set_external_entity_loader() | libxml Functions | Changes the default external entity loader |
libxml_set_streams_context() | libxml Functions | Sets the streams context for the next libxml document load or write |
libxml_use_internal_errors() | libxml Functions | Disables the standard libxml errors and enables user error handling |
LIBXML_VERSION | libxml Constants | Get libxml version (e.g. 20605 or 20617) |
LIBXML_XINCLUDE | libxml Constants | Use XInclude substitution |
link() | Filesystem Functions | Creates a hard link |
linkinfo() | Filesystem Functions | Returns information about a hard link |
list | Keywords | Assigns array elements into variables |
list() | Array Functions | Assigns variables as if they were an array |
localeconv() | String Functions | Returns locale numeric and monetary formatting information |
localtime() | Date/Time Functions | Returns the local time |
log() | Math Functions | Returns the natural logarithm of a number Introduced in: |
log10() | Math Functions | Returns the base-10 logarithm of a number |
log1p() | Math Functions | Returns log(1+number) |
long2ip() | Network Functions | Converts a long integer address into a string in IPv4 format |
lstat() | Filesystem Functions | Returns information about a file or symbolic link |
ltrim() | String Functions | Removes whitespace or other characters from the left side of a string Introduced in: |
m | Regular Expression Syntax | Modifier. Performs a multiline search, so patterns anchored to the beginning or end of a string match the beginning or end of each line |
M_1_PI | Math Constants | Returns 1/Pi (0.31830988618379067154) |
M_2_PI | Math Constants | Returns 2/Pi (0.63661977236758134308) |
M_2_SQRTPI | Math Constants | Returns 2 divided by the square root of PI (1.12837916709551257390) |
M_E | Math Constants | Returns e (2.7182818284590452354) |
M_EULER | Math Constants | Returns the Euler constant (0.57721566490153286061) |
M_LN10 | Math Constants | Returns the natural logarithm of 10 (2.30258509299404568402) |
M_LN2 | Math Constants | Returns the natural logarithm of 2 (0.69314718055994530942) |
M_LNPI | Math Constants | Returns the natural logarithm of PI (1.14472988584940017414) |
M_LOG10E | Math Constants | Returns the base-10 logarithm of E (0.43429448190325182765) |
M_LOG2E | Math Constants | Returns the base-2 logarithm of E (1.4426950408889634074) |
M_PI | Math Constants | Returns Pi (3.14159265358979323846) |
M_PI_2 | Math Constants | Returns Pi/2 (1.57079632679489661923) |
M_PI_4 | Math Constants | Returns Pi/4 (0.78539816339744830962) |
M_SQRT1_2 | Math Constants | Returns the square root of 1/2 (0.70710678118654752440) |
M_SQRT2 | Math Constants | Returns the square root of 2 (1.41421356237309504880) |
M_SQRT3 | Math Constants | Returns the square root of 3 (1.73205080756887729352) |
M_SQRTPI | Math Constants | Returns the square root of PI (1.77245385090551602729) |
mail() | Mail Functions | Allows you to send emails directly from a script |
max() | Math Functions | Returns the highest value in an array, or the highest value of several specified values Introduced in: |
md5() | String Functions | Calculates the MD5 hash of a string |
md5_file() | String Functions | Calculates the MD5 hash of a file |
metaphone() | String Functions | Calculates the metaphone key of a string |
microtime() | Date/Time Functions | Returns the current Unix timestamp with microseconds |
min() | Math Functions | Returns the lowest value in an array, or the lowest value of several specified values Introduced in: |
mkdir() | Filesystem Functions | Creates a directory Introduced in: |
mktime() | Date/Time Functions | Returns the Unix timestamp for a date |
money_format() | String Functions | Deprecated. Returns a string formatted as a currency string |
more_results() | MySQLi Functions | Checks if there are more results from a multi query |
move_uploaded_file() | Filesystem Functions | Moves an uploaded file to a new location |
mt_getrandmax() | Math Functions | Returns the largest possible value returned by mt_rand() |
mt_rand() | Math Functions | Generates a random integer using Mersenne Twister algorithm |
mt_srand() | Math Functions | Seeds the Mersenne Twister random number generator |
multi_query() | MySQLi Functions | Performs one or more queries on the database |
n* | Regular Expression Syntax | Quantifier. Matches any string that contains zero or more occurrences of n |
n+ | Regular Expression Syntax | Quantifier. Matches any string that contains at least one n |
n? | Regular Expression Syntax | Quantifier. Matches any string that contains zero or one occurrences of n |
namespace | Keywords | Declares a namespace Introduced in: |
NAN | Math Constants | Not A Number |
natcasesort() | Array Functions | Sorts an array using a case insensitive "natural order" algorithm |
natsort() | Array Functions | Sorts an array using a "natural order" algorithm |
new | Keywords | Creates an object |
next() | Array Functions | Advance the internal array pointer of an array |
next_result() | MySQLi Functions | Prepares the next result-set from multi_query() |
nl2br() | String Functions | Inserts HTML line breaks in front of each newline in a string |
nl_langinfo() | String Functions | Returns specific local information |
number_format() | String Functions | Formats a number with grouped thousands Introduced in: |
n{x,y} | Regular Expression Syntax | Quantifier. Matches any string that contains a sequence of X to Y n's |
n{x,} | Regular Expression Syntax | Quantifier. Matches any string that contains a sequence of at least X n's |
n{x} | Regular Expression Syntax | Quantifier. Matches any string that contains a sequence of X n's |
ob_clean() | Output Control Functions | Deletes all of the content from the topmost output buffer |
ob_end_clean() | Output Control Functions | Deletes the topmost output buffer and all of its contents Introduced in: |
ob_end_flush() | Output Control Functions | Deletes the topmost output buffer and outputs its contents |
ob_flush() | Output Control Functions | Outputs the contents of the topmost output buffer and clears the buffer |
ob_get_clean() | Output Control Functions | Returns all of the contents of the topmost output buffer and clears the buffer Introduced in: |
ob_get_contents() | Output Control Functions | Returns the contents of the topmost output buffer |
ob_get_flush() | Output Control Functions | Outputs and returns the contents of the topmost output buffer and then deletes the buffer |
ob_get_length() | Output Control Functions | Returns the number of bytes of data that are in the topmost output buffer |
ob_get_level() | Output Control Functions | Returns a number indicating how many output buffers are on the stack |
ob_get_status() | Output Control Functions | Returns information about the output buffers |
ob_gzhandler() | Output Control Functions | Used as a callback function for ob_start() to compress the contents of the buffer when sending it to the browser |
ob_implicit_flush() | Output Control Functions | Turns implicit flushing on or off |
ob_list_handlers() | Output Control Functions | Returns an array of callback function names that are being used by the topmost output buffer |
ob_start() | Output Control Functions | Creates a new output buffer and adds it to the top of the stack Introduced in: |
octdec() | Math Functions | Converts an octal number to a decimal number |
opendir() | Directory Functions | Opens a directory handle |
openlog() | Network Functions | Opens the connection of system logger |
options() | MySQLi Functions | Sets extra connect options and affect behavior for a connection |
or | Keywords | A logical operator |
ord() | String Functions | Returns the ASCII value of the first character of a string Introduced in: |
output_add_rewrite_var() | Output Control Functions | Used to append query string parameters to any URL in the output |
output_reset_rewrite_vars() | Output Control Functions | Removes all variables added by output_add_rewrite_var() |
pack() | Miscellaneous Functions | Packs data into a binary string |
parse_ini_file() | Filesystem Functions | Parses a configuration file |
parse_ini_string() | Filesystem Functions | Parses a configuration string |
parse_str() | String Functions | Parses a query string into variables |
pathinfo() | Filesystem Functions | Returns information about a file path |
pclose() | Filesystem Functions | Closes a pipe opened by popen() |
pfsockopen() | Network Functions | Opens a persistent Internet or Unix domain socket connection |
PHP_ROUND_HALF_DOWN | Math Constants | Round halves down |
PHP_ROUND_HALF_EVEN | Math Constants | Round halves to even numbers |
PHP_ROUND_HALF_ODD | Math Constants | Round halves to odd numbers |
PHP_ROUND_HALF_UP | Math Constants | Round halves up |
php_strip_whitespace() | Miscellaneous Functions | Returns the source code of a file with PHP comments and whitespace removed |
pi() | Math Functions | Returns the value of PI |
ping() | MySQLi Functions | Pings a server connection, or tries to reconnect if the connection has gone down |
poll() | MySQLi Functions | Polls connections |
popen() | Filesystem Functions | Opens a pipe |
pos() | Array Functions | Alias of current() |
pow() | Math Functions | Returns x raised to the power of y Introduced in: |
preg_filter() | Regular Expression Functions | Returns a string or an array with pattern matches replaced, but only if matches were found |
preg_grep() | Regular Expression Functions | Returns an array consisting only of elements from the input array which matched the pattern |
preg_last_error() | Regular Expression Functions | Returns an error code indicating the reason that the most recent regular expression call failed |
preg_match() | Regular Expression Functions | Finds the first match of a pattern in a string Introduced in: |
preg_match_all() | Regular Expression Functions | Finds all matches of a pattern in a string Introduced in: |
preg_quote() | Regular Expression Functions | Escapes characters that have a special meaning in regular expressions by putting a backslash in front of them |
preg_replace() | Regular Expression Functions | Returns a string where matches of a pattern are replaced with a substring in a given string Introduced in: |
preg_replace_callback() | Regular Expression Functions | Given an expression and a callback, returns a string where all matches of the expression are replaced with the substring returned by the callback |
preg_replace_callback_array() | Regular Expression Functions | Given an array associating expressions with callbacks, returns a string where all matches of each expression are replaced with the substring returned by the callback |
preg_split() | Regular Expression Functions | Breaks a string into an array using matches of a regular expression as separators Introduced in: |
prepare() | MySQLi Functions | Prepares an SQL statement for execution |
prev() | Array Functions | Rewinds the internal array pointer |
print | Keywords | Output text Introduced in: |
print() | String Functions | Outputs one or more strings Introduced in: |
print_r() | Variable Handling Functions | Prints the information about a variable in a human-readable way Introduced in: |
printf() | String Functions | Outputs a formatted string |
private | Keywords | Declare a property, method or constant as private Introduced in: |
protected | Keywords | Declare a property, method or constant as protected Introduced in: |
public | Keywords | Declare a property, method or constant as public Introduced in: |
query() | MySQLi Functions | Performs a query against a database |
quoted_printable_decode() | String Functions | Converts a quoted-printable string to an 8-bit string |
quoted_printable_encode() | String Functions | Converts an 8-bit string to a quoted printable string |
quotemeta() | String Functions | Quotes meta characters |
rad2deg() | Math Functions | Converts a radian value to a degree value |
rand() | Math Functions | Generates a random integer Introduced in: |
range() | Array Functions | Creates an array containing a range of elements |
readdir() | Directory Functions | Returns an entry from a directory handle |
readfile() | Filesystem Functions | Reads a file and writes it to the output buffer |
readlink() | Filesystem Functions | Returns the target of a symbolic link |
real_connect() | MySQLi Functions | Opens a new connection to the MySQL server |
real_escape_string() | MySQLi Functions | Escapes special characters in a string for use in an SQL statement |
real_query() | MySQLi Functions | Executes a single SQL query |
realpath() | Filesystem Functions | Returns the absolute pathname |
realpath_cache_get() | Filesystem Functions | Returns realpath cache entries |
realpath_cache_size() | Filesystem Functions | Returns realpath cache size |
reap_async_query() | MySQLi Functions | Returns result from an async SQL query |
refresh() | MySQLi Functions | Refreshes or flushes tables or caches, or resets the replication server information |
registerXPathNamespace() | SimpleXML Functions | Creates a namespace context for the next XPath query |
rename() | Filesystem Functions | Renames a file or directory |
require | Keywords | Embed code from another file |
require_once | Keywords | Embed code from another file |
reset() | Array Functions | Sets the internal pointer of an array to its first element |
restore_error_handler() | Error and Logging Functions | Restores the previous error handler |
restore_exception_handler() | Error and Logging Functions | Restores the previous exception handler |
return | Keywords | Exit a function and return a value Introduced in: |
rewind() | Filesystem Functions | Rewinds a file pointer |
rewinddir() | Directory Functions | Resets a directory handle |
rmdir() | Filesystem Functions | Removes an empty directory |
rollback() | MySQLi Functions | Rolls back the current transaction for the database |
round() | Math Functions | Rounds a floating-point number Introduced in: |
rsort() | Array Functions | Sorts an indexed array in descending order Introduced in: |
rtrim() | String Functions | Removes whitespace or other characters from the right side of a string Introduced in: |
saveXML() | SimpleXML Functions | Alias of asXML() |
scandir() | Directory Functions | Returns an array of files and directories of a specified directory Introduced in: |
select_db() | MySQLi Functions | Select the default database for database queries |
serialize() | Variable Handling Functions | Converts a storable representation of a value Introduced in: |
set_charset() | MySQLi Functions | Sets the default client character set |
set_error_handler() | Error and Logging Functions | Sets a user-defined error handler function Introduced in: |
set_exception_handler() | Error and Logging Functions | Sets a user-defined exception handler function |
set_file_buffer() | Filesystem Functions | Alias of stream_set_write_buffer(). Sets the buffer size for write operations on the given file |
set_local_infile_default() | MySQLi Functions | Unsets user defined handler for load local infile command |
set_local_infile_handler() | MySQLi Functions | Set callback function for LOAD DATA LOCAL INFILE command |
set_socket_blocking() | Stream Functions | Deprecated in PHP 5.4, and removed in PHP 7.0. Alias of stream_set_blocking() |
setcookie() | Network Functions | Defines a cookie to be sent along with the rest of the HTTP headers Introduced in: |
setlocale() | String Functions | Sets locale information |
setrawcookie() | Network Functions | Defines a cookie without URL encoding, to be sent along with the rest of the HTTP headers |
settype() | Variable Handling Functions | Converts a variable to a specific type Introduced in: |
sha1() | String Functions | Calculates the SHA-1 hash of a string |
sha1_file() | String Functions | Calculates the SHA-1 hash of a file |
show_source() | Miscellaneous Functions | Alias of highlight_file() |
shuffle() | Array Functions | Shuffles an array |
similar_text() | String Functions | Calculates the similarity between two strings Introduced in: |
simplexml_import_dom() | SimpleXML Functions | Returns a SimpleXMLElement object from a DOM node |
simplexml_load_file() | SimpleXML Functions | Converts an XML document to an object |
simplexml_load_string() | SimpleXML Functions | Converts an XML string to an object |
sin() | Math Functions | Returns the sine of a number |
sinh() | Math Functions | Returns the hyperbolic sine of a number |
sizeof() | Array Functions | Alias of count() |
sleep() | Miscellaneous Functions | Delays code execution for a number of seconds |
socket_get_status() | Network Functions | Alias of stream_get_meta_data() |
socket_set_blocking() | Network Functions | Alias of stream_set_blocking() |
socket_set_timeout() | Network Functions | Alias of stream_set_timeout() |
sort() | Array Functions | Sorts an indexed array in ascending order Introduced in: |
soundex() | String Functions | Calculates the soundex key of a string |
sprintf() | String Functions | Writes a formatted string to a variable Introduced in: |
sqlstate() | MySQLi Functions | Returns the SQLSTATE error code for the error |
sqrt() | Math Functions | Returns the square root of a number Introduced in: |
srand() | Math Functions | Seeds the random number generator |
sscanf() | String Functions | Parses input from a string according to a format |
ssl_set() | MySQLi Functions | Used to establish secure connections using SSL |
stat() | Filesystem Functions / MySQLi Functions | Returns information about a file |
static | Keywords | Declare a property or method as static Introduced in: |
stmt_init() | MySQLi Functions | Initializes a statement and returns an object for use with stmt_prepare() |
store_result() | MySQLi Functions | Transfers a result-set from the last query |
str_contains() | String Functions | Checks if a string contains a specific substring (case-sensitive) Introduced in: |
str_ends_with() | String Functions | Checks if a string ends with a specific substring (case-sensitive) Introduced in: |
str_getcsv() | String Functions | Parses a CSV string into an array |
str_ireplace() | String Functions | Replaces some characters in a string (case-insensitive) |
str_pad() | String Functions | Pads a string to a new length Introduced in: |
str_repeat() | String Functions | Repeats a string a specified number of times Introduced in: |
str_replace() | String Functions | Replaces some characters in a string (case-sensitive) Introduced in: |
str_rot13() | String Functions | Performs the ROT13 encoding on a string |
str_shuffle() | String Functions | Randomly shuffles all characters in a string |
str_split() | String Functions | Splits a string into an array Introduced in: |
str_starts_with() | String Functions | Checks if a string starts with a specific substring (case-sensitive) Introduced in: |
str_word_count() | String Functions | Count the number of words in a string Introduced in: |
strcasecmp() | String Functions | Compares two strings (case-insensitive) Introduced in: |
strchr() | String Functions | Alias of strstr() |
strcmp() | String Functions | Compares two strings (case-sensitive) Introduced in: |
strcoll() | String Functions | Compares two strings (locale based string comparison) |
strcspn() | String Functions | Returns the number of characters found in a string before any part of some specified characters are found |
stream_bucket_prepend() | Stream Functions | Prepends a bucket to a bucket brigade inside a user stream filter |
stream_context_create() | Stream Functions | Creates a stream context resource holding options for a stream |
stream_context_get_default() | Stream Functions | Retrieves the default stream context |
stream_context_get_options() | Stream Functions | Retrieves the options set on a stream or context |
stream_context_get_params() | Stream Functions | Retrieves the parameters set on a stream or context |
stream_context_set_default() | Stream Functions | Sets the default stream context |
stream_context_set_options() | Stream Functions | Sets options on a stream or context |
stream_context_set_params() | Stream Functions | Sets parameters on a stream or context |
stream_copy_to_stream() | Stream Functions | Copies data from one stream to another |
stream_filter_append() | Stream Functions | Appends a filter to a stream |
stream_filter_prepend() | Stream Functions | Attaches a filter to the start of a stream's filter chain |
stream_filter_register() | Stream Functions | Registers a user-defined stream filter class under a given name |
stream_filter_remove() | Stream Functions | Removes a filter that was previously attached to a stream |
stream_get_contents() | Stream Functions | Reads the remainder of a stream into a string |
stream_get_filters() | Stream Functions | Returns a list of the registered stream filters |
stream_get_line() | Stream Functions | Reads one line from a stream up to a given delimiter |
stream_get_meta_data() | Stream Functions | Returns header and metadata information about a stream |
stream_get_transports() | Stream Functions | Returns a list of the available socket transports |
stream_get_wrappers() | Stream Functions | Returns a list of the registered stream wrappers |
stream_is_local() | Stream Functions | Checks whether a stream is a local stream |
stream_isatty() | Stream Functions | Checks whether a stream refers to an interactive terminal |
stream_notification_callback() | Stream Functions | Callback signature used to receive stream notifications |
stream_register_wrapper() | Stream Functions | Alias of stream_wrapper_register() |
stream_resolve_include_path() | Stream Functions | Resolves a filename against the include path |
stream_select() | Stream Functions | Waits for a change of status on one or more streams |
stream_set_blocking() | Stream Functions | Switches a stream between blocking and non-blocking mode |
stream_set_chunk_size() | Stream Functions | Sets the chunk size used when reading from a stream |
stream_set_read_buffer() | Stream Functions | Sets the buffer size used for reading from a stream |
stream_set_timeout() | Stream Functions | Sets a timeout period on a stream |
stream_set_write_buffer() | Stream Functions | Sets the buffer size used for writing to a stream |
stream_socket_accept() | Stream Functions | Accepts a connection on a socket created by stream_socket_server() |
stream_socket_client() | Stream Functions | Opens a connection to a socket server |
stream_socket_enable_crypto() | Stream Functions | Turns encryption on or off for an already connected socket |
stream_socket_get_name() | Stream Functions | Returns the name of the local or remote end of a socket |
stream_socket_pair() | Stream Functions | Creates a pair of connected, indistinguishable socket streams |
stream_socket_recvfrom() | Stream Functions | Receives data from a socket, whether connected or not |
stream_socket_sendto() | Stream Functions | Sends data to a socket, whether connected or not |
stream_socket_server() | Stream Functions | Creates a server socket that listens for connections |
stream_socket_shutdown() | Stream Functions | Shuts down all or part of a full-duplex connection |
stream_supports_lock() | Stream Functions | Checks whether a stream supports file locking |
stream_wrapper_register() | Stream Functions | Registers a user-defined stream wrapper for a protocol |
stream_wrapper_restore() | Stream Functions | Restores a built-in stream wrapper that was previously unregistered |
stream_wrapper_unregister() | Stream Functions | Unregisters a stream wrapper for a protocol |
strftime() | Date/Time Functions | Deprecated. Formats a local time and/or date according to locale settings |
strip_tags() | String Functions | Strips HTML and PHP tags from a string |
stripcslashes() | String Functions | Unquotes a string quoted with addcslashes() |
stripos() | String Functions | Returns the position of the first occurrence of a string inside another string (case-insensitive) Introduced in: |
stripslashes() | String Functions | Unquotes a string quoted with addslashes() |
stristr() | String Functions | Finds the first occurrence of a string inside another string (case-insensitive) |
strlen() | String Functions | Returns the length of a string Introduced in: |
strnatcasecmp() | String Functions | Compares two strings using a "natural order" algorithm (case-insensitive) |
strnatcmp() | String Functions | Compares two strings using a "natural order" algorithm (case-sensitive) |
strncasecmp() | String Functions | String comparison of the first n characters (case-insensitive) |
strncmp() | String Functions | String comparison of the first n characters (case-sensitive) |
strpbrk() | String Functions | Searches a string for any of a set of characters |
strpos() | String Functions | Returns the position of the first occurrence of a string inside another string (case-sensitive) Introduced in: |
strptime() | Date/Time Functions | Deprecated. Parses a time/date generated with strftime() |
strrchr() | String Functions | Finds the last occurrence of a string inside another string |
strrev() | String Functions | Reverses a string Introduced in: |
strripos() | String Functions | Finds the position of the last occurrence of a string inside another string (case-insensitive) |
strrpos() | String Functions | Finds the position of the last occurrence of a string inside another string (case-sensitive) |
strspn() | String Functions | Returns the number of characters found in a string that contains only characters from a specified charlist |
strstr() | String Functions | Finds the first occurrence of a string inside another string (case-sensitive) |
strtok() | String Functions | Splits a string into smaller strings |
strtolower() | String Functions | Converts a string to lowercase letters Introduced in: |
strtotime() | Date/Time Functions | Parses an English textual datetime into a Unix timestamp Introduced in: |
strtoupper() | String Functions | Converts a string to uppercase letters Introduced in: |
strtr() | String Functions | Translates certain characters in a string |
strval() | Variable Handling Functions | Returns the string value of a variable |
substr() | String Functions | Returns a part of a string Introduced in: |
substr_compare() | String Functions | Compares two strings from a specified start position (binary safe and optionally case-sensitive) |
substr_count() | String Functions | Counts the number of times a substring occurs in a string Introduced in: |
substr_replace() | String Functions | Replaces a part of a string with another string Introduced in: |
SUNFUNCS_RET_DOUBLE | Date/Time Constants | Return value as hours in floating point form (example: 9.75) (since PHP 5.1.2) |
SUNFUNCS_RET_STRING | Date/Time Constants | Return value as hours:minutes (example: 09:41) (since PHP 5.1.2) |
SUNFUNCS_RET_TIMESTAMP | Date/Time Constants | Return value as a timestamp (since PHP 5.1.2) |
switch | Keywords | Create a switch block Introduced in: |
symlink() | Filesystem Functions | Creates a symbolic link |
sys_getloadavg() | Miscellaneous Functions | Returns the system load average |
syslog() | Network Functions | Generates a system log message |
tan() | Math Functions | Returns the tangent of a number |
tanh() | Math Functions | Returns the hyperbolic tangent of a number |
tempnam() | Filesystem Functions | Creates a unique temporary file |
thread_id() | MySQLi Functions | Returns the thread ID for the current connection |
thread_safe() | MySQLi Functions | Returns whether the client library is compiled as thread-safe |
throw | Keywords | Throw an exception Introduced in: |
time() | Date/Time Functions | Returns the current time as a Unix timestamp Introduced in: |
time_nanosleep() | Miscellaneous Functions | Delays code execution for a number of seconds and nanoseconds |
time_sleep_until() | Miscellaneous Functions | Makes a script sleep until the specified time |
timezone_abbreviations_list() | Date/Time Functions | Returns an associative array containing dst, offset, and the timezone name |
timezone_identifiers_list() | Date/Time Functions | Returns an indexed array with all timezone identifiers |
timezone_location_get() | Date/Time Functions | Returns location information for a specified timezone |
timezone_name_from_abbr() | Date/Time Functions | Returns the timezone name from abbreviation |
timezone_name_get() | Date/Time Functions | Returns the name of the timezone |
timezone_offset_get() | Date/Time Functions | Returns the timezone offset from GMT |
timezone_open() | Date/Time Functions | Creates new DateTimeZone object |
timezone_transitions_get() | Date/Time Functions | Returns all transitions for the timezone |
timezone_version_get() | Date/Time Functions | Returns the version of the timezonedb |
tmpfile() | Filesystem Functions | Creates a unique temporary file |
touch() | Filesystem Functions | Sets access and modification time of a file |
trait | Keywords | Declare a trait Introduced in: |
trigger_error() | Error and Logging Functions | Creates a user-level error message Introduced in: |
trim() | String Functions | Removes whitespace or other characters from both sides of a string Introduced in: |
try | Keywords | Create a try...catch structure Introduced in: |
u | Regular Expression Syntax | Modifier. Enables correct matching of UTF-8 encoded patterns |
uasort() | Array Functions | Sorts an array by values using a user-defined comparison function and maintains the index association |
ucfirst() | String Functions | Converts the first character of a string to uppercase Introduced in: |
ucwords() | String Functions | Converts the first character of each word in a string to uppercase Introduced in: |
uksort() | Array Functions | Sorts an array by keys using a user-defined comparison function |
umask() | Filesystem Functions | Changes file permissions for files |
uniqid() | Miscellaneous Functions | Generates a unique ID |
unixtojd() | Calendar Functions | Converts Unix timestamp to Julian Day Count |
unlink() | Filesystem Functions | Deletes a file Introduced in: |
unpack() | Miscellaneous Functions | Unpacks data from a binary string |
unserialize() | Variable Handling Functions | Converts serialized data back into actual data Introduced in: |
unset | Keywords | Delete a variable or array element |
unset() | Variable Handling Functions | Unsets a variable Introduced in: |
use | Keywords | Use a namespace Introduced in: |
use_result() | MySQLi Functions | Initiates the retrieval of a result-set from the last query executed |
user_error() | Error and Logging Functions | Alias of trigger_error() |
usleep() | Miscellaneous Functions | Delays code execution for a number of microseconds |
usort() | Array Functions | Sorts an array by values using a user-defined comparison function Introduced in: |
utf8_decode() | XML Parser Functions | Decodes a UTF-8 string to ISO-8859-1 |
utf8_encode() | XML Parser Functions | Encodes an ISO-8859-1 string to UTF-8 |
valid() | SimpleXML Functions | Iteration. Checks whether the current element is valid |
var | Keywords | Declare a variable |
var_dump() | Variable Handling Functions | Dumps information about one or more variables Introduced in: |
var_export() | Variable Handling Functions | Returns structured information (valid PHP code) about a variable Introduced in: |
vfprintf() | String Functions | Writes a formatted string to a specified output stream |
vprintf() | String Functions | Outputs a formatted string |
vsprintf() | String Functions | Writes a formatted string to a variable |
warning_count() | MySQLi Functions | Returns the number of warnings from the last query in the connection |
while | Keywords | Create a while loop or end a do...while loop Introduced in: |
wordwrap() | String Functions | Wraps a string to a given number of characters Introduced in: |
XML_ERROR_ASYNC_ENTITY | XML Parser Constants | Integer. An asynchronous entity was encountered |
XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF | XML Parser Constants | Integer. An attribute value refers to an external entity |
XML_ERROR_BAD_CHAR_REF | XML Parser Constants | Integer. A character reference refers to an invalid character |
XML_ERROR_BINARY_ENTITY_REF | XML Parser Constants | Integer. A reference was made to a binary entity |
XML_ERROR_DUPLICATE_ATTRIBUTE | XML Parser Constants | Integer. An attribute was declared twice on one element |
XML_ERROR_EXTERNAL_ENTITY_HANDLING | XML Parser Constants | Integer. An error occurred while handling an external entity |
XML_ERROR_INCORRECT_ENCODING | XML Parser Constants | Integer. The document does not match its declared encoding |
XML_ERROR_INVALID_TOKEN | XML Parser Constants | Integer. The parser met an invalid token |
XML_ERROR_JUNK_AFTER_DOC_ELEMENT | XML Parser Constants | Integer. Content was found after the root element |
XML_ERROR_MISPLACED_XML_PI | XML Parser Constants | Integer. An XML processing instruction was misplaced |
XML_ERROR_NO_ELEMENTS | XML Parser Constants | Integer. The document contains no elements |
XML_ERROR_NO_MEMORY | XML Parser Constants | Integer. The parser ran out of memory |
XML_ERROR_NONE | XML Parser Constants | Integer. No parser error has occurred |
XML_ERROR_PARAM_ENTITY_REF | XML Parser Constants | Integer. An illegal parameter entity reference was found |
XML_ERROR_PARTIAL_CHAR | XML Parser Constants | Integer. The parser met a partial multi-byte character |
XML_ERROR_RECURSIVE_ENTITY_REF | XML Parser Constants | Integer. An entity refers to itself recursively |
xml_error_string() | XML Parser Functions | Returns an error string from the XML parser |
XML_ERROR_SYNTAX | XML Parser Constants | Integer. The document contains a syntax error |
XML_ERROR_TAG_MISMATCH | XML Parser Constants | Integer. A closing tag does not match its opening tag |
XML_ERROR_UNCLOSED_CDATA_SECTION | XML Parser Constants | Integer. A CDATA section was left unclosed |
XML_ERROR_UNCLOSED_TOKEN | XML Parser Constants | Integer. A token was left unclosed |
XML_ERROR_UNDEFINED_ENTITY | XML Parser Constants | Integer. A reference was made to an undefined entity |
XML_ERROR_UNKNOWN_ENCODING | XML Parser Constants | Integer. The document declares an unknown encoding |
xml_get_current_byte_index() | XML Parser Functions | Returns the current byte index from the XML parser |
xml_get_current_column_number() | XML Parser Functions | Returns the current column number from the XML parser |
xml_get_current_line_number() | XML Parser Functions | Returns the current line number from the XML parser |
xml_get_error_code() | XML Parser Functions | Returns an error code from the XML parser |
XML_OPTION_CASE_FOLDING | XML Parser Constants | Integer. Controls whether element and attribute names are case folded |
XML_OPTION_SKIP_TAGSTART | XML Parser Constants | Integer. Sets how many characters are skipped at the start of a tag name |
XML_OPTION_SKIP_WHITE | XML Parser Constants | Integer. Controls whether whitespace-only values are skipped |
XML_OPTION_TARGET_ENCODING | XML Parser Constants | Integer. Sets the encoding used by the parser for its output |
xml_parse() | XML Parser Functions | Parses an XML document |
xml_parse_into_struct() | XML Parser Functions | Parses XML data into an array |
xml_parser_create() | XML Parser Functions | Creates an XML parser |
xml_parser_create_ns() | XML Parser Functions | Creates an XML parser with namespace support |
xml_parser_free() | XML Parser Functions | Frees an XML parser |
xml_parser_get_option() | XML Parser Functions | Returns options from an XML parser |
xml_parser_set_option() | XML Parser Functions | Sets options in an XML parser |
XML_SAX_IMPL | XML Parser Constants | String. Holds the name of the underlying SAX implementation |
xml_set_character_data_handler() | XML Parser Functions | Sets up the character data handler for the XML parser |
xml_set_default_handler() | XML Parser Functions | Sets up the default data handler for the XML parser |
xml_set_element_handler() | XML Parser Functions | Sets up start and end element handlers for the XML parser |
xml_set_end_namespace_decl_handler() | XML Parser Functions | Sets up the end namespace declaration handler |
xml_set_external_entity_ref_handler() | XML Parser Functions | Sets up the external entity reference handler for the XML parser |
xml_set_notation_decl_handler() | XML Parser Functions | Sets up notation declaration handler for the XML parser |
xml_set_object() | XML Parser Functions | Allows the XML parser to be used within an object |
xml_set_processing_instruction_handler() | XML Parser Functions | Sets up processing instruction handler |
xml_set_start_namespace_decl_handler() | XML Parser Functions | Sets up the start namespace declaration handler |
xml_set_unparsed_entity_decl_handler() | XML Parser Functions | Sets handler function for unparsed entity declarations |
xor | Keywords | A logical operator |
xpath() | SimpleXML Functions | Runs an XPath query on XML data |
yield | Keywords | Used in generator functions |
yield from | Keywords | Used in generator functions |
zip_close() | Zip Functions | Closes a ZIP file archive |
zip_entry_close() | Zip Functions | Closes a ZIP directory entry |
zip_entry_compressedsize() | Zip Functions | Returns the compressed file size of a ZIP directory entry |
zip_entry_compressionmethod() | Zip Functions | Returns the compression method of a ZIP directory entry |
zip_entry_filesize() | Zip Functions | Returns the actual file size of a ZIP directory entry |
zip_entry_name() | Zip Functions | Returns the name of a ZIP directory entry |
zip_entry_open() | Zip Functions | Opens a directory entry in a ZIP file for reading |
zip_entry_read() | Zip Functions | Reads from an open directory entry in the ZIP file |
zip_open() | Zip Functions | Opens a ZIP file archive |
zip_read() | Zip Functions | Reads the next file in an open ZIP file archive |



or