Category: Programming - Javascript - PHP equivalents
This is a Javascript version of the PHP function: money_format.
This is a Javascript version of the PHP function: metaphone.
This is a Javascript version of the PHP function: stream_get_line.
This is a Javascript version of the PHP function: stream_is_local.
This is a Javascript version of the PHP function: stream_context_set_params.
This is a Javascript version of the PHP function: stream_get_contents.
This is a Javascript version of the PHP function: stream_context_set_option.
This is a Javascript version of the PHP function: stream_context_set_default.
This is a Javascript version of the PHP function: stream_context_get_params.
This is a Javascript version of the PHP function: stream_context_get_options.
This is a Javascript version of the PHP function: stream_context_get_default.
This is a Javascript version of the PHP function: stream_context_create.
This is a Javascript version of the PHP function: version_compare.
This is a Javascript version of the PHP function: set_include_path.
This is a Javascript version of the PHP function: restore_include_path.
This is a Javascript version of the PHP function: get_include_path.
This is a Javascript version of the PHP function: get_extension_funcs.
This is a Javascript version of the PHP function: i18n_loc_set_default.
This is a Javascript version of the PHP function: i18n_loc_get_default.
This is a Javascript version of the PHP function: forward_static_call_array.
This is a Javascript version of the PHP function: forward_static_call.
This is a Javascript version of the PHP function: escapeshellarg.
This is a Javascript version of the PHP function: user_error.
This is a Javascript version of the PHP function: trigger_error.
This is a Javascript version of the PHP function: error_reporting.
This is a Javascript version of the PHP function: error_get_last.
This is a Javascript version of the PHP function: class_alias.
This is a Javascript version of the PHP function: array_replace_recursive.
This is a Javascript version of the PHP function: array_replace.
This is a Javascript version of the PHP function: var_dump.
This is a Javascript version of the PHP function: is_unicode.
This is a Javascript version of the PHP function: is_resource.
This is a Javascript version of the PHP function: is_buffer.
This is a Javascript version of the PHP function: is_binary.
This is a Javascript version of the PHP function: get_resource_type.
This is a Javascript version of the PHP function: substr_replace.
This is a Javascript version of the PHP function: substr_compare.
This is a Javascript version of the PHP function: str_word_count.
This is a Javascript version of the PHP function: str_getcsv.
This is a Javascript version of the PHP function: quoted_printable_encode.
This is a Javascript version of the PHP function: quoted_printable_decode.
This is a Javascript version of the PHP function: nl_langinfo.
This is a Javascript version of the PHP function: localeconv.
This is a Javascript version of the PHP function: convert_uuencode.
This is a Javascript version of the PHP function: runkit_superglobals.
This is a Javascript version of the PHP function: runkit_method_remove.
This is a Javascript version of the PHP function: runkit_method_rename.
This is a Javascript version of the PHP function: runkit_method_redefine.
This is a Javascript version of the PHP function: runkit_method_copy.
This is a Javascript version of the PHP function: runkit_method_add.
This is a Javascript version of the PHP function: runkit_import.
This is a Javascript version of the PHP function: runkit_function_rename.
This is a Javascript version of the PHP function: runkit_function_remove.
This is a Javascript version of the PHP function: runkit_function_redefine.
This is a Javascript version of the PHP function: runkit_function_copy.
This is a Javascript version of the PHP function: runkit_function_add.
This is a Javascript version of the PHP function: runkit_class_adopt.
This is a Javascript version of the PHP function: runkit_class_emancipate.
This is a Javascript version of the PHP function: sql_regcase.
This is a Javascript version of the PHP function: deaggregate.
This is a Javascript version of the PHP function: preg_grep.
This is a Javascript version of the PHP function: aggregation_info.
This is a Javascript version of the PHP function: aggregate_properties_by_regexp.
This is a Javascript version of the PHP function: aggregate_properties_by_list.
This is a Javascript version of the PHP function: aggregate_properties.
This is a Javascript version of the PHP function: aggregate_methods_by_regexp.
This is a Javascript version of the PHP function: aggregate_methods_by_list.
This is a Javascript version of the PHP function: aggregate_methods.
This is a Javascript version of the PHP function: aggregate_info.
This is a Javascript version of the PHP function: aggregate.
This is a Javascript version of the PHP function: gopher_parsedir.
This is a Javascript version of the PHP function: set_time_limit.
This is a Javascript version of the PHP function: phpversion.
This is a Javascript version of the PHP function: php_ini_scanned_files.
This is a Javascript version of the PHP function: php_ini_loaded_file.
This is a Javascript version of the PHP function: ini_restore.
This is a Javascript version of the PHP function: ini_get_all.
This is a Javascript version of the PHP function: ini_alter.
This is a Javascript version of the PHP function: getlastmod.
This is a Javascript version of the PHP function: get_required_files.
This is a Javascript version of the PHP function: get_defined_constants.
This is a Javascript version of the PHP function: get_cfg_var.
This is a Javascript version of the PHP function: assert_options.
This is a Javascript version of the PHP function: register_shutdown_function.
This is a Javascript version of the PHP function: realpath.
This is a Javascript version of the PHP function: readfile.
This is a Javascript version of the PHP function: fpassthru.
This is a Javascript version of the PHP function: filemtime.
This is a Javascript version of the PHP function: set_exception_handler.
This is a Javascript version of the PHP function: restore_exception_handler.
This is a Javascript version of the PHP function: gmstrftime.
This is a Javascript version of the PHP function: gmmktime.
This is a Javascript version of the PHP function: gettimeofday.
This is a Javascript version of the PHP function: date_parse.
This is a Javascript version of the PHP function: ctype_xdigit.
This is a Javascript version of the PHP function: ctype_upper.
This is a Javascript version of the PHP function: ctype_space.
This is a Javascript version of the PHP function: ctype_punct.
This is a Javascript version of the PHP function: ctype_print.
This is a Javascript version of the PHP function: ctype_lower.
This is a Javascript version of the PHP function: ctype_graph.
This is a Javascript version of the PHP function: ctype_digit.
This is a Javascript version of the PHP function: ctype_cntrl.
This is a Javascript version of the PHP function: ctype_alnum.
This is a Javascript version of the PHP function: ctype_alpha.
This is a Javascript version of the PHP function: classkit_method_rename.
This is a Javascript version of the PHP function: classkit_method_redefine.
This is a Javascript version of the PHP function: classkit_method_remove.
This is a Javascript version of the PHP function: classkit_method_copy.
This is a Javascript version of the PHP function: classkit_method_add.
This is a Javascript version of the PHP function: classkit_import.
This is a Javascript version of the PHP function: array_multisort.
This is a Javascript version of the PHP function: setlocale.
This is a Javascript version of the PHP function: strftime.
This is a Javascript version of the PHP function: localtime.
This is a Javascript version of the PHP function: date_default_timezone_set.
This is a Javascript version of the PHP function: date_default_timezone_get.
This is a Javascript version of the PHP function: timezone_identifiers_list.
This is a Javascript version of the PHP function: is_callable.
This is a Javascript version of the PHP function: timezone_abbreviations_list.
This is a Javascript version of the PHP function: get_declared_classes.
This is a Javascript version of the PHP function: import_request_variables.
This is a Javascript version of the PHP function: get_object_vars.
This is a Javascript version of the PHP function: get_class_vars.
This is a Javascript version of the PHP function: get_class_methods.
This is a Javascript version of the PHP function: time_sleep_until.
This is a Javascript version of the PHP function: time_nanosleep.
This is a Javascript version of the PHP function: doubleval.
This is a Javascript version of the PHP function: parse_url.
This is a Javascript version of the PHP function: php_strip_whitespace.
This is a Javascript version of the PHP function: strnatcasecmp.
This is a Javascript version of the PHP function: natcasesort.
This is a Javascript version of the PHP function: json_encode.
This is a Javascript version of the PHP function: json_decode.
This is a Javascript version of the PHP function: rawurlencode.
This is a Javascript version of the PHP function: rawurldecode.
This is a Javascript version of the PHP function: get_meta_tags.
This is a Javascript version of the PHP function: array_uintersect_uassoc.
This is a Javascript version of the PHP function: array_uintersect_assoc.
This is a Javascript version of the PHP function: array_udiff_uassoc.
This is a Javascript version of the PHP function: array_udiff_assoc.
This is a Javascript version of the PHP function: array_udiff.
This is a Javascript version of the PHP function: array_intersect_ukey.
This is a Javascript version of the PHP function: array_intersect_uassoc.
This is a Javascript version of the PHP function: array_diff_ukey.
This is a Javascript version of the PHP function: array_diff_uassoc.
This is a Javascript version of the PHP function: array_uintersect.
This is a Javascript version of the PHP function: array_intersect_key.
This is a Javascript version of the PHP function: array_intersect_assoc.
This is a Javascript version of the PHP function: array_intersect.
This is a Javascript version of the PHP function: vsprintf.
This is a Javascript version of the PHP function: str_shuffle.
This is a Javascript version of the PHP function: setrawcookie.
This is a Javascript version of the PHP function: pathinfo.
This is a Javascript version of the PHP function: get_defined_vars.
This is a Javascript version of the PHP function: strtotime.
This is a Javascript version of the PHP function: call_user_func.
This is a Javascript version of the PHP function: property_exists.
This is a Javascript version of the PHP function: method_exists.
This is a Javascript version of the PHP function: class_exists.
This is a Javascript version of the PHP function: get_defined_functions.
This is a Javascript version of the PHP function: func_num_args.
This is a Javascript version of the PHP function: func_get_args.
This is a Javascript version of the PHP function: func_get_arg.
This is a Javascript version of the PHP function: array_splice.
This is a Javascript version of the PHP function: is_scalar.
This is a Javascript version of the PHP function: is_integer.
This is a Javascript version of the PHP function: is_float.
This is a Javascript version of the PHP function: is_double.
This is a Javascript version of the PHP function: microtime.
This is a Javascript version of the PHP function: get_headers.
This is a Javascript version of the PHP function: quotemeta.
This is a Javascript version of the PHP function: constant.
This is a Javascript version of the PHP function: chunk_split.
This is a Javascript version of the PHP function: array_merge_recursive.
This is a Javascript version of the PHP function: array_merge.
This is a Javascript version of the PHP function: array_filter.
This is a Javascript version of the PHP function: array_fill_keys.
This is a Javascript version of the PHP function: filesize.
This is a Javascript version of the PHP function: file_exists.
This is a Javascript version of the PHP function: array_slice.
This is a Javascript version of the PHP function: get_html_translation_table.
This is a Javascript version of the PHP function: mt_getrandmax.
This is a Javascript version of the PHP function: lcg_value.
This is a Javascript version of the PHP function: is_infinite.
This is a Javascript version of the PHP function: is_finite.
This is a Javascript version of the PHP function: getrandmax.
This is a Javascript version of the PHP function: base_convert.
This is a Javascript version of the PHP function: strncasecmp.
This is a Javascript version of the PHP function: create_function.
This is a Javascript version of the PHP function: array_walk_recursive.
This is a Javascript version of the PHP function: array_walk.
This is a Javascript version of the PHP function: htmlspecialchars_decode.
This is a Javascript version of the PHP function: htmlspecialchars.
This is a Javascript version of the PHP function: var_export.
This is a Javascript version of the PHP function: urlencode.
This is a Javascript version of the PHP function: urldecode.
Hello good people. Our little project is going strong and thanks to Felix Geisendörfer there are a couple of new developments that I want to share with you. I'll limit this article to SVN though.
Thanks to a lot of extra effort by Michael White (http://crestidg.com) there now is a namespaced version of PHP.JS available for your coding pleasure.
This is a Javascript version of the PHP function: html_entity_decode.
This is a Javascript version of the PHP function: call_user_func_array.
This is a Javascript version of the PHP function: array_reduce.
This is a Javascript version of the PHP function: floatval.
This is a Javascript version of the PHP function: require_once.
This is a Javascript version of the PHP function: get_included_files.
This is a Javascript version of the PHP function: unserialize.
This is a Javascript version of the PHP function: http_build_query.
This is a Javascript version of the PHP function: is_string.
This is a Javascript version of the PHP function: is_object.
This is a Javascript version of the PHP function: parse_str.
This is a Javascript version of the PHP function: str_ireplace.
This is a Javascript version of the PHP function: str_split.
This is a Javascript version of the PHP function: strnatcmp.
This is a Javascript version of the PHP function: strcasecmp.
This is a Javascript version of the PHP function: sha1_file.
This is a Javascript version of the PHP function: md5_file.
This is a Javascript version of the PHP function: array_rand.
This is a Javascript version of the PHP function: array_product.
This is a Javascript version of the PHP function: strripos.
This is a Javascript version of the PHP function: array_reverse.
This is a Javascript version of the PHP function: array_map.
This is a Javascript version of the PHP function: array_flip.
Licensing
Since the project is really kicking off and we're almost at 100 ported functions, I thought it was probably time to think about licensing. So I did a little bit of research, and I think the MIT license might be what we're looking for.
This is a Javascript version of the PHP function: array_pad.
This is a Javascript version of the PHP function: array_fill.
This is a Javascript version of the PHP function: get_class.
This is a Javascript version of the PHP function: count_chars.
This is a Javascript version of the PHP function: array_diff_key.
This is a Javascript version of the PHP function: array_count_values.
This is a Javascript version of the PHP function: array_change_key_case.
This is a Javascript version of the PHP function: preg_quote.
This is a Javascript version of the PHP function: array_values.
This is a Javascript version of the PHP function: array_keys.
This is a Javascript version of the PHP function: file_get_contents.
This is a Javascript version of the PHP function: substr_count.
This is a Javascript version of the PHP function: setcookie.
This is a Javascript version of the PHP function: serialize.
This is a Javascript version of the PHP function: number_format.
This is a Javascript version of the PHP function: htmlentities.
This is a Javascript version of the PHP function: levenshtein.
This is a Javascript version of the PHP function: checkdate.
This is a Javascript version of the PHP function: array_unique.
This is a Javascript version of the PHP function: array_unshift.
This is a Javascript version of the PHP function: array_sum.
This is a Javascript version of the PHP function: array_shift.
This is a Javascript version of the PHP function: array_diff_assoc.
This is a Javascript version of the PHP function: array_key_exists.
This is a Javascript version of the PHP function: in_array.
This is a Javascript version of the PHP function: array_diff.
This is a Javascript version of the PHP function: array_chunk.
This is a Javascript version of the PHP function: str_repeat.
This is a Javascript version of the PHP function: array_search.
This is a Javascript version of the PHP function: array_push.
This is a Javascript version of the PHP function: array_pop.
This is a Javascript version of the PHP function: array_combine.
This is a Javascript version of the PHP function: utf8_encode.
This is a Javascript version of the PHP function: utf8_decode.
This is a Javascript version of the PHP function: include_once.
This is a Javascript version of the PHP function: strip_tags.
This is a Javascript version of the PHP function: str_rot13.
This is a Javascript version of the PHP function: str_replace.
This is a Javascript version of the PHP function: strtoupper.
This is a Javascript version of the PHP function: strtolower.
This is a Javascript version of the PHP function: is_numeric.
This is a Javascript version of the PHP function: wordwrap.
This is a Javascript version of the PHP function: stripslashes.
This is a Javascript version of the PHP function: addslashes.
This is a Javascript version of the PHP function: is_array.
This is a Javascript version of the PHP function: base64_decode.
This is a Javascript version of the PHP function: base64_decode.
This is a Javascript version of the PHP function: function_exists.
This is a Javascript version of the PHP function: basename.
tagcloud