All the functions from PHP.js. Just storing here for my personal usage.