3v4l.org

run code in 300+ PHP versions simultaneously
<?php function Store($ipAddress){ global $return; $return="success"; if(is_writable("./tracker/addresses.txt")) { //Skriver datan till filen $myFile = "./tracker/addresses.txt"; $fh = fopen($myFile, 'a') or die("can't open file"); $stringData = $ipAddress; fwrite($fh, $stringData . "\n"); fclose($fh); } else { //File not writeable $return="error"; } //return is used for javascript handling later on - nothing related } ?>
Output for git.master, git.master_jit, rfc.property-hooks

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:
35.92 ms | 401 KiB | 8 Q