Online PHP Function(s){ #Test PHP functions online!; }


Hi and welcome!

Online functions
Sometimes you need to run a piece of PHP code real quick, a SHA1 or MD5 hash, a base64_encode or base64_decode of a sting. I need this all the time mysql, so I made a simple website where I can get a quick output without hassle from most common PHP functions.

Custom functions
PHP does not cover any possible scenario, that's good for creativity, but sometimes it can be a struggle. Take a look at my custom functions and there might be a solution for your problem.

The errors you see are not errors in the script, but the actual errors you get when executing the command exactly with the parameters you entered. This way you can see what is wrong with your code and learn from it.

Missing something or something wrong?
Post a comment and I try to fix it.

Happy PHPing!
Hope you enjoy this website, if you do, please post a comment or share it on Twitter or Google+!

Function categories

Arrays: All functions related to arrays are in here

Custom functions: Functions by John, a lot of custom functions, quick and easy to use.

Cryptography, Hashing : Encoding, decoding, hashing, all in here.

Date and Time: All functions with Date and or Time are here

Math: Test all PHP Math functions here

Step by step tutorials: You can find a bunch of step by step tutorials here.

Other functions: All other PHP functions wich do not fit an any other category

Output buffering: Need to work with buffers? All output buffering filters are in here.

Regular Expressions: Regular Expressions are powerfull tools in PHP. You can find them here.

String Manipulation: You can find a lot of functions for string manipulation here.

String Compare Search: All string compare and string search functions are in here

Type checking changing: Type checking and type changing is in here.

Uncategorized: These functions are here for reference only, they do not have an online test function (yet). This list gets shorter every day, as I am working to get most of them done and categorize them.

      © 2022 | Disclaimer |       PHP versions: 8.0.0, 7.4.13, 7.4.7, 7.4.0, 7.3.25, 7.3.19, 7.3.12, 7.3.5, 7.2.31, 7.2.25, 7.2.18, 7.2.4, 7.1.33, 7.1.29, 7.1.0, 7.0.14, 7.0.5, 7.0.4, 7.0.3, 7.0.2, 7.0.1, 5.6.29, 5.6.20, 5.6.19, 5.6.18, 5.6.17, 5.6.2, 5.5.34, 5.5.33, 5.5.32, 5.5.31, 5.5.18, 5.5.5, 5.5.0.a6, 5.5.0.a.5, 5.5.0.a.2, 5.4.34, 5.4.21, 5.4.13, 5.4.12, 5.4.11, 5.4.10, 5.4.9, 5.4.8, 5.4.7, 5.4.6, 5.4.5, 5.4.4, 5.4.3, 5.4.2, 5.4.1, 5.4.0, 5.3.29, 5.3.27, 5.3.23, 5.3.22, 5.3.21, 5.3.20, 5.3.19, 5.3.18, 5.3.17, 5.3.16, 5.3.15, 5.3.14, 5.3.13, 5.3.12, 5.3.11, 5.3.10, 5.3.2, 5.3.1, 5.3.0, 5.2.17, 5.2.16, 5.1.6, 5.1.5, 5.0.5, 5.0.4, 4.4.9