Work in progress
This is our new site. Many features do not work yet. You should probably go to Kevin's TechBlog », where active PHP.JS development still takes place.
Functions overview
Here is a list of functions currently implemented by PHP.JS:
Arrays
- array
- array_change_key_case
- array_chunk
- array_combine
- array_count_values
- array_diff
- array_diff_assoc
- array_diff_key
- array_fill
- array_fill_keys
- array_filter
- array_flip
- array_key_exists
- array_keys
- array_map
- array_merge
- array_merge_recursive
- array_pad
- array_pop
- array_product
- array_push
- array_rand
- array_reduce
- array_reverse
- array_search
- array_shift
- array_slice
- array_splice
- array_sum
- array_unique
- array_unshift
- array_values
- array_walk
- array_walk_recursive
- chunk_split
- compact
- count
- each
- end
- in_array
- krsort
- ksort
- range
- reset
- rsort
- shuffle
- sizeof
- sort
Date and Time
Function Handling
- call_user_func
- call_user_func_array
- create_function
- func_get_arg
- func_get_args
- func_num_args
- function_exists
- get_defined_functions
Mathematical Functions
- abs
- acos
- acosh
- asin
- asinh
- atan
- atanh
- base_convert
- bindec
- ceil
- cos
- cosh
- decbin
- dechex
- decoct
- deg2rad
- exp
- floor
- fmod
- getrandmax
- hexdec
- hypot
- is_finite
- is_infinite
- is_nan
- lcg_value
- log
- log10
- max
- min
- mt_getrandmax
- mt_rand
- octdec
- pi
- pow
- rad2deg
- rand
- round
- sin
- sinh
- sqrt
- tan
- tanh
Network
Regular Expressions (Perl-Compatible)
URLs
XML Parser
Class/Object Information
Filesystem
Laguage & Control Structures
Miscellaneous Functions
PHP Options and Information
Strings
- addslashes
- bin2hex
- chop
- chr
- count_chars
- crc32
- echo
- explode
- get_html_translation_table
- html_entity_decode
- htmlentities
- htmlspecialchars
- htmlspecialchars_decode
- implode
- join
- levenshtein
- ltrim
- md5
- md5_file
- nl2br
- number_format
- ord
- parse_str
- printf
- quotemeta
- rtrim
- sha1
- sha1_file
- soundex
- split
- sprintf
- str_ireplace
- str_pad
- str_repeat
- str_replace
- str_rot13
- str_split
- strcasecmp
- strchr
- strcmp
- strip_tags
- stripos
- stripslashes
- stristr
- strlen
- strnatcmp
- strncasecmp
- strpbrk
- strpos
- strrev
- strripos
- strrpos
- strspn
- strstr
- strtolower
- strtoupper
- substr
- substr_count
- trim
- ucfirst
- ucwords
- wordwrap