Skip to main content

List of Online PHP Codepads

Yes, there are some. Looking for a PHP version? I was looking for a PHP 5.1 codepad (run PHP code online for test purposes), but was not able to. I remember there was one, but I have not found it.
Here is the list I came up so far before you need to click through hundreds of search results:

CodepadPHP Version(s)Note
writecodeonline.com PHP 4.4.9 Legacy needs?
codepad.org PHP 5.2.5 Many languages, good history
ideone.com PHP 5.2.12 (pl0-gentoo) Many langauges, good history
freephptest.com PHP 5.2.17 Not very accessible
coderun.com (ide) PHP 5.3.1 Not suitable for quick testing
phpcodepad.com PHP 5.3.2 Not very accessible
codepad.viper-7.com PHP 5.2, PHP 5.3, PHP 5.4 + trunk A PHP coders paradise


The test I did run was a simple <?php echo PHP_VERSION;, the codepads differ what they support, sometimes they are down.

Untested: https://kodingen.com/ (unable to create file).

See as well/Links

Comments

Popular Posts

How to find out Max Salary from each department

You can find maximum salary for each department by grouping all records by DeptId and then using MAX() function to calculate maximum salary in each group or each department. SQL Query: SELECT DeptID, MAX(Salary) FROM Employee  GROUP BY DeptID. This questions become more interesting if Interviewer will ask you to print department name instead of department id, in that case you need to join Employee table with Department using foreign key DeptID, make sure you do LEFT or RIGHT OUTER JOIN to include departments without any employee as well.  Here is the query