Use PHP functions in JavaScript

Functions overview

Here is a list of functions currently implemented by php.js. Missing functions can be found here.

Arrays

BCMath Arbitrary Precision Mathematics

Character type checking

Class/Object Information

Classkit

Date and Time

Error Handling and Logging

Filesystem

Function Handling

JavaScript Object Notation

Language & Control Structures

Mail

Mathematical Functions

Miscellaneous Functions

Net Gopher

Network

Object Aggregation/Composition

Output Buffering Control

PHP Options and Information

Program execution Functions

Regular Expressions (Perl-Compatible)

Streams

Strings

URLs

Variable handling

XML Parser

[internal] php.js shared libs

    i18n

    runkit

    xdiff

    Download

    Download

    There is a wide variety of packages if the default doesn't suit you.
    You can also compile your own package to avoid any overhead.

    Support us

    spread the word:


    Use any PHP function in JavaScript


    These kind folks have already donated: AYHAN BARI*, Nikita Ekshiyan, Nikita Ekshiyan, Petr Pavel, @HalfWinter, Paulo Freitas, Andros Peña Romo, @andorosu, Raimund Szabo, Nitin Gupta, @nikosdion, Anonymous, Anonymous and Shawn Houser.
    <your name here>

    Click here to lend your support to: phpjs and make a donation at www.pledgie.com !

    RSS

    Tweets

    Comments

    Who uses php.js

    If you use php.js, let us know and get linked.

    Progress

    php.js is complete for 79.6%

    php.js on

    Discuss php.js' future at Google Groups
    Help improve php.js on github



    Powered by php.js
    Stats