test.namespaced.js
Specs
ebcd79b2a19b1b831e5ee8c3f02d83c3
yes
no
none
1073578
438
2010-02-07 19:06:31
50
3.08
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 test.namespaced.jsFunctions in this package
- _phpjs_shared_bc
- abs
- acos
- acosh
- addcslashes
- addslashes
- aggregate
- aggregate_info
- aggregate_methods
- aggregate_methods_by_list
- aggregate_methods_by_regexp
- aggregate_properties
- aggregate_properties_by_list
- aggregate_properties_by_regexp
- aggregation_info
- array
- 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_multisort
- array_pad
- array_pop
- array_product
- array_push
- array_rand
- array_reduce
- array_replace
- array_replace_recursive
- 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
- assert
- assert_options
- atan
- atan2
- atanh
- base64_decode
- base64_encode
- base_convert
- basename
- bcadd
- bccomp
- bcdiv
- bcmul
- bcround
- bcscale
- bcsub
- bin2hex
- bindec
- call_user_func
- call_user_func_array
- ceil
- checkdate
- chop
- chr
- chunk_split
- class_alias
- class_exists
- classkit_import
- classkit_method_add
- classkit_method_copy
- classkit_method_redefine
- classkit_method_remove
- classkit_method_rename
- compact
- constant
- convert_cyr_string
- convert_uuencode
- cos
- cosh
- count
- count_chars
- crc32
- create_function
- ctype_alnum
- ctype_alpha
- ctype_cntrl
- ctype_digit
- ctype_graph
- ctype_lower
- ctype_print
- ctype_punct
- ctype_space
- ctype_upper
- ctype_xdigit
- current
- date
- date_default_timezone_get
- date_default_timezone_set
- date_parse
- deaggregate
- decbin
- dechex
- decoct
- define
- defined
- deg2rad
- die
- dirname
- doubleval
- each
- echo
- empty
- end
- error_get_last
- error_reporting
- escapeshellarg
- exit
- exp
- explode
- expm1
- extract
- fclose
- feof
- fgetc
- fgetcsv
- fgets
- fgetss
- file
- file_exists
- file_get_contents
- filemtime
- filesize
- floatval
- floor
- fmod
- fopen
- forward_static_call
- forward_static_call_array
- fpassthru
- fread
- fseek
- ftell
- func_get_arg
- func_get_args
- func_num_args
- function_exists
- get_cfg_var
- get_class
- get_class_methods
- get_class_vars
- get_declared_classes
- get_defined_constants
- get_defined_functions
- get_defined_vars
- get_extension_funcs
- get_headers
- get_html_translation_table
- get_include_path
- get_included_files
- get_meta_tags
- get_object_vars
- get_required_files
- get_resource_type
- getdate
- getenv
- getlastmod
- getrandmax
- gettimeofday
- gettype
- gmdate
- gmmktime
- gmstrftime
- gopher_parsedir
- hexdec
- html_entity_decode
- htmlentities
- htmlspecialchars
- htmlspecialchars_decode
- http_build_query
- hypot
- i18n_loc_get_default
- i18n_loc_set_default
- idate
- implode
- import_request_variables
- in_array
- include
- include_once
- inet_ntop
- inet_pton
- ini_alter
- ini_get
- ini_get_all
- ini_restore
- ini_set
- intval
- ip2long
- is_array
- is_binary
- is_bool
- is_buffer
- is_callable
- is_double
- is_finite
- is_float
- is_infinite
- is_int
- is_integer
- is_long
- is_nan
- is_null
- is_numeric
- is_object
- is_real
- is_resource
- is_scalar
- is_string
- is_unicode
- isset
- join
- json_decode
- json_encode
- json_last_error
- key
- krsort
- ksort
- lcfirst
- lcg_value
- levenshtein
- localeconv
- localtime
- log
- log10
- log1p
- long2ip
- ltrim
- max
- md5
- md5_file
- metaphone
- method_exists
- microtime
- min
- mktime
- money_format
- mt_getrandmax
- mt_rand
- natcasesort
- natsort
- next
- nl2br
- nl_langinfo
- number_format
- octdec
- ord
- pack
- parse_str
- parse_url
- pathinfo
- pclose
- php_ini_loaded_file
- php_ini_scanned_files
- php_strip_whitespace
- phpversion
- pi
- popen
- pos
- pow
- preg_grep
- preg_quote
- prev
- print_r
- printf
- property_exists
- putenv
- quoted_printable_decode
- quoted_printable_encode
- quotemeta
- rad2deg
- rand
- range
- rawurldecode
- rawurlencode
- readfile
- realpath
- register_shutdown_function
- require
- require_once
- reset
- restore_include_path
- rewind
- round
- rsort
- rtrim
- runkit_class_adopt
- runkit_class_emancipate
- runkit_function_add
- runkit_function_copy
- runkit_function_redefine
- runkit_function_remove
- runkit_function_rename
- runkit_import
- runkit_method_add
- runkit_method_copy
- runkit_method_redefine
- runkit_method_remove
- runkit_method_rename
- runkit_superglobals
- serialize
- set_include_path
- set_time_limit
- setcookie
- setlocale
- setrawcookie
- settype
- sha1
- sha1_file
- shuffle
- sin
- sinh
- sizeof
- sleep
- 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
- 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_get_contents
- stream_get_line
- stream_is_local
- strftime
- strip_tags
- stripos
- stripslashes
- stristr
- strlen
- strnatcasecmp
- strnatcmp
- strncasecmp
- strncmp
- strpbrk
- strpos
- strrchr
- strrev
- strripos
- strrpos
- strspn
- strstr
- strtok
- strtolower
- strtotime
- strtoupper
- strtr
- strval
- substr
- substr_compare
- substr_count
- substr_replace
- tan
- tanh
- time
- time_nanosleep
- time_sleep_until
- timezone_abbreviations_list
- timezone_identifiers_list
- trigger_error
- trim
- uasort
- ucfirst
- ucwords
- uksort
- uniqid
- unserialize
- urldecode
- urlencode
- user_error
- usleep
- usort
- utf8_decode
- utf8_encode
- var_dump
- var_export
- version_compare
- 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, @andorosu, Raimund Szabo, Nitin Gupta, @nikosdion, Anonymous, Anonymous and Shawn Houser.
<your name here>