Comment

Tech Note: PHP Functions Ported to Javascript

53
CuriousLurker7/20/2011 9:33:42 pm PDT
If you’re a PHP coder who also codes Javascript, here’s an insanely useful site where they’ve converted most of the useful PHP functions into Javascript, keeping the syntax intact: PHP functions in JavaScript.

I’m currently using their versions of base64_decode(), utf8_decode(), addslashes(), and str_replace() in the LGF Javascript codebase, and they work beautiful

Sahhweeet—thanks!