PHP-style utility functions for LuaJIT applications