3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Data { public $foo = 'bar'; public function wtf() { unset($this->foo); } } $d = new Data; var_dump('foo exists', isset($d['foo']); $d->wtf(); var_dump('foo exists', isset($d['foo']);

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.300.0120.03612.51
5.4.290.0110.03712.51
5.4.280.0050.04312.41
5.4.270.0050.04212.41
5.4.260.0050.04512.41
5.4.250.0080.04512.41
5.4.240.0090.04112.41
5.4.230.0090.03912.40
5.4.220.0090.03512.40
5.4.210.0110.03312.40
5.4.200.0100.03512.40
5.4.190.0060.03812.40
5.4.180.0080.03812.39
5.4.170.0070.04412.41
5.4.160.0090.04512.40
5.4.150.0070.04812.39
5.4.140.0100.05012.09
5.4.130.0090.04812.07
5.4.120.0090.04712.04
5.4.110.0110.04512.03
5.4.100.0080.04612.03
5.4.90.0070.05112.03
5.4.80.0100.04812.03
5.4.70.0050.04912.03
5.4.60.0060.04812.02
5.4.50.0040.05212.02
5.4.40.0050.04612.01
5.4.30.0130.03012.01
5.4.20.0030.03812.00
5.4.10.0070.03412.01
5.4.00.0080.03511.50
5.3.280.0100.03612.71
5.3.270.0130.03712.72
5.3.260.0070.05612.72
5.3.250.0060.05512.72
5.3.240.0090.05312.72
5.3.230.0070.04312.71
5.3.220.0080.05012.68
5.3.210.0090.04212.68
5.3.200.0110.04812.68
5.3.190.0080.05212.68
5.3.180.0160.04312.68
5.3.170.0100.05112.67
5.3.160.0140.04912.68
5.3.150.0100.05112.68
5.3.140.0080.04612.66
5.3.130.0050.05512.66
5.3.120.0070.04112.66
5.3.110.0060.04212.66
5.3.100.0110.03612.13
5.3.90.0040.04412.11
5.3.80.0070.04112.10
5.3.70.0080.03812.10
5.3.60.0090.03812.08
5.3.50.0070.04012.02
5.3.40.0070.03912.03
5.3.30.0070.04211.98
5.3.20.0090.04811.76
5.3.10.0060.05011.73
5.3.00.0090.05211.72

preferences:
142.61 ms | 1394 KiB | 7 Q