3v4l.org

run code in 300+ PHP versions simultaneously
$code= urlencode('<?php echo "waa"; '); $url="http://3v4l.org/"; $params = array("http" => array( "method" => "POST", "content" => "code=".$code )); $ctx = stream_context_create($params); $fp = @fopen($url, "rb", false, $ctx); if (!$fp) { throw new Exception("Problem with $url, $php_errormsg"); } $response = @stream_get_contents($fp); if ($response === false) { throw new Exception("Problem reading data from $url, $php_errormsg"); } print $response;

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.00.0290.04611.46
5.3.100.0220.06112.12
5.3.90.0190.04812.08
5.3.80.0190.04212.08
5.3.70.0210.06212.08
5.3.60.0150.04512.06
5.3.50.0150.04512.00
5.3.40.0180.07312.00
5.3.30.0210.06911.94
5.3.20.0310.10311.72
5.3.10.0190.05311.68
5.3.00.0200.05411.66

preferences:
131.73 ms | 1394 KiB | 7 Q