PHP functions, made easier.
A practical PHP reference for developers, with concise ShortPHP aliases and useful utilities. Find the function you need, see an example, and move to the next or previous reference.
search
Reference
Browse 170 static reference entries. PHP's canonical function names remain authoritative; ShortPHP adds compact aliases and utilities where they are genuinely useful.
UTILITY
json_try_decode()
json_try_decode()
Decode JSON without throwing; return the supplied default on invalid JSON.
UTILITY
json_try_encode()
json_try_encode()
Encode JSON without throwing; return the supplied default on failure.