PHP Reference
PHP Functions
Results: 713
ID | PHP Function | Description | Category |
---|---|---|---|
1 | array() | Creates an array | Arrays |
2 | array_change_key_case() | Changes all keys in an array to lowercase or uppercase | Arrays |
3 | array_chunk() | Splits an array into chunks of arrays | Arrays |
4 | array_column() | Returns the values from a single column in the input array | Arrays |
5 | array_combine() | Creates an array by using the elements from one "keys" array and one "values" array | Arrays |
6 | array_count_values() | Counts all the values of an array | Arrays |
7 | array_diff() | Compare arrays, and returns the differences (compare values only) | Arrays |
8 | array_diff_assoc() | Compare arrays, and returns the differences (compare keys and values) | Arrays |
9 | array_diff_key() | Compare arrays, and returns the differences (compare keys only) | Arrays |
10 | array_diff_uassoc() | Compare arrays, and returns the differences (compare keys and values, using a user-defined key comparison function) | Arrays |
11 | array_diff_ukey() | Compare arrays, and returns the differences (compare keys only, using a user-defined key comparison function) | Arrays |
12 | array_fill() | Fills an array with values | Arrays |
13 | array_fill_keys() | Fills an array with values, specifying keys | Arrays |
14 | array_filter() | Filters the values of an array using a callback function | Arrays |
15 | array_flip() | Flips/Exchanges all keys with their associated values in an array | Arrays |
16 | array_intersect() | Compare arrays, and returns the matches (compare values only) | Arrays |
17 | array_intersect_assoc() | Compare arrays and returns the matches (compare keys and values) | Arrays |
18 | array_intersect_key() | Compare arrays, and returns the matches (compare keys only) | Arrays |
19 | array_intersect_uassoc() | Compare arrays, and returns the matches (compare keys and values, using a user-defined key comparison function) | Arrays |
20 | array_intersect_ukey() | Compare arrays, and returns the matches (compare keys only, using a user-defined key comparison function) | Arrays |
21 | array_key_exists() | Checks if the specified key exists in the array | Arrays |
22 | array_keys() | Returns all the keys of an array | Arrays |
23 | array_map() | Sends each value of an array to a user-made function, which returns new values | Arrays |
24 | array_merge() | Merges one or more arrays into one array | Arrays |
25 | array_merge_recursive() | Merges one or more arrays into one array recursively | Arrays |
26 | array_multisort() | Sorts multiple or multi-dimensional arrays | Arrays |
27 | array_pad() | Inserts a specified number of items, with a specified value, to an array | Arrays |
28 | array_pop() | Deletes the last element of an array | Arrays |
29 | array_product() | Calculates the product of the values in an array | Arrays |
30 | array_push() | Inserts one or more elements to the end of an array | Arrays |
31 | array_rand() | Returns one or more random keys from an array | Arrays |
32 | array_reduce() | Returns an array as a string, using a user-defined function | Arrays |
33 | array_replace() | Replaces the values of the first array with the values from following arrays | Arrays |
34 | array_replace_recursive() | Replaces the values of the first array with the values from following arrays recursively | Arrays |
35 | array_reverse() | Returns an array in the reverse order | Arrays |
36 | array_search() | Searches an array for a given value and returns the key | Arrays |
37 | array_shift() | Removes the first element from an array, and returns the value of the removed element | Arrays |
38 | array_slice() | Returns selected parts of an array | Arrays |
39 | array_splice() | Removes and replaces specified elements of an array | Arrays |
40 | array_sum() | Returns the sum of the values in an array | Arrays |
41 | array_udiff() | Compare arrays, and returns the differences (compare values only, using a user-defined key comparison function) | Arrays |
42 | array_udiff_assoc() | 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) | Arrays |
43 | array_udiff_uassoc() | Compare arrays, and returns the differences (compare keys and values, using two user-defined key comparison functions) | Arrays |
44 | array_uintersect() | Compare arrays, and returns the matches (compare values only, using a user-defined key comparison function) | Arrays |
45 | array_uintersect_assoc() | 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) | Arrays |
46 | array_uintersect_uassoc() | Compare arrays, and returns the matches (compare keys and values, using two user-defined key comparison functions) | Arrays |
47 | array_unique() | Removes duplicate values from an array | Arrays |
48 | array_unshift() | Adds one or more elements to the beginning of an array | Arrays |
49 | array_values() | Returns all the values of an array | Arrays |
50 | array_walk() | Applies a user function to every member of an array | Arrays |
51 | array_walk_recursive() | Applies a user function recursively to every member of an array | Arrays |
52 | arsort() | Sorts an associative array in descending order, according to the value | Arrays |
53 | asort() | Sorts an associative array in ascending order, according to the value | Arrays |
54 | compact() | Create array containing variables and their values | Arrays |
55 | count() | Returns the number of elements in an array | Arrays |
56 | current() | Returns the current element in an array | Arrays |
57 | each() | Deprecated from PHP 7.2. Returns the current key and value pair from an array | Arrays |
58 | end() | Sets the internal pointer of an array to its last element | Arrays |
59 | extract() | Imports variables into the current symbol table from an array | Arrays |
60 | in_array() | Checks if a specified value exists in an array | Arrays |
61 | key() | Fetches a key from an array | Arrays |
62 | krsort() | Sorts an associative array in descending order, according to the key | Arrays |
63 | ksort() | Sorts an associative array in ascending order, according to the key | Arrays |
64 | list() | Assigns variables as if they were an array | Arrays |
65 | natcasesort() | Sorts an array using a case insensitive "natural order" algorithm | Arrays |
66 | natsort() | Sorts an array using a "natural order" algorithm | Arrays |
67 | next() | Advance the internal array pointer of an array | Arrays |
68 | pos() | Alias of current() | Arrays |
69 | prev() | Rewinds the internal array pointer | Arrays |
70 | range() | Creates an array containing a range of elements | Arrays |
71 | reset() | Sets the internal pointer of an array to its first element | Arrays |
72 | rsort() | Sorts an indexed array in descending order | Arrays |
73 | shuffle() | Shuffles an array | Arrays |
74 | sizeof() | Alias of count() | Arrays |
75 | sort() | Sorts an indexed array in ascending order | Arrays |
76 | uasort() | Sorts an array by values using a user-defined comparison function | Arrays |
77 | uksort() | Sorts an array by keys using a user-defined comparison function | Arrays |
78 | usort() | Sorts an array using a user-defined comparison function | Arrays |
79 | cal_days_in_month() | Returns the number of days in a month for a specified year and calendar | Calendar |
80 | cal_from_jd() | Converts a Julian Day Count into a date of a specified calendar | Calendar |
81 | cal_info() | Returns information about a specified calendar | Calendar |
82 | cal_to_jd() | Converts a date in a specified calendar to Julian Day Count | Calendar |
83 | easter_date() | Returns the Unix timestamp for midnight on Easter of a specified year | Calendar |
84 | easter_days() | Returns the number of days after March 21, that the Easter Day is in a specified year | Calendar |
85 | frenchtojd() | Converts a French Republican date to a Julian Day Count | Calendar |
86 | gregoriantojd() | Converts a Gregorian date to a Julian Day Count | Calendar |
87 | jddayofweek() | Returns the day of the week | Calendar |
88 | jdmonthname() | Returns a month name | Calendar |
89 | jdtofrench() | Converts a Julian Day Count to a French Republican date | Calendar |
90 | jdtogregorian() | Converts a Julian Day Count to a Gregorian date | Calendar |
91 | jdtojewish() | Converts a Julian Day Count to a Jewish date | Calendar |
92 | jdtojulian() | Converts a Julian Day Count to a Julian date | Calendar |
93 | jdtounix() | Converts Julian Day Count to Unix timestamp | Calendar |
94 | jewishtojd() | Converts a Jewish date to a Julian Day Count | Calendar |
95 | juliantojd() | Converts a Julian date to a Julian Day Count | Calendar |
96 | unixtojd() | Converts Unix timestamp to Julian Day Count | Calendar |
97 | checkdate() | Validates a Gregorian date | Date/Time Functions |
98 | date_add() | Adds days, months, years, hours, minutes, and seconds to a date | Date/Time Functions |
99 | date_create_from_format() | Returns a new DateTime object formatted according to a specified format | Date/Time Functions |
100 | date_create() | Returns a new DateTime object | Date/Time Functions |
101 | date_date_set() | Sets a new date | Date/Time Functions |
102 | date_default_timezone_get() | Returns the default timezone used by all date/time functions | Date/Time Functions |
103 | date_default_timezone_set() | Sets the default timezone used by all date/time functions | Date/Time Functions |
104 | date_diff() | Returns the difference between two dates | Date/Time Functions |
105 | date_format() | Returns a date formatted according to a specified format | Date/Time Functions |
106 | date_get_last_errors() | Returns the warnings/errors found in a date string | Date/Time Functions |
107 | date_interval_create_from_date_string() | Sets up a DateInterval from the relative parts of the string | Date/Time Functions |
108 | date_interval_format() | Formats the interval | Date/Time Functions |
109 | date_isodate_set() | Sets the ISO date | Date/Time Functions |
110 | date_modify() | Modifies the timestamp | Date/Time Functions |
111 | date_offset_get() | Returns the timezone offset | Date/Time Functions |
112 | date_parse_from_format() | Returns an associative array with detailed info about a specified date, according to a specified format | Date/Time Functions |
113 | date_parse() | Returns an associative array with detailed info about a specified date | Date/Time Functions |
114 | date_sub() | Subtracts days, months, years, hours, minutes, and seconds from a date | Date/Time Functions |
115 | date_sun_info() | Returns an array containing info about sunset/sunrise and twilight begin/end, for a specified day and location | Date/Time Functions |
116 | date_sunrise() | Returns the sunrise time for a specified day and location | Date/Time Functions |
117 | date_sunset() | Returns the sunset time for a specified day and location | Date/Time Functions |
118 | date_time_set() | Sets the time | Date/Time Functions |
119 | date_timestamp_get() | Returns the Unix timestamp | Date/Time Functions |
120 | date_timestamp_set() | Sets the date and time based on a Unix timestamp | Date/Time Functions |
121 | date_timezone_get() | Returns the time zone of the given DateTime object | Date/Time Functions |
122 | date_timezone_set() | Sets the time zone for the DateTime object | Date/Time Functions |
123 | date() | Formats a local date and time | Date/Time Functions |
124 | getdate() | Returns date/time information of a timestamp or the current local date/time | Date/Time Functions |
125 | gettimeofday() | Returns the current time | Date/Time Functions |
126 | gmdate() | Formats a GMT/UTC date and time | Date/Time Functions |
127 | gmmktime() | Returns the Unix timestamp for a GMT date | Date/Time Functions |
128 | gmstrftime() | Formats a GMT/UTC date and time according to locale settings | Date/Time Functions |
129 | idate() | Formats a local time/date as integer | Date/Time Functions |
130 | localtime() | Returns the local time | Date/Time Functions |
131 | microtime() | Returns the current Unix timestamp with microseconds | Date/Time Functions |
132 | mktime() | Returns the Unix timestamp for a date | Date/Time Functions |
133 | strftime() | Formats a local time and/or date according to locale settings | Date/Time Functions |
134 | strptime() | Parses a time/date generated with strftime() | Date/Time Functions |
135 | strtotime() | Parses an English textual datetime into a Unix timestamp | Date/Time Functions |
136 | time() | Returns the current time as a Unix timestamp | Date/Time Functions |
137 | timezone_abbreviations_list() | Returns an associative array containing dst, offset, and the timezone name | Date/Time Functions |
138 | timezone_identifiers_list() | Returns an indexed array with all timezone identifiers | Date/Time Functions |
139 | timezone_location_get() | Returns location information for a specified timezone | Date/Time Functions |
140 | timezone_name_from_ abbr() | Returns the timezone name from abbreviation | Date/Time Functions |
141 | timezone_name_get() | Returns the name of the timezone | Date/Time Functions |
142 | timezone_offset_get() | Returns the timezone offset from GMT | Date/Time Functions |
143 | timezone_open() | Creates new DateTimeZone object | Date/Time Functions |
144 | timezone_transitions_get() | Returns all transitions for the timezone | Date/Time Functions |
145 | timezone_version_get() | Returns the version of the timezonedb | Date/Time Functions |
146 | chdir() | Changes the current directory | Directory Functions |
147 | chroot() | Changes the root directory | Directory Functions |
148 | closedir() | Closes a directory handle | Directory Functions |
149 | dir() | Returns an instance of the Directory class | Directory Functions |
150 | getcwd() | Returns the current working directory | Directory Functions |
151 | opendir() | Opens a directory handle | Directory Functions |
152 | readdir() | Returns an entry from a directory handle | Directory Functions |
153 | rewinddir() | Resets a directory handle | Directory Functions |
154 | scandir() | Returns an array of files and directories of a specified directory | Directory Functions |
155 | debug_backtrace() | Generates a backtrace | Error and Logging Functions |
156 | debug_print_backtrace() | Prints a backtrace | Error and Logging Functions |
157 | error_clear_last() | Clears the last error | Error and Logging Functions |
158 | error_get_last() | Returns the last error that occurred | Error and Logging Functions |
159 | error_log() | Sends an error message to a log, to a file, or to a mail account | Error and Logging Functions |
160 | error_reporting() | Specifies which errors are reported | Error and Logging Functions |
161 | restore_error_handler() | Restores the previous error handler | Error and Logging Functions |
162 | restore_exception_handler() | Restores the previous exception handler | Error and Logging Functions |
163 | set_error_handler() | Sets a user-defined error handler function | Error and Logging Functions |
164 | set_exception_handler() | Sets a user-defined exception handler function | Error and Logging Functions |
165 | trigger_error() | Creates a user-level error message | Error and Logging Functions |
166 | user_error() | Alias of trigger_error() | Error and Logging Functions |
167 | Function | Description | Filesystem Functions |
168 | basename() | Returns the filename component of a path | Filesystem Functions |
169 | chgrp() | Changes the file group | Filesystem Functions |
170 | chmod() | Changes the file mode | Filesystem Functions |
171 | chown() | Changes the file owner | Filesystem Functions |
172 | clearstatcache() | Clears the file status cache | Filesystem Functions |
173 | copy() | Copies a file | Filesystem Functions |
174 | delete() | See unlink() | Filesystem Functions |
175 | dirname() | Returns the directory name component of a path | Filesystem Functions |
176 | disk_free_space() | Returns the free space of a filesystem or disk | Filesystem Functions |
177 | disk_total_space() | Returns the total size of a filesystem or disk | Filesystem Functions |
178 | diskfreespace() | Alias of disk_free_space() | Filesystem Functions |
179 | fclose() | Closes an open file | Filesystem Functions |
180 | feof() | Checks if the "end-of-file" (EOF) has been reached for an open file | Filesystem Functions |
181 | fflush() | Flushes buffered output to an open file | Filesystem Functions |
182 | fgetc() | Returns a single character from an open file | Filesystem Functions |
183 | fgetcsv() | Returns a line from an open CSV file | Filesystem Functions |
184 | fgets() | Returns a line from an open file | Filesystem Functions |
185 | fgetss() | Deprecated from PHP 7.3. Returns a line from an open file - stripped from HTML and PHP tags | Filesystem Functions |
186 | file() | Reads a file into an array | Filesystem Functions |
187 | file_exists() | Checks whether or not a file or directory exists | Filesystem Functions |
188 | file_get_contents() | Reads a file into a string | Filesystem Functions |
189 | file_put_contents() | Writes data to a file | Filesystem Functions |
190 | fileatime() | Returns the last access time of a file | Filesystem Functions |
191 | filectime() | Returns the last change time of a file | Filesystem Functions |
192 | filegroup() | Returns the group ID of a file | Filesystem Functions |
193 | fileinode() | Returns the inode number of a file | Filesystem Functions |
194 | filemtime() | Returns the last modification time of a file | Filesystem Functions |
195 | fileowner() | Returns the user ID (owner) of a file | Filesystem Functions |
196 | fileperms() | Returns the file's permissions | Filesystem Functions |
197 | filesize() | Returns the file size | Filesystem Functions |
198 | filetype() | Returns the file type | Filesystem Functions |
199 | flock() | Locks or releases a file | Filesystem Functions |
200 | fnmatch() | Matches a filename or string against a specified pattern | Filesystem Functions |
201 | fopen() | Opens a file or URL | Filesystem Functions |
202 | fpassthru() | Reads from the current position in a file - until EOF, and writes the result to the output buffer | Filesystem Functions |
203 | fputcsv() | Formats a line as CSV and writes it to an open file | Filesystem Functions |
204 | fputs() | Alias of fwrite() | Filesystem Functions |
205 | fread() | Reads from an open file (binary-safe) | Filesystem Functions |
206 | fscanf() | Parses input from an open file according to a specified format | Filesystem Functions |
207 | fseek() | Seeks in an open file | Filesystem Functions |
208 | fstat() | Returns information about an open file | Filesystem Functions |
209 | ftell() | Returns the current position in an open file | Filesystem Functions |
210 | ftruncate() | Truncates an open file to a specified length | Filesystem Functions |
211 | fwrite() | Writes to an open file (binary-safe) | Filesystem Functions |
212 | glob() | Returns an array of filenames / directories matching a specified pattern | Filesystem Functions |
213 | is_dir() | Checks whether a file is a directory | Filesystem Functions |
214 | is_executable() | Checks whether a file is executable | Filesystem Functions |
215 | is_file() | Checks whether a file is a regular file | Filesystem Functions |
216 | is_link() | Checks whether a file is a link | Filesystem Functions |
217 | is_readable() | Checks whether a file is readable | Filesystem Functions |
218 | is_uploaded_file() | Checks whether a file was uploaded via HTTP POST | Filesystem Functions |
219 | is_writable() | Checks whether a file is writable | Filesystem Functions |
220 | is_writeable() | Alias of is_writable() | Filesystem Functions |
221 | lchgrp() | Changes the group ownership of a symbolic link | Filesystem Functions |
222 | lchown() | Changes the user ownership of a symbolic link | Filesystem Functions |
223 | link() | Creates a hard link | Filesystem Functions |
224 | linkinfo() | Returns information about a hard link | Filesystem Functions |
225 | lstat() | Returns information about a file or symbolic link | Filesystem Functions |
226 | mkdir() | Creates a directory | Filesystem Functions |
227 | move_uploaded_file() | Moves an uploaded file to a new location | Filesystem Functions |
228 | parse_ini_file() | Parses a configuration file | Filesystem Functions |
229 | parse_ini_string() | Parses a configuration string | Filesystem Functions |
230 | pathinfo() | Returns information about a file path | Filesystem Functions |
231 | pclose() | Closes a pipe opened by popen() | Filesystem Functions |
232 | popen() | Opens a pipe | Filesystem Functions |
233 | readfile() | Reads a file and writes it to the output buffer | Filesystem Functions |
234 | readlink() | Returns the target of a symbolic link | Filesystem Functions |
235 | realpath() | Returns the absolute pathname | Filesystem Functions |
236 | realpath_cache_get() | Returns realpath cache entries | Filesystem Functions |
237 | realpath_cache_size() | Returns realpath cache size | Filesystem Functions |
238 | rename() | Renames a file or directory | Filesystem Functions |
239 | rewind() | Rewinds a file pointer | Filesystem Functions |
240 | rmdir() | Removes an empty directory | Filesystem Functions |
241 | set_file_buffer() | Alias of stream_set_write_buffer(). Sets the buffer size for write operations on the given file | Filesystem Functions |
242 | stat() | Returns information about a file | Filesystem Functions |
243 | symlink() | Creates a symbolic link | Filesystem Functions |
244 | tempnam() | Creates a unique temporary file | Filesystem Functions |
245 | tmpfile() | Creates a unique temporary file | Filesystem Functions |
246 | touch() | Sets access and modification time of a file | Filesystem Functions |
247 | umask() | Changes file permissions for files | Filesystem Functions |
248 | unlink() | Deletes a file | Filesystem Functions |
249 | filter_has_var() | Checks whether a variable of a specified input type exist | Filter Functions |
250 | filter_id() | Returns the filter ID of a specified filter name | Filter Functions |
251 | filter_input() | Gets an external variable (e.g. from form input) and optionally filters it | Filter Functions |
252 | filter_input_array() | Gets external variables (e.g. from form input) and optionally filters them | Filter Functions |
253 | filter_list() | Returns a list of all supported filter names | Filter Functions |
254 | filter_var() | Filters a variable with a specified filter | Filter Functions |
255 | filter_var_array() | Gets multiple variables and filter them | Filter Functions |
256 | ftp_alloc() | Allocates space for a file to be uploaded to the FTP server | FTP Functions |
257 | ftp_cdup() | Changes to the parent directory on the FTP server | FTP Functions |
258 | ftp_chdir() | Changes the current directory on the FTP server | FTP Functions |
259 | ftp_chmod() | Sets permissions on a file via FTP | FTP Functions |
260 | ftp_close() | Closes an FTP connection | FTP Functions |
261 | ftp_connect() | Opens an FTP connection | FTP Functions |
262 | ftp_delete() | Deletes a file on the FTP server | FTP Functions |
263 | ftp_exec() | Executes a command on the FTP server | FTP Functions |
264 | ftp_fget() | Downloads a file from the FTP server and saves it into an open local file | FTP Functions |
265 | ftp_fput() | Uploads from an open file and saves it to a file on the FTP server | FTP Functions |
266 | ftp_get() | Downloads a file from the FTP server | FTP Functions |
267 | ftp_get_option() | Returns runtime options of the FTP connection | FTP Functions |
268 | ftp_login() | Logs in to the FTP connection | FTP Functions |
269 | ftp_mdtm() | Returns the last modified time of a specified file | FTP Functions |
270 | ftp_mkdir() | Creates a new directory on the FTP server | FTP Functions |
271 | ftp_mlsd() | Returns the list of files in the specified directory | FTP Functions |
272 | ftp_nb_continue() | Continues retrieving/sending a file (non-blocking) | FTP Functions |
273 | ftp_nb_fget() | Downloads a file from the FTP server and saves it into an open file (non-blocking) | FTP Functions |
274 | ftp_nb_fput() | Uploads from an open file and saves it to a file on the FTP server (non-blocking) | FTP Functions |
275 | ftp_nb_get() | Downloads a file from the FTP server (non-blocking) | FTP Functions |
276 | ftp_nb_put() | Uploads a file to the FTP server (non-blocking) | FTP Functions |
277 | ftp_nlist() | Returns a list of files in the specified directory on the FTP server | FTP Functions |
278 | ftp_pasv() | Turns passive mode on or off | FTP Functions |
279 | ftp_put() | Uploads a file to the FTP server | FTP Functions |
280 | ftp_pwd() | Returns the current directory name | FTP Functions |
281 | ftp_quit() | Alias of ftp_close() | FTP Functions |
282 | ftp_raw() | Sends a raw command to the FTP server | FTP Functions |
283 | ftp_rawlist() | Returns a list of files with file information from a specified directory | FTP Functions |
284 | ftp_rename() | Renames a file or directory on the FTP server | FTP Functions |
285 | ftp_rmdir() | Deletes an empty directory on the FTP server | FTP Functions |
286 | ftp_set_option() | Sets runtime options for the FTP connection | FTP Functions |
287 | ftp_site() | Sends an FTP SITE command to the FTP server | FTP Functions |
288 | ftp_size() | Returns the size of the specified file | FTP Functions |
289 | ftp_ssl_connect() | Opens a secure SSL-FTP connection | FTP Functions |
290 | ftp_systype() | Returns the system type identifier of the FTP server | FTP Functions |
291 | json_decode() | Decodes a JSON string | JSON Functions |
292 | json_encode() | Encode a value to JSON format | JSON Functions |
293 | json_last_error() | Returns the last error occurred | JSON Functions |
294 | json_last_error_msg() | Returns the error string of the last json_encode() or json_decode() call | JSON Functions |
295 | libxml_clear_errors() | Clears the libxml error buffer | libxml Functions |
296 | libxml_disable_entity_loader() | Enables the ability to load external entities | libxml Functions |
297 | libxml_get_errors() | Gets the errors from the the libxml error buffer | libxml Functions |
298 | libxml_get_last_error() | Gets the last error from the the libxml error buffer | libxml Functions |
299 | libxml_set_external_entity_loader() | Changes the default external entity loader | libxml Functions |
300 | libxml_set_streams_context() | Sets the streams context for the next libxml document load or write | libxml Functions |
301 | libxml_use_internal_errors() | Disables the standard libxml errors and enables user error handling | libxml Functions |
302 | ezmlm_hash() | Calculates the hash value needed by EZMLM | Mail Functions |
303 | mail() | Allows you to send emails directly from a script | Mail Functions |
304 | abs() | Returns the absolute (positive) value of a number | Math Functions |
305 | acos() | Returns the arc cosine of a number | Math Functions |
306 | acosh() | Returns the inverse hyperbolic cosine of a number | Math Functions |
307 | asin() | Returns the arc sine of a number | Math Functions |
308 | asinh() | Returns the inverse hyperbolic sine of a number | Math Functions |
309 | atan() | Returns the arc tangent of a number in radians | Math Functions |
310 | atan2() | Returns the arc tangent of two variables x and y | Math Functions |
311 | atanh() | Returns the inverse hyperbolic tangent of a number | Math Functions |
312 | base_convert() | Converts a number from one number base to another | Math Functions |
313 | bindec() | Converts a binary number to a decimal number | Math Functions |
314 | ceil() | Rounds a number up to the nearest integer | Math Functions |
315 | cos() | Returns the cosine of a number | Math Functions |
316 | cosh() | Returns the hyperbolic cosine of a number | Math Functions |
317 | decbin() | Converts a decimal number to a binary number | Math Functions |
318 | dechex() | Converts a decimal number to a hexadecimal number | Math Functions |
319 | decoct() | Converts a decimal number to an octal number | Math Functions |
320 | deg2rad() | Converts a degree value to a radian value | Math Functions |
321 | exp() | Calculates the exponent of e | Math Functions |
322 | expm1() | Returns exp(x) - 1 | Math Functions |
323 | floor() | Rounds a number down to the nearest integer | Math Functions |
324 | fmod() | Returns the remainder of x/y | Math Functions |
325 | getrandmax() | Returns the largest possible value returned by rand() | Math Functions |
326 | hexdec() | Converts a hexadecimal number to a decimal number | Math Functions |
327 | hypot() | Calculates the hypotenuse of a right-angle triangle | Math Functions |
328 | intdiv() | Performs integer division | Math Functions |
329 | is_finite() | Checks whether a value is finite or not | Math Functions |
330 | is_infinite() | Checks whether a value is infinite or not | Math Functions |
331 | is_nan() | Checks whether a value is 'not-a-number' | Math Functions |
332 | lcg_value() | Returns a pseudo random number in a range between 0 and 1 | Math Functions |
333 | log() | Returns the natural logarithm of a number | Math Functions |
334 | log10() | Returns the base-10 logarithm of a number | Math Functions |
335 | log1p() | Returns log(1+number) | Math Functions |
336 | max() | Returns the highest value in an array, or the highest value of several specified values | Math Functions |
337 | min() | Returns the lowest value in an array, or the lowest value of several specified values | Math Functions |
338 | mt_getrandmax() | Returns the largest possible value returned by mt_rand() | Math Functions |
339 | mt_rand() | Generates a random integer using Mersenne Twister algorithm | Math Functions |
340 | mt_srand() | Seeds the Mersenne Twister random number generator | Math Functions |
341 | octdec() | Converts an octal number to a decimal number | Math Functions |
342 | pi() | Returns the value of PI | Math Functions |
343 | pow() | Returns x raised to the power of y | Math Functions |
344 | rad2deg() | Converts a radian value to a degree value | Math Functions |
345 | rand() | Generates a random integer | Math Functions |
346 | round() | Rounds a floating-point number | Math Functions |
347 | sin() | Returns the sine of a number | Math Functions |
348 | sinh() | Returns the hyperbolic sine of a number | Math Functions |
349 | sqrt() | Returns the square root of a number | Math Functions |
350 | srand() | Seeds the random number generator | Math Functions |
351 | tan() | Returns the tangent of a number | Math Functions |
352 | tanh() | Returns the hyperbolic tangent of a number | Math Functions |
353 | connection_aborted() | Checks whether the client has disconnected | Miscellaneous Functions |
354 | connection_status() | Returns the current connection status | Miscellaneous Functions |
355 | connection_timeout() | Deprecated from PHP 4.0.5. Checks whether the script has timed out | Miscellaneous Functions |
356 | constant() | Returns the value of a constant | Miscellaneous Functions |
357 | define() | Defines a constant | Miscellaneous Functions |
358 | defined() | Checks whether a constant exists | Miscellaneous Functions |
359 | die() | Alias of exit() | Miscellaneous Functions |
360 | eval() | Evaluates a string as PHP code | Miscellaneous Functions |
361 | exit() | Prints a message and exits the current script | Miscellaneous Functions |
362 | get_browser() | Returns the capabilities of the user's browser | Miscellaneous Functions |
363 | __halt_compiler() | Halts the compiler execution | Miscellaneous Functions |
364 | highlight_file() | Outputs a file with the PHP syntax highlighted | Miscellaneous Functions |
365 | highlight_string() | Outputs a string with the PHP syntax highlighted | Miscellaneous Functions |
366 | hrtime() | Returns the system's high resolution time | Miscellaneous Functions |
367 | ignore_user_abort() | Sets whether a remote client can abort the running of a script | Miscellaneous Functions |
368 | pack() | Packs data into a binary string | Miscellaneous Functions |
369 | php_strip_whitespace() | Returns the source code of a file with PHP comments and whitespace removed | Miscellaneous Functions |
370 | show_source() | Alias of highlight_file() | Miscellaneous Functions |
371 | sleep() | Delays code execution for a number of seconds | Miscellaneous Functions |
372 | sys_getloadavg() | Returns the system load average | Miscellaneous Functions |
373 | time_nanosleep() | Delays code execution for a number of seconds and nanoseconds | Miscellaneous Functions |
374 | time_sleep_until() | Makes a script sleep until the specified time | Miscellaneous Functions |
375 | uniqid() | Generates a unique ID | Miscellaneous Functions |
376 | unpack() | Unpacks data from a binary string | Miscellaneous Functions |
377 | usleep() | Miscellaneous Functions | |
378 | affected_rows() | Returns the number of affected rows in the previous MySQL operation | MySQLi Functions |
379 | autocommit() | Turns on or off auto-committing database modifications | MySQLi Functions |
380 | begin_transaction() | Starts a transaction | MySQLi Functions |
381 | change_user() | Changes the user of the specified database connection | MySQLi Functions |
382 | character_set_name() | Returns the default character set for the database connection | MySQLi Functions |
383 | close() | Closes a previously opened database connection | MySQLi Functions |
384 | commit() | Commits the current transaction | MySQLi Functions |
385 | connect() | Opens a new connection to the MySQL server | MySQLi Functions |
386 | connect_errno() | Returns the error code from the last connection error | MySQLi Functions |
387 | connect_error() | Returns the error description from the last connection error | MySQLi Functions |
388 | data_seek() | Adjusts the result pointer to an arbitrary row in the result-set | MySQLi Functions |
389 | debug() | Performs debugging operations | MySQLi Functions |
390 | dump_debug_info() | Dumps debugging info into the log | MySQLi Functions |
391 | errno() | Returns the last error code for the most recent function call | MySQLi Functions |
392 | error() | Returns the last error description for the most recent function call | MySQLi Functions |
393 | error_list() | Returns a list of errors for the most recent function call | MySQLi Functions |
394 | fetch_all() | Fetches all result rows as an associative array, a numeric array, or both | MySQLi Functions |
395 | fetch_array() | Fetches a result row as an associative, a numeric array, or both | MySQLi Functions |
396 | fetch_assoc() | Fetches a result row as an associative array | MySQLi Functions |
397 | fetch_field() | Returns the next field in the result-set, as an object | MySQLi Functions |
398 | fetch_field_direct() | Returns meta-data for a single field in the result-set, as an object | MySQLi Functions |
399 | fetch_fields() | Returns an array of objects that represent the fields in a result-set | MySQLi Functions |
400 | fetch_lengths() | Returns the lengths of the columns of the current row in the result-set | MySQLi Functions |
401 | fetch_object() | Returns the current row of a result-set, as an object | MySQLi Functions |
402 | fetch_row() | Fetches one row from a result-set and returns it as an enumerated array | MySQLi Functions |
403 | field_count() | Returns the number of columns for the most recent query | MySQLi Functions |
404 | field_seek() | Sets the field cursor to the given field offset | MySQLi Functions |
405 | get_charset() | Returns a character set object | MySQLi Functions |
406 | get_client_info() | Returns the MySQL client library version | MySQLi Functions |
407 | get_client_stats() | Returns statistics about client per-process | MySQLi Functions |
408 | get_client_version() | Returns the MySQL client library version as an integer | MySQLi Functions |
409 | get_connection_stats() | Returns statistics about the client connection | MySQLi Functions |
410 | get_host_info() | Returns the MySQL server hostname and the connection type | MySQLi Functions |
411 | get_proto_info() | Returns the MySQL protocol version | MySQLi Functions |
412 | get_server_info() | Returns the MySQL server version | MySQLi Functions |
413 | get_server_version() | Returns the MySQL server version as an integer | MySQLi Functions |
414 | info() | Returns information about the last executed query | MySQLi Functions |
415 | init() | Initializes MySQLi and returns a resource for use with real_connect() | MySQLi Functions |
416 | insert_id() | Returns the auto-generated id from the last query | MySQLi Functions |
417 | kill() | Asks the server to kill a MySQL thread | MySQLi Functions |
418 | more_results() | Checks if there are more results from a multi query | MySQLi Functions |
419 | multi_query() | Performs one or more queries on the database | MySQLi Functions |
420 | next_result() | Prepares the next result-set from multi_query() | MySQLi Functions |
421 | options() | Sets extra connect options and affect behavior for a connection | MySQLi Functions |
422 | ping() | Pings a server connection, or tries to reconnect if the connection has gone down | MySQLi Functions |
423 | poll() | Polls connections | MySQLi Functions |
424 | prepare() | Prepares an SQL statement for execution | MySQLi Functions |
425 | query() | Performs a query against a database | MySQLi Functions |
426 | real_connect() | Opens a new connection to the MySQL server | MySQLi Functions |
427 | real_escape_string() | Escapes special characters in a string for use in an SQL statement | MySQLi Functions |
428 | real_query() | Executes a single SQL query | MySQLi Functions |
429 | reap_async_query() | Returns result from an async SQL query | MySQLi Functions |
430 | refresh() | Refreshes/flushes tables or caches, or resets the replication server information | MySQLi Functions |
431 | rollback() | Rolls back the current transaction for the database | MySQLi Functions |
432 | select_db() | Select the default database for database queries | MySQLi Functions |
433 | set_charset() | Sets the default client character set | MySQLi Functions |
434 | set_local_infile_default() | Unsets user defined handler for load local infile command | MySQLi Functions |
435 | set_local_infile_handler() | Set callback function for LOAD DATA LOCAL INFILE command | MySQLi Functions |
436 | sqlstate() | Returns the SQLSTATE error code for the error | MySQLi Functions |
437 | ssl_set() | Used to establish secure connections using SSL | MySQLi Functions |
438 | stat() | Returns the current system status | MySQLi Functions |
439 | stmt_init() | Initializes a statement and returns an object for use with stmt_prepare() | MySQLi Functions |
440 | store_result() | Transfers a result-set from the last query | MySQLi Functions |
441 | thread_id() | Returns the thread ID for the current connection | MySQLi Functions |
442 | thread_safe() | Returns whether the client library is compiled as thread-safe | MySQLi Functions |
443 | use_result() | Initiates the retrieval of a result-set from the last query executed | MySQLi Functions |
444 | warning_count() | Returns the number of warnings from the last query in the connection | MySQLi Functions |
445 | checkdnsrr() | Checks DNS records for type corresponding to host | Network Functions |
446 | closelog() | Closes the connection of system logger | Network Functions |
447 | define_syslog_variables() | Deprecated and removed in PHP 5.4. Initializes the variables used in syslog functions | Network Functions |
448 | dns_check_record() | Alias of checkdnsrr() | Network Functions |
449 | dns_get_mx() | Alias of getmxrr() | Network Functions |
450 | dns_get_record() | Gets the DNS resource records associated with the specified hostname | Network Functions |
451 | fsockopen() | Opens an Internet or Unix domain socket connection | Network Functions |
452 | gethostbyaddr() | Returns the domain name for a given IP address | Network Functions |
453 | gethostbyname() | Returns the IPv4 address for a given domain/host name | Network Functions |
454 | gethostbynamel() | Returns a list of IPv4 address for a given domain/host name | Network Functions |
455 | gethostname() | Returns the host name | Network Functions |
456 | getmxrr() | Returns the MX records for the specified internet host name | Network Functions |
457 | getprotobyname() | Returns the protocol number for a given protocol name | Network Functions |
458 | getprotobynumber() | Returns the protocol name for a given protocol number | Network Functions |
459 | getservbyname() | Returns the port number for a given Internet service and protocol | Network Functions |
460 | getservbyport() | Returns the Internet service for a given port and protocol | Network Functions |
461 | header_register_callback() | Calls a header function | Network Functions |
462 | header_remove() | Removes an HTTP header previously set with the header() function | Network Functions |
463 | header() | Sends a raw HTTP header to a client | Network Functions |
464 | headers_list() | Returns a list of response headers to be sent to the browser | Network Functions |
465 | headers_sent() | Checks if/where headers have been sent | Network Functions |
466 | http_response_code() | Sets or returns the HTTP response status code | Network Functions |
467 | inet_ntop() | Converts a 32bit IPv4 or 128bit IPv6 address into a readable format | Network Functions |
468 | inet_pton() | Converts a readable IP address into a packed 32bit IPv4 or 128bit IPv6 format | Network Functions |
469 | ip2long() | Converts an IPv4 address into a long integer | Network Functions |
470 | long2ip() | Converts a long integer address into a string in IPv4 format | Network Functions |
471 | openlog() | Opens the connection of system logger | Network Functions |
472 | pfsockopen() | Opens a persistent Internet or Unix domain socket connection | Network Functions |
473 | setcookie() | Defines a cookie to be sent along with the rest of the HTTP headers | Network Functions |
474 | setrawcookie() | Defines a cookie (without URL encoding) to be sent along with the rest of the HTTP headers | Network Functions |
475 | socket_get_status() | Alias of stream_get_meta_data() | Network Functions |
476 | socket_set_blocking() | Alias of stream_set_blocking() | Network Functions |
477 | socket_set_timeout() | Alias of stream_set_timeout() | Network Functions |
478 | syslog() | Generates a system log message | Network Functions |
479 | __construct() | Creates a new SimpleXMLElement object | SimpleXML Functions |
480 | __toString() | Returns the string content of an element | SimpleXML Functions |
481 | addAttribute() | Appends an attribute to the SimpleXML element | SimpleXML Functions |
482 | addChild() | Appends a child element the SimpleXML element | SimpleXML Functions |
483 | asXML() | Returns a well-formed XML string (XML version 1.0) from a SimpleXML object | SimpleXML Functions |
484 | attributes() | Returns the attributes/values of an element | SimpleXML Functions |
485 | children() | Returns the children of a specified node | SimpleXML Functions |
486 | count() | Counts the children of a specified node | SimpleXML Functions |
487 | getDocNamespaces() | Returns the namespaces declared in document | SimpleXML Functions |
488 | getName() | Returns the name of an element | SimpleXML Functions |
489 | getNamespaces() | Returns the namespaces used in document | SimpleXML Functions |
490 | registerXPathNamespace() | Creates a namespace context for the next XPath query | SimpleXML Functions |
491 | saveXML() | Alias of asXML() | SimpleXML Functions |
492 | simplexml_import_dom() | Returns a SimpleXMLElement object from a DOM node | SimpleXML Functions |
493 | simplexml_load_file() | Converts an XML document to an object | SimpleXML Functions |
494 | simplexml_load_string() | Converts an XML string to an object | SimpleXML Functions |
495 | xpath() | Runs an XPath query on XML data | SimpleXML Functions |
496 | current() | Returns the current element | SimpleXML Iteration Functions |
497 | getChildren() | Returns the child elements of the current element | SimpleXML Iteration Functions |
498 | hasChildren() | Checks whether the current element has children | SimpleXML Iteration Functions |
499 | key() | Returns the XML tag name of the current element | SimpleXML Iteration Functions |
500 | next() | Moves to the next element | SimpleXML Iteration Functions |
501 | rewind() | Rewinds to the first element | SimpleXML Iteration Functions |
502 | valid() | Checks whether the current element is valid | SimpleXML Iteration Functions |
503 | set_socket_blocking() | Deprecated in PHP 5.4, and removed in PHP 7.0. Alias of stream_set_blocking() | Stream Functions |
504 | stream_bucket_prepend() | ||
505 | stream_context_create() | ||
506 | stream_context_get_default() | ||
507 | stream_context_get_options() | ||
508 | stream_context_get_params() | ||
509 | stream_context_set_default() | ||
510 | stream_context_set_options() | ||
511 | stream_context_set_params() | ||
512 | stream_copy_to_stream() | Copies data from one stream to another | |
513 | stream_filter_append() | Appends a filter to a stream | |
514 | stream_filter_prepend() | ||
515 | stream_filter_register() | ||
516 | stream_filter_remove() | ||
517 | stream_get_contents() | ||
518 | stream_get_filters() | ||
519 | stream_get_line() | ||
520 | stream_get_meta_data() | ||
521 | stream_get_transports() | ||
522 | stream_get_wrappers() | ||
523 | stream_is_local() | ||
524 | stream_isatty() | ||
525 | stream_notification_callback() | ||
526 | stream_register_wrapper() | Alias of stream_wrapper_register() | |
527 | stream_resolve_include_path() | ||
528 | stream_select() | ||
529 | stream_set_blocking() | ||
530 | stream_set_chunk_size() | ||
531 | stream_set_read_buffer() | ||
532 | stream_set_timeout() | ||
533 | stream_set_write_buffer() | ||
534 | stream_socket_accept() | ||
535 | stream_socket_client() | ||
536 | stream_socket_enable_crypto() | ||
537 | stream_socket_get_name() | ||
538 | stream_socket_pair() | ||
539 | stream_socket_recvfrom() | ||
540 | stream_socket_sendto() | ||
541 | stream_socket_server() | ||
542 | stream_socket_shutdown() | ||
543 | stream_supports_lock() | ||
544 | stream_wrapper_register() | ||
545 | stream_wrapper_restore() | ||
546 | stream_wrapper_unregister() | ||
547 | addcslashes() | Returns a string with backslashes in front of the specified characters | String Functions |
548 | addslashes() | Returns a string with backslashes in front of predefined characters | String Functions |
549 | bin2hex() | Converts a string of ASCII characters to hexadecimal values | String Functions |
550 | chop() | Removes whitespace or other characters from the right end of a string | String Functions |
551 | chr() | Returns a character from a specified ASCII value | String Functions |
552 | chunk_split() | Splits a string into a series of smaller parts | String Functions |
553 | convert_cyr_string() | Converts a string from one Cyrillic character-set to another | String Functions |
554 | convert_uudecode() | Decodes a uuencoded string | String Functions |
555 | convert_uuencode() | Encodes a string using the uuencode algorithm | String Functions |
556 | count_chars() | Returns information about characters used in a string | String Functions |
557 | crc32() | Calculates a 32-bit CRC for a string | String Functions |
558 | crypt() | One-way string hashing | String Functions |
559 | echo() | Outputs one or more strings | String Functions |
560 | explode() | Breaks a string into an array | String Functions |
561 | fprintf() | Writes a formatted string to a specified output stream | String Functions |
562 | get_html_translation_table() | Returns the translation table used by htmlspecialchars() and htmlentities() | String Functions |
563 | hebrev() | Converts Hebrew text to visual text | String Functions |
564 | hebrevc() | Converts Hebrew text to visual text and new lines (\n) into | String Functions |
565 | hex2bin() | Converts a string of hexadecimal values to ASCII characters | String Functions |
566 | html_entity_decode() | Converts HTML entities to characters | String Functions |
567 | htmlentities() | Converts characters to HTML entities | String Functions |
568 | htmlspecialchars_decode() | Converts some predefined HTML entities to characters | String Functions |
569 | htmlspecialchars() | Converts some predefined characters to HTML entities | String Functions |
570 | implode() | Returns a string from the elements of an array | String Functions |
571 | join() | Alias of implode() | String Functions |
572 | lcfirst() | Converts the first character of a string to lowercase | String Functions |
573 | levenshtein() | Returns the Levenshtein distance between two strings | String Functions |
574 | localeconv() | Returns locale numeric and monetary formatting information | String Functions |
575 | ltrim() | Removes whitespace or other characters from the left side of a string | String Functions |
576 | md5() | Calculates the MD5 hash of a string | String Functions |
577 | md5_file() | Calculates the MD5 hash of a file | String Functions |
578 | metaphone() | Calculates the metaphone key of a string | String Functions |
579 | money_format() | Returns a string formatted as a currency string | String Functions |
580 | nl_langinfo() | Returns specific local information | String Functions |
581 | nl2br() | Inserts HTML line breaks in front of each newline in a string | String Functions |
582 | number_format() | Formats a number with grouped thousands | String Functions |
583 | ord() | Returns the ASCII value of the first character of a string | String Functions |
584 | parse_str() | Parses a query string into variables | String Functions |
585 | print() | Outputs one or more strings | String Functions |
586 | printf() | Outputs a formatted string | String Functions |
587 | quoted_printable_decode() | Converts a quoted-printable string to an 8-bit string | String Functions |
588 | quoted_printable_encode() | Converts an 8-bit string to a quoted printable string | String Functions |
589 | quotemeta() | Quotes meta characters | String Functions |
590 | rtrim() | Removes whitespace or other characters from the right side of a string | String Functions |
591 | setlocale() | Sets locale information | String Functions |
592 | sha1() | Calculates the SHA-1 hash of a string | String Functions |
593 | sha1_file() | Calculates the SHA-1 hash of a file | String Functions |
594 | similar_text() | Calculates the similarity between two strings | String Functions |
595 | soundex() | Calculates the soundex key of a string | String Functions |
596 | sprintf() | Writes a formatted string to a variable | String Functions |
597 | sscanf() | Parses input from a string according to a format | String Functions |
598 | str_getcsv() | Parses a CSV string into an array | String Functions |
599 | str_ireplace() | Replaces some characters in a string (case-insensitive) | String Functions |
600 | str_pad() | Pads a string to a new length | String Functions |
601 | str_repeat() | Repeats a string a specified number of times | String Functions |
602 | str_replace() | Replaces some characters in a string (case-sensitive) | String Functions |
603 | str_rot13() | Performs the ROT13 encoding on a string | String Functions |
604 | str_shuffle() | Randomly shuffles all characters in a string | String Functions |
605 | str_split() | Splits a string into an array | String Functions |
606 | str_word_count() | Count the number of words in a string | String Functions |
607 | strcasecmp() | Compares two strings (case-insensitive) | String Functions |
608 | strchr() | Finds the first occurrence of a string inside another string (alias of strstr()) | String Functions |
609 | strcmp() | Compares two strings (case-sensitive) | String Functions |
610 | strcoll() | Compares two strings (locale based string comparison) | String Functions |
611 | strcspn() | Returns the number of characters found in a string before any part of some specified characters are found | String Functions |
612 | strip_tags() | Strips HTML and PHP tags from a string | String Functions |
613 | stripcslashes() | Unquotes a string quoted with addcslashes() | String Functions |
614 | stripslashes() | Unquotes a string quoted with addslashes() | String Functions |
615 | stripos() | Returns the position of the first occurrence of a string inside another string (case-insensitive) | String Functions |
616 | stristr() | Finds the first occurrence of a string inside another string (case-insensitive) | String Functions |
617 | strlen() | Returns the length of a string | String Functions |
618 | strnatcasecmp() | Compares two strings using a "natural order" algorithm (case-insensitive) | String Functions |
619 | strnatcmp() | Compares two strings using a "natural order" algorithm (case-sensitive) | String Functions |
620 | strncasecmp() | String comparison of the first n characters (case-insensitive) | String Functions |
621 | strncmp() | String comparison of the first n characters (case-sensitive) | String Functions |
622 | strpbrk() | Searches a string for any of a set of characters | String Functions |
623 | strpos() | Returns the position of the first occurrence of a string inside another string (case-sensitive) | String Functions |
624 | strrchr() | Finds the last occurrence of a string inside another string | String Functions |
625 | strrev() | Reverses a string | String Functions |
626 | strripos() | Finds the position of the last occurrence of a string inside another string (case-insensitive) | String Functions |
627 | strrpos() | Finds the position of the last occurrence of a string inside another string (case-sensitive) | String Functions |
628 | strspn() | Returns the number of characters found in a string that contains only characters from a specified charlist | String Functions |
629 | strstr() | Finds the first occurrence of a string inside another string (case-sensitive) | String Functions |
630 | strtok() | Splits a string into smaller strings | String Functions |
631 | strtolower() | Converts a string to lowercase letters | String Functions |
632 | strtoupper() | Converts a string to uppercase letters | String Functions |
633 | strtr() | Translates certain characters in a string | String Functions |
634 | substr() | Returns a part of a string | String Functions |
635 | substr_compare() | Compares two strings from a specified start position (binary safe and optionally case-sensitive) | String Functions |
636 | substr_count() | Counts the number of times a substring occurs in a string | String Functions |
637 | substr_replace() | Replaces a part of a string with another string | String Functions |
638 | trim() | Removes whitespace or other characters from both sides of a string | String Functions |
639 | ucfirst() | Converts the first character of a string to uppercase | String Functions |
640 | ucwords() | Converts the first character of each word in a string to uppercase | String Functions |
641 | vfprintf() | Writes a formatted string to a specified output stream | String Functions |
642 | vprintf() | Outputs a formatted string | String Functions |
643 | vsprintf() | Writes a formatted string to a variable | String Functions |
644 | wordwrap() | Wraps a string to a given number of characters | String Functions |
645 | boolval() | Returns the boolean value of a variable | Variable Handling Functions |
646 | debug_zval_dump() | Dumps a string representation of an internal zend value to output | Variable Handling Functions |
647 | doubleval() | Alias of floatval() | Variable Handling Functions |
648 | empty() | Checks whether a variable is empty | Variable Handling Functions |
649 | floatval() | Returns the float value of a variable | Variable Handling Functions |
650 | get_defined_vars() | Returns all defined variables, as an array | Variable Handling Functions |
651 | get_resource_type() | Returns the type of a resource | Variable Handling Functions |
652 | gettype() | Returns the type of a variable | Variable Handling Functions |
653 | intval() | Returns the integer value of a variable | Variable Handling Functions |
654 | is_array() | Checks whether a variable is an array | Variable Handling Functions |
655 | is_bool() | Checks whether a variable is a boolean | Variable Handling Functions |
656 | is_callable() | Checks whether the contents of a variable can be called as a function | Variable Handling Functions |
657 | is_countable() | Checks whether the contents of a variable is a countable value | Variable Handling Functions |
658 | is_double() | Alias of is_float() | Variable Handling Functions |
659 | is_float() | Checks whether a variable is of type float | Variable Handling Functions |
660 | is_int() | Checks whether a variable is of type integer | Variable Handling Functions |
661 | is_integer() | Alias of is_int() | Variable Handling Functions |
662 | is_iterable() | Checks whether the contents of a variable is an iterable value | Variable Handling Functions |
663 | is_long() | Alias of is_int() | Variable Handling Functions |
664 | is_null() | Checks whether a variable is NULL | Variable Handling Functions |
665 | is_numeric() | Checks whether a variable is a number or a numeric string | Variable Handling Functions |
666 | is_object() | Checks whether a variable is an object | Variable Handling Functions |
667 | is_real() | Alias of is_float() | Variable Handling Functions |
668 | is_resource() | Checks whether a variable is a resource | Variable Handling Functions |
669 | is_scalar() | Checks whether a variable is a scalar | Variable Handling Functions |
670 | is_string() | Checks whether a variable is of type string | Variable Handling Functions |
671 | isset() | Checks whether a variable is set (declared and not NULL) | Variable Handling Functions |
672 | print_r() | Prints the information about a variable in a human-readable way | Variable Handling Functions |
673 | serialize() | Converts a storable representation of a value | Variable Handling Functions |
674 | settype() | Converts a variable to a specific type | Variable Handling Functions |
675 | strval() | Returns the string value of a variable | Variable Handling Functions |
676 | unserialize() | Converts serialized data back into actual data | Variable Handling Functions |
677 | unset() | Unsets a variable | Variable Handling Functions |
678 | var_dump() | Dumps information about one or more variables | Variable Handling Functions |
679 | var_export() | Returns structured information (valid PHP code) about a variable | Variable Handling Functions |
680 | utf8_decode() | Decodes an UTF-8 string to ISO-8859-1 | XML Parser Functions |
681 | utf8_encode() | Encodes an ISO-8859-1 string to UTF-8 | XML Parser Functions |
682 | xml_error_string() | Returns an error string from the XML parser | XML Parser Functions |
683 | xml_get_current_byte_index() | Returns the current byte index from the XML parser | XML Parser Functions |
684 | xml_get_current_column_number() | Returns the current column number from the XML parser | XML Parser Functions |
685 | xml_get_current_line_number() | Returns the current line number from the XML parser | XML Parser Functions |
686 | xml_get_error_code() | Returns an error code from the XML parser | XML Parser Functions |
687 | xml_parse() | Parses an XML document | XML Parser Functions |
688 | xml_parse_into_struct() | Parses XML data into an array | XML Parser Functions |
689 | xml_parser_create_ns() | Creates an XML parser with namespace support | XML Parser Functions |
690 | xml_parser_create() | Creates an XML parser | XML Parser Functions |
691 | xml_parser_free() | Frees an XML parser | XML Parser Functions |
692 | xml_parser_get_option() | Returns options from an XML parser | XML Parser Functions |
693 | xml_parser_set_option() | Sets options in an XML parser | XML Parser Functions |
694 | xml_set_character_data_handler() | Sets up the character data handler for the XML parser | XML Parser Functions |
695 | xml_set_default_handler() | Sets up the default data handler for the XML parser | XML Parser Functions |
696 | xml_set_element_handler() | Sets up start and end element handlers for the XML parser | XML Parser Functions |
697 | xml_set_end_namespace_decl_handler() | Sets up the end namespace declaration handler | XML Parser Functions |
698 | xml_set_external_entity_ref_handler() | Sets up the external entity reference handler for the XML parser | XML Parser Functions |
699 | xml_set_notation_decl_handler() | Sets up notation declaration handler for the XML parser | XML Parser Functions |
700 | xml_set_object() | Allows to use XML parser within an object | XML Parser Functions |
701 | xml_set_processing_instruction_handler() | Sets up processing instruction handler | XML Parser Functions |
702 | xml_set_start_namespace_decl_handler() | Sets up the start namespace declaration handler | XML Parser Functions |
703 | xml_set_unparsed_entity_decl_handler() | Sets handler function for unparsed entity declarations | XML Parser Functions |
704 | zip_close() | Closes a ZIP file archive | Zip Functions |
705 | zip_entry_close() | Closes a ZIP directory entry | Zip Functions |
706 | zip_entry_compressedsize() | Returns the compressed file size of a ZIP directory entry | Zip Functions |
707 | zip_entry_compressionmethod() | Returns the compression method of a ZIP directory entry | Zip Functions |
708 | zip_entry_filesize() | Returns the actual file size of a ZIP directory entry | Zip Functions |
709 | zip_entry_name() | Returns the name of a ZIP directory entry | Zip Functions |
710 | zip_entry_open() | Opens a directory entry in a ZIP file for reading | Zip Functions |
711 | zip_entry_read() | Reads from an open directory entry in the ZIP file | Zip Functions |
712 | zip_open() | Opens a ZIP file archive | Zip Functions |
713 | zip_read() | Reads the next file in a open ZIP file archive | Zip Functions |
PHP Constants
Results: 307
ID | PHP Constant | Type | Resource |
---|---|---|---|
1 | Constant | Type | Predefined Calendar Constants |
2 | CAL_GREGORIAN | Integer | Predefined Calendar Constants |
3 | CAL_JULIAN | Integer | Predefined Calendar Constants |
4 | CAL_JEWISH | Integer | Predefined Calendar Constants |
5 | CAL_FRENCH | Integer | Predefined Calendar Constants |
6 | CAL_NUM_CALS | Integer | Predefined Calendar Constants |
7 | CAL_DOW_DAYNO | Integer | Predefined Calendar Constants |
8 | CAL_DOW_SHORT | Integer | Predefined Calendar Constants |
9 | CAL_DOW_LONG | Integer | Predefined Calendar Constants |
10 | CAL_MONTH_GREGORIAN_SHORT | Integer | Predefined Calendar Constants |
11 | CAL_MONTH_GREGORIAN_LONG | Integer | Predefined Calendar Constants |
12 | CAL_MONTH_JULIAN_SHORT | Integer | Predefined Calendar Constants |
13 | CAL_MONTH_JULIAN_LONG | Integer | Predefined Calendar Constants |
14 | CAL_MONTH_JEWISH | Integer | Predefined Calendar Constants |
15 | CAL_MONTH_FRENCH | Integer | Predefined Calendar Constants |
16 | CAL_EASTER_DEFAULT | Integer | Predefined Calendar Constants |
17 | CAL_EASTER_ROMAN | Integer | Predefined Calendar Constants |
18 | CAL_EASTER_ALWAYS_GREGORIAN | Integer | Predefined Calendar Constants |
19 | CAL_EASTER_ALWAYS_JULIAN | Integer | Predefined Calendar Constants |
20 | CAL_JEWISH_ADD_ALAFIM_GERESH | Integer | Predefined Calendar Constants |
21 | CAL_JEWISH_ADD_ALAFIM | Integer | Predefined Calendar Constants |
22 | CAL_JEWISH_ADD_GERESHAYIM | Integer | Predefined Calendar Constants |
23 | DATE_ATOM | Atom (example: 2019-01-18T14:13:03+00:00) | Predefined Date/Time Constants |
24 | DATE_COOKIE | HTTP Cookies (example: Fri, 18 Jan 2019 14:13:03 UTC) | Predefined Date/Time Constants |
25 | DATE_ISO8601 | ISO-8601 (example: 2019-01-18T14:13:03+0000) | Predefined Date/Time Constants |
26 | DATE_RFC822 | RFC 822 (example: Fri, 18 Jan 2019 14:13:03 +0000) | Predefined Date/Time Constants |
27 | DATE_RFC850 | RFC 850 (example: Friday, 18-Jan-19 14:13:03 UTC) | Predefined Date/Time Constants |
28 | DATE_RFC1036 | RFC 1036 (example: Friday, 18-Jan-19 14:13:03 +0000) | Predefined Date/Time Constants |
29 | DATE_RFC1123 | RFC 1123 (example: Fri, 18 Jan 2019 14:13:03 +0000) | Predefined Date/Time Constants |
30 | DATE_RFC2822 | RFC 2822 (example: Fri, 18 Jan 2019 14:13:03 +0000) | Predefined Date/Time Constants |
31 | DATE_RFC3339 | Same as DATE_ATOM (since PHP 5.1.3) | Predefined Date/Time Constants |
32 | DATE_RFC3339_EXTENDED | RFC3339 Extended format (since PHP 7.0.0) (example: 2019-01-18T16:34:01.000+00:00) | Predefined Date/Time Constants |
33 | DATE_RSS | RSS (Fri, 18 Jan 2019 14:13:03 +0000) | Predefined Date/Time Constants |
34 | DATE_W3C | World Wide Web Consortium (example: 2019-01-18T14:13:03+00:00) | Predefined Date/Time Constants |
35 | SUNFUNCS_RET_TIMESTAMP | Timestamp (since PHP 5.1.2) | Predefined Date/Time Constants |
36 | SUNFUNCS_RET_STRING | Hours:minutes (example: 09:41) (since PHP 5.1.2) | Predefined Date/Time Constants |
37 | SUNFUNCS_RET_DOUBLE | Hours as a floating point number (example: 9.75) (since PHP 5.1.2) | Predefined Date/Time Constants |
38 | E_ERROR | Fatal run-time errors. Errors that cannot be recovered from. Execution of the script is halted | Predefined Error and Logging Constants |
39 | E_WARNING | Run-time warnings (non-fatal errors). Execution of the script is not halted | Predefined Error and Logging Constants |
40 | E_PARSE | Compile-time parse errors. Parse errors should only be generated by the parser | Predefined Error and Logging Constants |
41 | E_NOTICE | Run-time notices. The script found something that might be an error, but could also happen when running a script normally | Predefined Error and Logging Constants |
42 | E_CORE_ERROR | Fatal errors at PHP startup. This is like E_ERROR, except it is generated by the core of PHP | Predefined Error and Logging Constants |
43 | E_CORE_WARNING | Non-fatal errors at PHP startup. This is like E_WARNING, except it is generated by the core of PHP | Predefined Error and Logging Constants |
44 | E_COMPILE_ERROR | Fatal compile-time errors. This is like E_ERROR, except it is generated by the Zend Scripting Engine | Predefined Error and Logging Constants |
45 | E_COMPILE_WARNING | Non-fatal compile-time errors. This is like E_WARNING, except it is generated by the Zend Scripting Engine | Predefined Error and Logging Constants |
46 | E_USER_ERROR | Fatal user-generated error. This is like E_ERROR, except it is generated in PHP code by using the PHP function trigger_error() | Predefined Error and Logging Constants |
47 | E_USER_WARNING | Non-fatal user-generated warning. This is like E_WARNING, except it is generated in PHP code by using the PHP function trigger_error() | Predefined Error and Logging Constants |
48 | E_USER_NOTICE | User-generated notice. This is like E_NOTICE, except it is generated in PHP code by using the PHP function trigger_error() | Predefined Error and Logging Constants |
49 | E_STRICT | Enable to have PHP suggest changes to your code which will ensure the best interoperability and forward compatibility of your code (Since PHP 5 but not included in E_ALL until PHP 5.4) | Predefined Error and Logging Constants |
50 | E_RECOVERABLE_ERROR | Catchable fatal error. Indicates that a probably dangerous error occurred, but did not leave the Engine in an unstable state. If the error is not caught by a user defined handle, the application aborts as it was an E_ERROR (Since PHP 5.2) | Predefined Error and Logging Constants |
51 | E_DEPRECATED | Run-time notices. Enable this to receive warnings about code that will not work in future versions (Since PHP 5.3) | Predefined Error and Logging Constants |
52 | E_USER_DEPRECATED | User-generated warning message. This is like E_DEPRECATED, except it is generated in PHP code by using the PHP function trigger_error() (Since PHP 5.3) | Predefined Error and Logging Constants |
53 | E_ALL | Enable all PHP errors and warnings (except E_STRICT in versions < 5.4) | Predefined Error and Logging Constants |
54 | INPUT_POST | POST variables | PHP Predefined Filter Constants |
55 | INPUT_GET | GET variables | PHP Predefined Filter Constants |
56 | INPUT_COOKIE | COOKIE variables | PHP Predefined Filter Constants |
57 | INPUT_ENV | ENV variables | PHP Predefined Filter Constants |
58 | INPUT_SERVER | SERVER variables | PHP Predefined Filter Constants |
59 | FILTER_DEFAULT | Do nothing, optionally strip/encode special characters. Equivalent to FILTER_UNSAFE_RAW | PHP Predefined Filter Constants |
60 | FILTER_FLAG_NONE | Allows no flags | PHP Predefined Filter Constants |
61 | FILTER_FLAG_ALLOW_OCTAL | Only for inputs that starts with a zero (0) as octal numbers. This only allows the succeeding digits to be 0-7 | PHP Predefined Filter Constants |
62 | FILTER_FLAG_ALLOW_HEX | Only for inputs that starts with 0x/0X as hexadecimal numbers. This only allows succeeding characters to be a-fA-F0-9 | PHP Predefined Filter Constants |
63 | FILTER_FLAG_STRIP_LOW | Strip characters with ASCII value lower than 32 | PHP Predefined Filter Constants |
64 | FILTER_FLAG_STRIP_HIGH | Strip characters with ASCII value greater than 127 | PHP Predefined Filter Constants |
65 | FILTER_FLAG_ENCODE_LOW | Encode characters with ASCII value lower than 32 | PHP Predefined Filter Constants |
66 | FILTER_FLAG_ENCODE_HIGH | Encode characters with ASCII value greater than 127 | PHP Predefined Filter Constants |
67 | FILTER_FLAG_ENCODE_AMP | Encode & | PHP Predefined Filter Constants |
68 | FILTER_FLAG_NO_ENCODE_QUOTES | Do not encode ' and " | PHP Predefined Filter Constants |
69 | FILTER_FLAG_EMPTY_STRING_NULL | Not in use | PHP Predefined Filter Constants |
70 | FILTER_FLAG_ALLOW_FRACTION | Allows a period (.) as a fractional separator in numbers | PHP Predefined Filter Constants |
71 | FILTER_FLAG_ALLOW_THOUSAND | Allows a comma (,) as a thousands separator in numbers | PHP Predefined Filter Constants |
72 | FILTER_FLAG_ALLOW_SCIENTIFIC | Allows an e or E for scientific notation in numbers | PHP Predefined Filter Constants |
73 | FILTER_FLAG_PATH_REQUIRED | The URL must contain a path part | PHP Predefined Filter Constants |
74 | FILTER_FLAG_QUERY_REQUIRED | The URL must contain a query string | PHP Predefined Filter Constants |
75 | FILTER_FLAG_IPV4 | Allows the IP address to be in IPv4 format | PHP Predefined Filter Constants |
76 | FILTER_FLAG_IPV6 | Allows the IP address to be in IPv6 format | PHP Predefined Filter Constants |
77 | FILTER_FLAG_NO_RES_RANGE | Fails validation for the reserved IPv4 ranges: 0.0.0.0/8, 169.254.0.0/16, 127.0.0.0/8 and 240.0.0.0/4, and for the reserved IPv6 ranges: ::1/128, ::/128, ::ffff:0:0/96 and fe80::/10 | PHP Predefined Filter Constants |
78 | FILTER_FLAG_NO_PRIV_RANGE | Fails validation for the private IPv4 ranges: 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16, and for the IPv6 addresses starting with FD or FC | PHP Predefined Filter Constants |
79 | FILTER_FLAG_EMAIL_UNICODE | Allows the local part of the email address to contain Unicode characters | PHP Predefined Filter Constants |
80 | FILTER_REQUIRE_SCALAR | The value must be a scalar | PHP Predefined Filter Constants |
81 | FILTER_REQUIRE_ARRAY | The value must be an array | PHP Predefined Filter Constants |
82 | FILTER_FORCE_ARRAY | Treats a scalar value as array with the scalar value as only element | PHP Predefined Filter Constants |
83 | FILTER_NULL_ON_FAILURE | Return NULL on failure for unrecognized boolean values | PHP Predefined Filter Constants |
84 | FILTER_VALIDATE_BOOLEAN | Validates a boolean | PHP Predefined Filter Constants |
85 | FILTER_VALIDATE_EMAIL | Validates value as a valid e-mail address | PHP Predefined Filter Constants |
86 | FILTER_VALIDATE_FLOAT | Validates value as float | PHP Predefined Filter Constants |
87 | FILTER_VALIDATE_INT | Validates value as integer | PHP Predefined Filter Constants |
88 | FILTER_VALIDATE_IP | Validates value as IP address | PHP Predefined Filter Constants |
89 | FILTER_VALIDATE_MAC | Validates value as MAC address | PHP Predefined Filter Constants |
90 | FILTER_VALIDATE_REGEXP | Validates value against a regular expression | PHP Predefined Filter Constants |
91 | FILTER_VALIDATE_URL | Validates value as URL | PHP Predefined Filter Constants |
92 | FILTER_SANITIZE_EMAIL | Removes all illegal characters from an e-mail address | PHP Predefined Filter Constants |
93 | FILTER_SANITIZE_ENCODED | Removes/Encodes special characters | PHP Predefined Filter Constants |
94 | FILTER_SANITIZE_MAGIC_QUOTES | Apply addslashes() | PHP Predefined Filter Constants |
95 | FILTER_SANITIZE_NUMBER_FLOAT | Remove all characters, except digits, +- signs, and optionally .,eE | PHP Predefined Filter Constants |
96 | FILTER_SANITIZE_NUMBER_INT | Removes all characters except digits and + - signs | PHP Predefined Filter Constants |
97 | FILTER_SANITIZE_SPECIAL_CHARS | Removes special characters | PHP Predefined Filter Constants |
98 | FILTER_SANITIZE_STRING | Removes tags/special characters from a string | PHP Predefined Filter Constants |
99 | FILTER_SANITIZE_STRIPPED | Alias of FILTER_SANITIZE_STRING | PHP Predefined Filter Constants |
100 | FILTER_SANITIZE_URL | Removes all illegal character from s URL | PHP Predefined Filter Constants |
101 | FILTER_UNSAFE_RAW | Do nothing, optionally strip/encode special characters | PHP Predefined Filter Constants |
102 | FILTER_CALLBACK | Call a user-defined function to filter data | PHP Predefined Filter Constants |
103 | FTP_ASCII | Integer | Predefined FTP Constants |
104 | FTP_AUTOSEEK | Integer | Predefined FTP Constants |
105 | FTP_AUTORESUME | Integer | Predefined FTP Constants |
106 | FTP_BINARY | Integer | Predefined FTP Constants |
107 | FTP_FAILED | Integer | Predefined FTP Constants |
108 | FTP_FINISHED | Integer | Predefined FTP Constants |
109 | FTP_IMAGE | Integer | Predefined FTP Constants |
110 | FTP_MOREDATA | Integer | Predefined FTP Constants |
111 | FTP_TEXT | Integer | Predefined FTP Constants |
112 | FTP_TIMEOUT_SEC | Integer | Predefined FTP Constants |
113 | FTP_USEPASVADDRESS | Boolean | Predefined FTP Constants |
114 | JSON_ERROR_NONE | Integer | Predefined JSON Constants |
115 | JSON_ERROR_DEPTH | Integer | Predefined JSON Constants |
116 | JSON_ERROR_STATE_MISMATCH | Integer | Predefined JSON Constants |
117 | JSON_ERROR_CTRL_CHAR | Integer | Predefined JSON Constants |
118 | JSON_ERROR_SYNTAX | Integer | Predefined JSON Constants |
119 | JSON_ERROR_UTF8 | Integer | Predefined JSON Constants |
120 | JSON_ERROR_RECURSION | Integer | Predefined JSON Constants |
121 | JSON_ERROR_INF_OR_NAN | Integer | Predefined JSON Constants |
122 | JSON_ERROR_UNSUPPORTED_TYPE | Integer | Predefined JSON Constants |
123 | JSON_ERROR_INVALID_PROPERTY_NAME | Integer | Predefined JSON Constants |
124 | JSON_ERROR_UTF16 | Integer | Predefined JSON Constants |
125 | JSON_BIGINT_AS_STRING | Integer | Predefined JSON Constants |
126 | JSON_OBJECT_AS_ARRAY | Integer | Predefined JSON Constants |
127 | JSON_HEX_TAG | Integer | Predefined JSON Constants |
128 | JSON_HEX_AMP | Integer | Predefined JSON Constants |
129 | JSON_HEX_APOS | Integer | Predefined JSON Constants |
130 | JSON_HEX_QUOT | Integer | Predefined JSON Constants |
131 | JSON_FORCE_OBJECT | Integer | Predefined JSON Constants |
132 | JSON_NUMERIC_CHECK | Integer | Predefined JSON Constants |
133 | JSON_PRETTY_PRINT | Integer | Predefined JSON Constants |
134 | JSON_UNESCAPED_SLASHES | Integer | Predefined JSON Constants |
135 | JSON_PARTIAL_OUTPUT_ON_ERROR | Integer | Predefined JSON Constants |
136 | JSON_PRESERVE_ZERO_FRACTION | Integer | Predefined JSON Constants |
137 | JSON_UNESCAPED_LINE_TERMINATORS | Integer | Predefined JSON Constants |
138 | JSON_INVALID_UTF8_IGNORE | Integer | Predefined JSON Constants |
139 | JSON_INVALID_UTF8_SUBSTITUTE | Integer | Predefined JSON Constants |
140 | JSON_THROWN_ON_ERROR | Integer | Predefined JSON Constants |
141 | INPUT_POST | POST variables | Predefined Filter Constants |
142 | INPUT_GET | GET variables | Predefined Filter Constants |
143 | INPUT_COOKIE | COOKIE variables | Predefined Filter Constants |
144 | INPUT_ENV | ENV variables | Predefined Filter Constants |
145 | INPUT_SERVER | SERVER variables | Predefined Filter Constants |
146 | FILTER_DEFAULT | Do nothing, optionally strip/encode special characters. Equivalent to FILTER_UNSAFE_RAW | Predefined Filter Constants |
147 | FILTER_FLAG_NONE | Allows no flags | Predefined Filter Constants |
148 | FILTER_FLAG_ALLOW_OCTAL | Only for inputs that starts with a zero (0) as octal numbers. This only allows the succeeding digits to be 0-7 | Predefined Filter Constants |
149 | FILTER_FLAG_ALLOW_HEX | Only for inputs that starts with 0x/0X as hexadecimal numbers. This only allows succeeding characters to be a-fA-F0-9 | Predefined Filter Constants |
150 | FILTER_FLAG_STRIP_LOW | Strip characters with ASCII value lower than 32 | Predefined Filter Constants |
151 | FILTER_FLAG_STRIP_HIGH | Strip characters with ASCII value greater than 127 | Predefined Filter Constants |
152 | FILTER_FLAG_ENCODE_LOW | Encode characters with ASCII value lower than 32 | Predefined Filter Constants |
153 | FILTER_FLAG_ENCODE_HIGH | Encode characters with ASCII value greater than 127 | Predefined Filter Constants |
154 | FILTER_FLAG_ENCODE_AMP | Encode & | Predefined Filter Constants |
155 | FILTER_FLAG_NO_ENCODE_QUOTES | Do not encode ' and " | Predefined Filter Constants |
156 | FILTER_FLAG_EMPTY_STRING_NULL | Not in use | Predefined Filter Constants |
157 | FILTER_FLAG_ALLOW_FRACTION | Allows a period (.) as a fractional separator in numbers | Predefined Filter Constants |
158 | FILTER_FLAG_ALLOW_THOUSAND | Allows a comma (,) as a thousands separator in numbers | Predefined Filter Constants |
159 | FILTER_FLAG_ALLOW_SCIENTIFIC | Allows an e or E for scientific notation in numbers | Predefined Filter Constants |
160 | FILTER_FLAG_PATH_REQUIRED | The URL must contain a path part | Predefined Filter Constants |
161 | FILTER_FLAG_QUERY_REQUIRED | The URL must contain a query string | Predefined Filter Constants |
162 | FILTER_FLAG_IPV4 | Allows the IP address to be in IPv4 format | Predefined Filter Constants |
163 | FILTER_FLAG_IPV6 | Allows the IP address to be in IPv6 format | Predefined Filter Constants |
164 | FILTER_FLAG_NO_RES_RANGE | Fails validation for the reserved IPv4 ranges: 0.0.0.0/8, 169.254.0.0/16, 127.0.0.0/8 and 240.0.0.0/4, and for the reserved IPv6 ranges: ::1/128, ::/128, ::ffff:0:0/96 and fe80::/10 | Predefined Filter Constants |
165 | FILTER_FLAG_NO_PRIV_RANGE | Fails validation for the private IPv4 ranges: 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16, and for the IPv6 addresses starting with FD or FC | Predefined Filter Constants |
166 | FILTER_FLAG_EMAIL_UNICODE | Allows the local part of the email address to contain Unicode characters | Predefined Filter Constants |
167 | FILTER_REQUIRE_SCALAR | The value must be a scalar | Predefined Filter Constants |
168 | FILTER_REQUIRE_ARRAY | The value must be an array | Predefined Filter Constants |
169 | FILTER_FORCE_ARRAY | Treats a scalar value as array with the scalar value as only element | Predefined Filter Constants |
170 | FILTER_NULL_ON_FAILURE | Return NULL on failure for unrecognized boolean values | Predefined Filter Constants |
171 | FILTER_VALIDATE_BOOLEAN | Validates a boolean | Predefined Filter Constants |
172 | FILTER_VALIDATE_EMAIL | Validates value as a valid e-mail address | Predefined Filter Constants |
173 | FILTER_VALIDATE_FLOAT | Validates value as float | Predefined Filter Constants |
174 | FILTER_VALIDATE_INT | Validates value as integer | Predefined Filter Constants |
175 | FILTER_VALIDATE_IP | Validates value as IP address | Predefined Filter Constants |
176 | FILTER_VALIDATE_MAC | Validates value as MAC address | Predefined Filter Constants |
177 | FILTER_VALIDATE_REGEXP | Validates value against a regular expression | Predefined Filter Constants |
178 | FILTER_VALIDATE_URL | Validates value as URL | Predefined Filter Constants |
179 | FILTER_SANITIZE_EMAIL | Removes all illegal characters from an e-mail address | Predefined Filter Constants |
180 | FILTER_SANITIZE_ENCODED | Removes/Encodes special characters | Predefined Filter Constants |
181 | FILTER_SANITIZE_MAGIC_QUOTES | Apply addslashes() | Predefined Filter Constants |
182 | FILTER_SANITIZE_NUMBER_FLOAT | Remove all characters, except digits, +- signs, and optionally .,eE | Predefined Filter Constants |
183 | FILTER_SANITIZE_NUMBER_INT | Removes all characters except digits and + - signs | Predefined Filter Constants |
184 | FILTER_SANITIZE_SPECIAL_CHARS | Removes special characters | Predefined Filter Constants |
185 | FILTER_SANITIZE_STRING | Removes tags/special characters from a string | Predefined Filter Constants |
186 | FILTER_SANITIZE_STRIPPED | Alias of FILTER_SANITIZE_STRING | Predefined Filter Constants |
187 | FILTER_SANITIZE_URL | Removes all illegal character from s URL | Predefined Filter Constants |
188 | FILTER_UNSAFE_RAW | Do nothing, optionally strip/encode special characters | Predefined Filter Constants |
189 | FILTER_CALLBACK | Call a user-defined function to filter data | Predefined Filter Constants |
190 | FTP_ASCII | Integer | FTP Constants |
191 | FTP_AUTOSEEK | Integer | FTP Constants |
192 | FTP_AUTORESUME | Integer | FTP Constants |
193 | FTP_BINARY | Integer | FTP Constants |
194 | FTP_FAILED | Integer | FTP Constants |
195 | FTP_FINISHED | Integer | FTP Constants |
196 | FTP_IMAGE | Integer | FTP Constants |
197 | FTP_MOREDATA | Integer | FTP Constants |
198 | FTP_TEXT | Integer | FTP Constants |
199 | FTP_TIMEOUT_SEC | Integer | FTP Constants |
200 | FTP_USEPASVADDRESS | Boolean | FTP Constants |
201 | JSON_ERROR_NONE | Integer | Predefined JSON Constants |
202 | JSON_ERROR_DEPTH | Integer | Predefined JSON Constants |
203 | JSON_ERROR_STATE_MISMATCH | Integer | Predefined JSON Constants |
204 | JSON_ERROR_CTRL_CHAR | Integer | Predefined JSON Constants |
205 | JSON_ERROR_SYNTAX | Integer | Predefined JSON Constants |
206 | JSON_ERROR_UTF8 | Integer | Predefined JSON Constants |
207 | JSON_ERROR_RECURSION | Integer | Predefined JSON Constants |
208 | JSON_ERROR_INF_OR_NAN | Integer | Predefined JSON Constants |
209 | JSON_ERROR_UNSUPPORTED_TYPE | Integer | Predefined JSON Constants |
210 | JSON_ERROR_INVALID_PROPERTY_NAME | Integer | Predefined JSON Constants |
211 | JSON_ERROR_UTF16 | Integer | Predefined JSON Constants |
212 | JSON_BIGINT_AS_STRING | Integer | Predefined JSON Constants |
213 | JSON_OBJECT_AS_ARRAY | Integer | Predefined JSON Constants |
214 | JSON_HEX_TAG | Integer | Predefined JSON Constants |
215 | JSON_HEX_AMP | Integer | Predefined JSON Constants |
216 | JSON_HEX_APOS | Integer | Predefined JSON Constants |
217 | JSON_HEX_QUOT | Integer | Predefined JSON Constants |
218 | JSON_FORCE_OBJECT | Integer | Predefined JSON Constants |
219 | JSON_NUMERIC_CHECK | Integer | Predefined JSON Constants |
220 | JSON_PRETTY_PRINT | Integer | Predefined JSON Constants |
221 | JSON_UNESCAPED_SLASHES | Integer | Predefined JSON Constants |
222 | JSON_PARTIAL_OUTPUT_ON_ERROR | Integer | Predefined JSON Constants |
223 | JSON_PRESERVE_ZERO_FRACTION | Integer | Predefined JSON Constants |
224 | JSON_UNESCAPED_LINE_TERMINATORS | Integer | Predefined JSON Constants |
225 | JSON_INVALID_UTF8_IGNORE | Integer | Predefined JSON Constants |
226 | JSON_INVALID_UTF8_SUBSTITUTE | Integer | Predefined JSON Constants |
227 | JSON_THROWN_ON_ERROR | Integer | Predefined JSON Constants |
228 | LIBXML_BIGLINES | Make line numbers greater than 65535 to be reported correctly | Predefined libxml Constants |
229 | LIBXML_COMPACT | Set small nodes allocation optimization. This may improve the application performance | Predefined libxml Constants |
230 | LIBXML_DTDATTR | Set default DTD attributes | Predefined libxml Constants |
231 | LIBXML_DTDLOAD | Load external subset | Predefined libxml Constants |
232 | LIBXML_DTDVALID | Validate with the DTD | Predefined libxml Constants |
233 | LIBXML_HTML_NOIMPLIED | Set HTML_PARSE_NOIMPLIED flag. This turns off automatic adding of implied html/body elements | Predefined libxml Constants |
234 | LIBXML_HTML_NODEFDTD | Set HTML_PARSE_NODEFDTD flag. This prevents a default doctype to be added, if no doctype is found | Predefined libxml Constants |
235 | LIBXML_NOBLANKS | Remove blank nodes | Predefined libxml Constants |
236 | LIBXML_NOCDATA | Set CDATA as text nodes | Predefined libxml Constants |
237 | LIBXML_NOEMPTYTAG | Change empty tags (e.g. to ), only available in the DOMDocument->save() and DOMDocument->saveXML() functions | Predefined libxml Constants |
238 | LIBXML_NOENT | Substitute entities | Predefined libxml Constants |
239 | LIBXML_NOERROR | Do not show error reports | Predefined libxml Constants |
240 | LIBXML_NONET | Stop network access while loading documents | Predefined libxml Constants |
241 | LIBXML_NOWARNING | Do not show warning reports | Predefined libxml Constants |
242 | LIBXML_NOXMLDECL | Drop the XML declaration when saving a document | Predefined libxml Constants |
243 | LIBXML_NSCLEAN | Remove excess namespace declarations | Predefined libxml Constants |
244 | LIBXML_PARSEHUGE | Set XML_PARSE_HUGE flag. This relaxes any hardcoded limit from the parser, such as maximum depth of a document or the size of text nodes | Predefined libxml Constants |
245 | LIBXML_PEDANTIC | Set XML_PARSE_PEDANTIC flag. This enables pedantic error reporting | Predefined libxml Constants |
246 | LIBXML_XINCLUDE | Use XInclude substitution | Predefined libxml Constants |
247 | LIBXML_ERR_ERROR | Get recoverable errors | Predefined libxml Constants |
248 | LIBXML_ERR_FATAL | Get fatal errors | Predefined libxml Constants |
249 | LIBXML_ERR_NONE | Get no errors | Predefined libxml Constants |
250 | LIBXML_ERR_WARNING | Get simple warnings | Predefined libxml Constants |
251 | LIBXML_VERSION | Get libxml version (e.g. 20605 or 20617) | Predefined libxml Constants |
252 | LIBXML_DOTTED_VERSION | Get dotted libxml version (e.g. 2.6.5 or 2.6.17) | Predefined libxml Constants |
253 | LIBXML_SCHEMA_CREATE | Create default or fixed value nodes during XSD schema validation | Predefined libxml Constants |
254 | INF | INF | Predefined Math Constants |
255 | M_E | 2.7182818285 | Predefined Math Constants |
256 | M_EULER | 0.5772156649 | Predefined Math Constants |
257 | M_LNPI | 1.1447298858 | Predefined Math Constants |
258 | M_LN2 | 0.6931471806 | Predefined Math Constants |
259 | M_LN10 | 2.302585093 | Predefined Math Constants |
260 | M_LOG2E | 1.4426950409 | Predefined Math Constants |
261 | M_LOG10E | 0.4342944819 | Predefined Math Constants |
262 | M_PI | 3.1415926536 | Predefined Math Constants |
263 | M_PI_2 | 1.5707963268 | Predefined Math Constants |
264 | M_PI_4 | 0.7853981634 | Predefined Math Constants |
265 | M_1_PI | 0.3183098862 | Predefined Math Constants |
266 | M_2_PI | 0.6366197724 | Predefined Math Constants |
267 | M_SQRTPI | 1.7724538509 | Predefined Math Constants |
268 | M_2_SQRTPI | 1.1283791671 | Predefined Math Constants |
269 | M_SQRT1_2 | 0.7071067812 | Predefined Math Constants |
270 | M_SQRT2 | 1.4142135624 | Predefined Math Constants |
271 | M_SQRT3 | 1.7320508076 | Predefined Math Constants |
272 | NAN | NAN | Predefined Math Constants |
273 | PHP_ROUND_HALF_UP | 1 | Predefined Math Constants |
274 | PHP_ROUND_HALF_DOWN | 2 | Predefined Math Constants |
275 | PHP_ROUND_HALF_EVEN | 3 | Predefined Math Constants |
276 | PHP_ROUND_HALF_ODD | 4 | Predefined Math Constants |
277 | CONNECTION_ABORTED | Connection is aborted by user or network error | Predefined Misc. Constants |
278 | CONNECTION_NORMAL | Connection is running normally | Predefined Misc. Constants |
279 | CONNECTION_TIMEOUT | Connection timed out | Predefined Misc. Constants |
280 | __COMPILER_HALT_OFFSET__ | Predefined Misc. Constants | |
281 | XML_ERROR_NONE (integer) | XML Parser Constants | |
282 | XML_ERROR_NO_MEMORY (integer) | XML Parser Constants | |
283 | XML_ERROR_SYNTAX (integer) | XML Parser Constants | |
284 | XML_ERROR_NO_ELEMENTS (integer) | XML Parser Constants | |
285 | XML_ERROR_INVALID_TOKEN (integer) | XML Parser Constants | |
286 | XML_ERROR_UNCLOSED_TOKEN (integer) | XML Parser Constants | |
287 | XML_ERROR_PARTIAL_CHAR (integer) | XML Parser Constants | |
288 | XML_ERROR_TAG_MISMATCH (integer) | XML Parser Constants | |
289 | XML_ERROR_DUPLICATE_ATTRIBUTE (integer) | XML Parser Constants | |
290 | XML_ERROR_JUNK_AFTER_DOC_ELEMENT (integer) | XML Parser Constants | |
291 | XML_ERROR_PARAM_ENTITY_REF (integer) | XML Parser Constants | |
292 | XML_ERROR_UNDEFINED_ENTITY (integer) | XML Parser Constants | |
293 | XML_ERROR_RECURSIVE_ENTITY_REF (integer) | XML Parser Constants | |
294 | XML_ERROR_ASYNC_ENTITY (integer) | XML Parser Constants | |
295 | XML_ERROR_BAD_CHAR_REF (integer) | XML Parser Constants | |
296 | XML_ERROR_BINARY_ENTITY_REF (integer) | XML Parser Constants | |
297 | XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF (integer) | XML Parser Constants | |
298 | XML_ERROR_MISPLACED_XML_PI (integer) | XML Parser Constants | |
299 | XML_ERROR_UNKNOWN_ENCODING (integer) | XML Parser Constants | |
300 | XML_ERROR_INCORRECT_ENCODING (integer) | XML Parser Constants | |
301 | XML_ERROR_UNCLOSED_CDATA_SECTION (integer) | XML Parser Constants | |
302 | XML_ERROR_EXTERNAL_ENTITY_HANDLING (integer) | XML Parser Constants | |
303 | XML_OPTION_CASE_FOLDING (integer) | XML Parser Constants | |
304 | XML_OPTION_TARGET_ENCODING (integer) | XML Parser Constants | |
305 | XML_OPTION_SKIP_TAGSTART (integer) | XML Parser Constants | |
306 | XML_OPTION_SKIP_WHITE (integer) | XML Parser Constants | |
307 | XML_SAX_IMPL (string) | XML Parser Constants |
Results: 41
ID | PHP Config | Default | Description | Changeable | Resource |
---|---|---|---|---|---|
1 | error_reporting | Sets the error reporting level (either an integer or named constants) | PHP_INI_ALL | Error Functions | |
2 | display_errors | "1" | Specifies whether errors should be printed to the screen, or if they should be hidden from the user.Note: This feature should never be used on production systems (only to support your development) | PHP_INI_ALL | Error Functions |
3 | display_startup_errors | "0" | Even when display_errors is on, errors that occur during PHP's startup sequence are not displayedNote: It is strongly recommended to keep display_startup_errors off, except for debugging | PHP_INI_ALL | Error Functions |
4 | log_errors | "0" | Defines whether script error messages should be logged to the server's error log or error_log. Note: It is strongly advised to use error logging instead of error displaying on production web sites | PHP_INI_ALL | Error Functions |
5 | log_errors_max_len | "1024" | Sets the maximum length of log_errors in bytes. The value "0" can be used to not apply any maximum length at all. This length is applied to logged errors, displayed errors, and also to $php_errormsg (available since PHP 4.3) | PHP_INI_ALL | Error Functions |
6 | ignore_repeated_errors | "0" | Specifies whether to log repeated error messages. When set to "1" it will not log errors with repeated errors from the same file on the same line (available since PHP 4.3) | PHP_INI_ALL | Error Functions |
7 | ignore_repeated_source | "0" | Specifies whether to log repeated error messages. When set to "1" it will not log errors with repeated errors from different files or source lines (available since PHP 4.3) | PHP_INI_ALL | Error Functions |
8 | report_memleaks | "1" | If set to "1" (the default), this parameter will show a report of memory leaks detected by the Zend memory manager (available since PHP 4.3) | PHP_INI_ALL | Error Functions |
9 | track_errors | "0" | If set to "1", the last error message will always be present in the variable $php_errormsg | PHP_INI_ALL | Error Functions |
10 | html_errors | "1" | Turns off HTML tags in error messages | PHP_INI_ALLPHP_INI_SYSTEM in PHP <= 4.2.3. | Error Functions |
11 | xmlrpc_errors | "0" | Turns off normal error reporting and formats errors as XML-RPC error message (available since PHP 4.1) | PHP_INI_SYSTEM | Error Functions |
12 | xmlrpc_error_number | "0" | Used as the value of the XML-RPC faultCode element (available since PHP 4.1) | PHP_INI_ALL | Error Functions |
13 | docref_root | "" | (available since PHP 4.3) | PHP_INI_ALL | Error Functions |
14 | docref_ext | "" | (available since PHP 4.3.2) | PHP_INI_ALL | Error Functions |
15 | error_prepend_string | Specifies a string to output before an error message | PHP_INI_ALL | Error Functions | |
16 | error_append_string | Specifies a string to output after an error message | PHP_INI_ALL | Error Functions | |
17 | error_log | Specifies the name of the file where script errors should be logged. The file should be writable by the web server's user. If the special value syslog is used, the errors are sent to the system logger instead | PHP_INI_ALL | Error Functions | |
18 | allow_url_fopen | "1" | Allows fopen()-type functions to work with URLs | PHP_INI_SYSTEM | Unix / Windows Compatibility |
19 | allow_url_include | "0" | (available since PHP 5.2) | PHP_INI_SYSTEM | Unix / Windows Compatibility |
20 | user_agent | Defines the user agent for PHP to send (available since PHP 4.3) | PHP_INI_ALL | Unix / Windows Compatibility | |
21 | default_socket_timeout | "60" | Sets the default timeout, in seconds, for socket based streams (available since PHP 4.3) | PHP_INI_ALL | Unix / Windows Compatibility |
22 | from | "" | Defines the email address to be used on unauthenticated FTP connections and in the From header for HTTP connections when using ftp and http wrappers | PHP_INI_ALL | Unix / Windows Compatibility |
23 | auto_detect_line_endings | "0" | When set to "1", PHP will examine the data read by fgets() and file() to see if it is using Unix, MS-Dos or Mac line-ending characters (available since PHP 4.3) | PHP_INI_ALL | Unix / Windows Compatibility |
24 | sys_temp_dir | "" | (available since PHP 5.5) | PHP_INI_SYSTEM | Unix / Windows Compatibility |
25 | filter.default | Filter all $_GET, $_POST, $_COOKIE, $_REQUEST and $_SERVER data by this filter. Accepts the name of the filter you like to use by default. See the filter list for the list of the filter names | "unsafe_raw" | PHP_INI_PERDIR | Filter Functions |
26 | filter.default_flags | Default flags to apply when the default filter is set. This is set to FILTER_FLAG_NO_ENCODE_QUOTES by default for backwards compatibility reasons | PHP_INI_PERDIR | Filter Functions | |
27 | filter.default | Filter all $_GET, $_POST, $_COOKIE, $_REQUEST and $_SERVER data by this filter. Accepts the name of the filter you like to use by default. See the filter list for the list of the filter names | "unsafe_raw" | PHP_INI_PERDIR | Mail Functions |
28 | filter.default_flags | Default flags to apply when the default filter is set. This is set to FILTER_FLAG_NO_ENCODE_QUOTES by default for backwards compatibility reasons | PHP_INI_PERDIR | Mail Functions | |
29 | mail.add_x_header | "0" | Add X-PHP-Originating-Script that will include UID of the script followed by the filename. For PHP 5.3.0 and above | PHP_INI_PERDIR | Mail Functions |
30 | mail.log | The path to a log file that will log all mail() calls. Log include full path of script, line number, To address and headers. For PHP 5.3.0 and above | PHP_INI_PERDIR | Mail Functions | |
31 | SMTP | "localhost" | Windows only: The DNS name or IP address of the SMTP server | PHP_INI_ALL | Mail Functions |
32 | smtp_port | "25" | Windows only: The SMTP port number. For PHP 4.3.0 and above | PHP_INI_ALL | Mail Functions |
33 | sendmail_from | Windows only: Specifies the "from" address to be used when sending mail from mail() | PHP_INI_ALL | Mail Functions | |
34 | sendmail_path | "/usr/sbin/sendmail -t -i" | Specifies where the sendmail program can be found. This directive works also under Windows. If set, SMTP, smtp_port and sendmail_from are ignored | PHP_INI_SYSTEM | Mail Functions |
35 | ignore_user_abort | FALSE indicates that scripts will be terminated as soon as they try to output something after a client has aborted their connection | "0" | PHP_INI_ALL | Miscellaneous |
36 | highlight.string | Color for highlighting a string in PHP syntax | "#DD0000" | PHP_INI_ALL | Miscellaneous |
37 | highlight.comment | Color for highlighting PHP comments | "#FF8000" | PHP_INI_ALL | Miscellaneous |
38 | highlight.keyword | Color for syntax highlighting PHP keywords (e.g. parenthesis and semicolon) | "#007700" | PHP_INI_ALL | Miscellaneous |
39 | highlight.default | Default color for PHP syntax | "#0000BB" | PHP_INI_ALL | Miscellaneous |
40 | highlight.html | Color for HTML code | "#000000" | PHP_INI_ALL | Miscellaneous |
41 | browscap | Name and location of browser-capabilities file (e.g. browscap.ini) | PHP_INI_SYSTEM | Miscellaneous |
PHP Operators
Operator | Name | Example | Result | |||||
---|---|---|---|---|---|---|---|---|
Equal | $x == $y | Returns true if $x is equal to $y | ||||||
Identical | $x === $y | "Returns true if $x is equal to $y | and they are of the same type" | |||||
!= | Not equal | $x != $y | Returns true if $x is not equal to $y | |||||
<> | Not equal | $x <> $y | Returns true if $x is not equal to $y | |||||
!== | Not identical | $x !== $y | "Returns true if $x is not equal to $y | or they are not of the same type" | ||||
> | Greater than | $x > $y | Returns true if $x is greater than $y | |||||
< | Less than | $x < $y | Returns true if $x is less than $y | |||||
>= | Greater than or equal to | $x >= $y | Returns true if $x is greater than or equal to $y | |||||
<= | Less than or equal to | $x <= $y | Returns true if $x is less than or equal to $y | |||||
<=> | Spaceship | $x <=> $y | "Returns an integer less than | equal to | or greater than zero | depending on if $x is less than | equal to | or greater than $y. Introduced in PHP 7." |
PHP Elements
PHP Element | Description |
---|---|
$_SERVER['PHP_SELF'] | Returns the filename of the currently executing script |
$_SERVER['GATEWAY_INTERFACE'] | Returns the version of the Common Gateway Interface (CGI) the server is using |
$_SERVER['SERVER_ADDR'] | Returns the IP address of the host server |
$_SERVER['SERVER_NAME'] | Returns the name of the host server (such as www.w3schools.com) |
$_SERVER['SERVER_SOFTWARE'] | Returns the server identification string (such as Apache/2.2.24) |
$_SERVER['SERVER_PROTOCOL'] | Returns the name and revision of the information protocol (such as HTTP/1.1) |
$_SERVER['REQUEST_METHOD'] | Returns the request method used to access the page (such as POST) |
$_SERVER['REQUEST_TIME'] | Returns the timestamp of the start of the request (such as 1377687496) |
$_SERVER['QUERY_STRING'] | Returns the query string if the page is accessed via a query string |
$_SERVER['HTTP_ACCEPT'] | Returns the Accept header from the current request |
$_SERVER['HTTP_ACCEPT_CHARSET'] | Returns the Accept_Charset header from the current request (such as utf-8,ISO-8859-1) |
$_SERVER['HTTP_HOST'] | Returns the Host header from the current request |
$_SERVER['HTTP_REFERER'] | Returns the complete URL of the current page (not reliable because not all user-agents support it) |
$_SERVER['HTTPS'] | Is the script queried through a secure HTTP protocol |
$_SERVER['REMOTE_ADDR'] | Returns the IP address from where the user is viewing the current page |
$_SERVER['REMOTE_HOST'] | Returns the Host name from where the user is viewing the current page |
$_SERVER['REMOTE_PORT'] | Returns the port being used on the user's machine to communicate with the web server |
$_SERVER['SCRIPT_FILENAME'] | Returns the absolute pathname of the currently executing script |
$_SERVER['SERVER_ADMIN'] | Returns the value given to the SERVER_ADMIN directive in the web server configuration file (if your script runs on a virtual host, it will be the value defined for that virtual host) (such as someone@w3schools.com) |
$_SERVER['SERVER_PORT'] | Returns the port on the server machine being used by the web server for communication (such as 80) |
$_SERVER['SERVER_SIGNATURE'] | Returns the server version and virtual host name which are added to server-generated pages |
$_SERVER['PATH_TRANSLATED'] | Returns the file system based path to the current script |
$_SERVER['SCRIPT_NAME'] | Returns the path of the current script |
$_SERVER['SCRIPT_URI'] | Returns the URI of the current page |