A an infinity of people are in the keep in mind about with PHP’s functions, and however Javascript functions are in many cases completely almost identical, some functions may be missing or addressed differently. The Javascript implementations should be as compliant with the PHP versions as credible, a consumable cubic footage is that the PHP festivity guide could also do to the Javascript rendering.
Porting decisive PHP functions to Javascript can be horseplay & practical.
Currently some PHP functions drink been added, but readers are encouraged to aid and better functions on adding comments.
If you opt to aid, dissemble me keep in mind how you after to be credited in the function’s comments. Eventually the requirement of accomplishment is to release all the functions in not php.js systematize and insist upon it publicly at one’s disposal against your coding enjoyment.
You may also after to subscribe to RSS so you meet with updates whenever revitalized functions are posted. This is a Javascript rendering of the PHP festivity: idate. For info & reactions
on comments choose goto phpjs.org
PHP idate
Description
idate – Format a far-out time/date as integer
int idate( hoax looks [, int timestamp= time()] )
Unlike the festivity date(), idate() accepts just not char in the looks parameter.
I drink moved far-off PHP.JS to it’s own locale.