php.default.namespaced.min.js
Specs
a7aac8b9efee21d2fab1b26483a43bd9
yes
yes
minified
130090
238
2010-08-17 20:55:03
606
3.18
Warning! as of version 2.61 you are supposed to instantiate namespaced packages yourself like so:
$P = new PHP_JS();
This to prevent $P conflicting with your existing code (the whole point of a namespaced package ; ).
Please don't use this package directly from our servers
Instead: download, and upload it to your own server because we cannot guarantee your package will always be here. Also, we just dont have the bandwidth to serve so many files across the web.
Download php.default.namespaced.min.jsAlso available in these formats:
Functions in this package
- abs
- acos
- acosh
- addslashes
- array_change_key_case
- array_chunk
- array_combine
- array_count_values
- array_diff
- array_diff_assoc
- array_diff_key
- array_diff_uassoc
- array_diff_ukey
- array_fill
- array_fill_keys
- array_filter
- array_flip
- array_intersect
- array_intersect_assoc
- array_intersect_key
- array_intersect_uassoc
- array_intersect_ukey
- 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_udiff
- array_udiff_assoc
- array_udiff_uassoc
- array_uintersect
- array_uintersect_assoc
- array_uintersect_uassoc
- array_unique
- array_unshift
- array_values
- array_walk
- array_walk_recursive
- arsort
- asin
- asinh
- asort
- atan
- atan2
- atanh
- base64_decode
- base64_encode
- base_convert
- bin2hex
- bindec
- ceil
- checkdate
- chop
- chr
- chunk_split
- class_exists
- compact
- cos
- cosh
- count
- count_chars
- crc32
- date
- decbin
- dechex
- decoct
- deg2rad
- doubleval
- echo
- end
- exp
- explode
- expm1
- floatval
- floor
- fmod
- get_class
- get_defined_vars
- get_headers
- get_html_translation_table
- getdate
- getrandmax
- hexdec
- html_entity_decode
- htmlentities
- htmlspecialchars
- htmlspecialchars_decode
- http_build_query
- hypot
- implode
- in_array
- intval
- ip2long
- is_bool
- is_double
- is_finite
- is_float
- is_infinite
- is_int
- is_integer
- is_long
- is_nan
- is_null
- is_numeric
- is_real
- is_scalar
- is_string
- join
- json_decode
- json_encode
- krsort
- ksort
- lcfirst
- lcg_value
- levenshtein
- log
- log10
- log1p
- long2ip
- ltrim
- max
- md5
- method_exists
- microtime
- min
- mktime
- mt_getrandmax
- mt_rand
- natcasesort
- natsort
- nl2br
- number_format
- octdec
- ord
- parse_str
- parse_url
- pi
- pow
- preg_grep
- preg_quote
- print_r
- printf
- property_exists
- quotemeta
- rad2deg
- rand
- range
- rawurldecode
- rawurlencode
- reset
- round
- rsort
- rtrim
- serialize
- setcookie
- setrawcookie
- settype
- sha1
- shuffle
- sin
- sinh
- sizeof
- sort
- soundex
- split
- sprintf
- sql_regcase
- sqrt
- str_getcsv
- str_ireplace
- str_pad
- str_repeat
- str_replace
- str_rot13
- str_shuffle
- str_split
- str_word_count
- strcasecmp
- strchr
- strcmp
- strcspn
- strip_tags
- stripos
- stripslashes
- stristr
- strlen
- strnatcasecmp
- strnatcmp
- strncasecmp
- strncmp
- strpbrk
- strpos
- strrchr
- strrev
- strripos
- strrpos
- strspn
- strstr
- strtok
- strtolower
- strtotime
- strtoupper
- strtr
- substr
- substr_compare
- substr_count
- substr_replace
- tan
- tanh
- time
- trim
- uasort
- ucfirst
- ucwords
- uksort
- unserialize
- urldecode
- urlencode
- usort
- utf8_decode
- utf8_encode
- var_dump
- var_export
- vprintf
- vsprintf
- wordwrap

spread the word:
Use any PHP function in JavaScript
These kind folks have already donated: @HalfWinter, Paulo Freitas, Andros Peña Romo, Nitin Gupta, @nikosdion, Anonymous, Anonymous and Shawn Houser.
<your name here>