PHP.JS is an open source project in which to port PHP functions to JavaScript. The library is developed by Kevin van Zonneveld and his contributors, and they have been working hard in adding more functions into it. By including this library into your own web projects, you can use those higher-level PHP functions such as file_get_contents(), [...]
Sometimes I just have the urge to know what the Lunar date of someone’s birthday or a Chinese festival when no Chinese calendar is around. And, I am just getting annoyed when my friends keep asking me to help them find an online date converter. So I made it myself and I put it on [...]
I have been being asked by some friends of mine, that is in PHP language how to convert If statement into Switch statement (in some cases, using Switch is for shortening code).
At first, I thought that Switch was just only for ‘equal’ comparison. But actually it is more than just equal. So I did a [...]