3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo '<pre>'; // Outputs all the result of shellcommand "ls", and returns // the last output line into $last_line. Stores the return value // of the shell command in $retval. $last_line = system('pwd', $retval); // Printing additional info echo ' </pre> <hr />Last line of the output: ' . $last_line . ' <hr />Return value: ' . $retval;
Output for git.master, git.master_jit, rfc.property-hooks
<pre> Warning: system(): Unable to fork [pwd] in /in/Rc3TD on line 7 </pre> <hr />Last line of the output: <hr />Return value: -1

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
38.24 ms | 401 KiB | 8 Q