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

  •  
 

Hi and welcome!

Online functions
Sometimes you need a quick output from a php function, a SHA1 or MD5 hash, a base64_encode or base64_decode of a sting. Well, since I am PHPing fulltime, I need that all the time, so I made a place where I can get a quick output without hassle from most common PHP functions. And why not share it with you?

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

Errors
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 was wrong with your request and learn from it.

Missing something or something wrong?
Send me an e-mail or post a comment and I'll add or fix it.

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

Thanks for visiting,
John

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.

 

Latest Comments

John @ 05/02/2013 09:55am on page: unserialize
@Suthan Correct, serialize only exports data with double quotes, and unserialize only accepts double quotes.
Suthan Bala @ 05/02/2013 08:06am on page: unserialize
The page is having trouble unserializing data from a serialized string that contains both quotation marks. Beside that issue, I love this site. Awesome tools mate =)
Tony @ 04/23/2013 12:02pm on page: sandbox
The BC math functions do not work.
http://www.php.net/manual/en/book.bc.php
James Stone @ 04/03/2013 10:06am on page: sandbox
This PHP Sandbox is very helpful to me, and you can disregard my last comment, my encryption algorithm had a few bugs in it, copy and pasting the encrypted code twice corrupts the code.
John @ 04/02/2013 09:56am on page: sandbox
Security by obscurity, not a good idea. I can delete them for you, but I will need the keys.
James Stone @ 04/02/2013 09:38am on page: sandbox
If you can... Can you please delete the database entries of the code created by me? I don't want anyone getting my encryption algorithm,
ionut @ 03/17/2013 12:29pm on page: sandbox
Hello, why is parse_url() disabled ?
Muhammad Uzair Khan @ 02/28/2013 02:49am on page: sandbox
Hi All,

Just wanted to appreciate this great work. Helps alot since it removes the need to setup php on our machine. Great work. Best thing, all calls handled via ajax which makes this pretty fast and easy. Really nice place to learn and test. Even pros will be getting much help
Jeroen @ 02/24/2013 08:21am on page: sandbox
Hi Uyon,

thanks. You can find examples of every function on this website. The sandbox is simply to test some code.
Uyon @ 02/24/2013 03:13am on page: sandbox
I'm a beginner of php, but the sandbox does give me lots of help, so thanks a lot. I believe it's going to be more powerful if you can combine some examples with the sandbox.
 
 
 
      © 2014 John Post - StarFixIT | Disclaimer | Contact
      PHP versions: 5.6.2, 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.3, 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