PHP dokumentace - neoficiální překlad
Tato stránka obsahuje přehled všech základních vestavěných funkcí v jazyce PHP s jejich podrobným popisem a příklady použití. Popis funkcí vychází z překladu oficiální anglické dokumentace.
Všechny funkce jsou kompatibilní s PHP 7.0 a novější. U starších funkcí uvádím rozdíly napříč verzemi.
Abecední seznam funkcí
- Funkce eval() v PHP
- abs()
- acos()
- acosh()
- addcslashes()
- addslashes()
- array_fill_keys()
- array_fill()
- array_merge()
- array_multisort()
- array_pop()
- array_push()
- array_search()
- array_shift()
- array_slice()
- array_splice()
- array_unshift()
- array_walk_recursive()
- array_walk()
- arsort()
- asin()
- asinh()
- asort()
- atan()
- atan2()
- atanh()
- base_convert()
- base64_decode()
- base64_encode()
- basename()
- bin2hex()
- bindec()
- call_user_func_array()
- call_user_func()
- call_user_method_array()
- call_user_method()
- ceil()
- chdir()
- checkdnsrr()
- chgrp()
- chmod()
- chown()
- chroot()
- chunk_split()
- clearstatcache()
- cli_get_process_title()
- cli_set_process_title()
- closedir()
- closelog()
- compact()
- connection_aborted()
- connection_status()
- constant()
- convert_cyr_string()
- convert_uudecode()
- convert_uuencode()
- cos()
- cosh()
- count_chars()
- count()
- crc32()
- crypt()
- current()
- debug_zval_dump()
- decbin()
- dechex()
- decoct()
- define_syslog_variables()
- deg2rad()
- dir()
- dirname()
- disk_free_space()
- disk_total_space()
- diskfreespace()
- dl()
- dns_check_record()
- dns_get_mx()
- doubleval()
- end()
- error_get_last()
- error_log()
- exp()
- explode()
- expm1()
- extract()
- ezmlm_hash()
- fclose()
- feof()
- fgetc()
- fgetcsv()
- fgets()
- fgetss()
- file_exists()
- fileatime()
- filectime()
- filegroup()
- fileinode()
- filemtime()
- fileowner()
- fileperms()
- filesize()
- filetype()
- floatval()
- flock()
- floor()
- flush()
- fmod()
- fnmatch()
- forward_static_call_array()
- forward_static_call()
- fputcsv()
- fread()
- fsockopen()
- gc_mem_caches()
- get_browser()
- get_cfg_var()
- get_current_user()
- get_headers()
- get_html_translation_table()
- get_include_path()
- get_magic_quotes_gpc()
- get_magic_quotes_runtime()
- get_meta_tags()
- get_resources()
- getcwd()
- getenv()
- gethostbyaddr()
- gethostbyname()
- gethostbynamel()
- gethostname()
- getimagesize - velikost obrázku
- getimagesizefromstring()
- getlastmod()
- getmxrr()
- getopt()
- getrusage()
- gettimeofday()
- gettype()
- glob()
- header_register_callback()
- header_remove()
- header()
- headers_list()
- headers_sent()
- hebrev()
- hebrevc()
- hexdec()
- highlight_file()
- html_entity_decode()
- htmlentities()
- htmlspecialchars - escapování znaků
- htmlspecialchars_decode()
- hypot()
- ignore_user_abort()
- image_type_to_extension()
- image_type_to_mime_type()
- imageaffinematrixget()
- imagecrop()
- imagecropauto()
- imageflip()
- imagepalettetotruecolor()
- imagescale()
- imagesetinterpolation()
- implode()
- import_request_variables()
- in_array()
- inet_ntop()
- inet_pton()
- ini_alter()
- ini_get_all()
- ini_get()
- ini_restore()
- ini_set()
- intdiv()
- intval()
- ip2long()
- iptcembed()
- iptcparse()
- is_array()
- is_bool()
- is_callable()
- is_dir()
- is_double()
- is_executable()
- is_file()
- is_finite()
- is_float()
- is_infinite()
- is_int()
- is_integer()
- is_link()
- is_long()
- is_nan()
- is_null()
- is_numeric()
- is_object()
- is_readable()
- is_real()
- is_resource()
- is_scalar()
- is_string()
- is_uploaded_file()
- is_writable()
- is_writeable()
- join()
- key()
- krsort()
- ksort()
- lcfirst()
- lcg_value()
- lchgrp()
- lchown()
- localeconv()
- log()
- log10()
- log1p()
- long2ip()
- lstat()
- ltrim()
- magic_quotes_runtime()
- mail()
- max()
- md5_file()
- md5()
- memory_get_peak_usage()
- memory_get_usage()
- metaphone()
- microtime()
- min()
- money_format()
- move_uploaded_file()
- natcasesort()
- natsort()
- next()
- nl2br()
- number_format()
- ob_clean()
- ob_end_clean()
- ob_end_flush()
- ob_flush()
- ob_get_clean()
- ob_get_contents()
- ob_get_flush()
- ob_get_length()
- ob_get_level()
- ob_get_status()
- ob_implicit_flush()
- ob_list_handlers()
- ob_start()
- octdec()
- opendir()
- openlog()
- pack()
- parse_ini_file()
- parse_ini_string()
- pathinfo()
- pclose()
- pfsockopen()
- php_egg_logo_guid()
- php_ini_loaded_file()
- php_ini_scanned_files()
- php_logo_guid()
- php_real_logo_guid()
- php_sapi_name()
- php_strip_whitespace()
- php_uname()
- phpcredits()
- phpinfo()
- phpversion()
- pi()
- popen()
- pow()
- prev()
- print_r()
- putenv()
- quoted_printable_decode()
- quoted_printable_encode()
- quotemeta()
- rad2deg()
- range()
- readdir()
- readfile()
- realpath()
- register_shutdown_function()
- register_tick_function()
- reset()
- restore_include_path()
- rewind()
- rewinddir()
- rmdir()
- round()
- rsort()
- rtrim()
- scandir()
- serialize()
- set_file_buffer()
- set_include_path()
- set_magic_quotes_runtime()
- set_socket_blocking()
- set_time_limit()
- setcookie()
- setlocale()
- setrawcookie()
- settype()
- sha1_file()
- sha1()
- show_source()
- shuffle()
- similar_text()
- sin()
- sinh()
- sleep()
- socket_get_status()
- socket_import_stream()
- socket_set_blocking()
- socket_set_timeout()
- sort()
- sqrt()
- stat()
- str_ireplace()
- str_repeat()
- str_replace()
- str_shuffle()
- str_split()
- str_word_count()
- strcoll()
- strcspn()
- stream_context_create()
- stream_context_get_default()
- stream_context_get_options()
- stream_context_get_params()
- stream_context_set_default()
- stream_context_set_option()
- stream_context_set_params()
- stream_copy_to_stream()
- stream_filter_append()
- stream_filter_prepend()
- stream_filter_remove()
- stream_get_contents()
- stream_get_line()
- stream_get_meta_data()
- stream_get_transports()
- stream_get_wrappers()
- stream_is_local()
- stream_register_wrapper()
- stream_resolve_include_path()
- stream_select()
- stream_set_blocking()
- stream_set_chunk_size()
- stream_set_read_buffer()
- stream_set_timeout()
- stream_set_write_buffer()
- stream_socket_accept()
- stream_socket_client()
- stream_socket_enable_crypto()
- stream_socket_get_name()
- stream_socket_pair()
- stream_socket_recvfrom()
- stream_socket_sendto()
- stream_socket_server()
- stream_socket_shutdown()
- stream_supports_lock()
- stream_wrapper_register()
- stream_wrapper_restore()
- stream_wrapper_unregister()
- strip_tags()
- stripcslashes()
- stripos()
- stripslashes()
- stristr()
- strnatcasecmp()
- strnatcmp()
- strpbrk()
- strpos - výskyt podřetězce v řetězci
- strptime()
- strrchr()
- strrev()
- strripos()
- strrpos()
- strspn()
- strstr()
- strtok()
- strtolower()
- strtoupper()
- strtr()
- strval()
- substr_compare()
- substr_count()
- substr_replace()
- substr()
- sys_getloadavg()
- syslog()
- tan() - Tangent
- tanh()
- time_nanosleep()
- time_sleep_until()
- touch()
- trim()
- uasort()
- ucfirst()
- ucwords()
- uksort()
- umask()
- uniqid()
- unpack()
- unregister_tick_function()
- unserialize()
- usleep()
- usort()
- var_dump()
- var_export()
- wordwrap()
- zend_logo_guid()
- Zvýrazňování syntaxe PHP kódu funkcí highlight_string()