3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr=['name'=>'test']; echo strlen(''); var_dump(isset($arr['ge'])); var_dump($arr['ge']); var_dump(empty(null)); var_dump(null ==''); function get(a){echo $a;} get();

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.280.0100.06012.38
5.4.270.0110.06312.38
5.4.260.0100.05212.38
5.4.250.0110.06912.38
5.4.240.0080.05112.38
5.4.230.0120.05412.37
5.4.220.0130.05412.37
5.4.210.0120.05812.37
5.4.200.0080.04712.37
5.4.190.0130.05612.36
5.4.180.0070.05012.36
5.4.170.0100.05812.37
5.4.160.0090.05312.37
5.4.150.0090.04912.37
5.4.140.0100.04412.05
5.4.130.0110.05312.03
5.4.120.0110.04712.00
5.4.110.0070.05712.00
5.4.100.0110.04612.00
5.4.90.0100.04712.00
5.4.80.0070.04912.00
5.4.70.0110.04211.99
5.4.60.0090.05011.99
5.4.50.0090.05111.99
5.4.40.0060.04611.98
5.4.30.0120.04411.98
5.4.20.0080.05111.97
5.4.10.0080.04911.98
5.4.00.0070.05911.47
5.3.280.0090.05712.71
5.3.270.0090.04712.73
5.3.260.0090.05812.72
5.3.250.0100.05312.72
5.3.240.0120.05412.72
5.3.230.0120.05012.71
5.3.220.0090.05412.68
5.3.210.0130.06012.68
5.3.200.0130.04712.68
5.3.190.0070.05612.68
5.3.180.0100.04912.67
5.3.170.0110.06212.67
5.3.160.0130.05112.67
5.3.150.0100.05812.67
5.3.140.0110.06212.66
5.3.130.0100.05612.66
5.3.120.0110.05212.66
5.3.110.0100.05612.66
5.3.100.0120.05012.12
5.3.90.0120.04712.08
5.3.80.0100.04612.07
5.3.70.0110.05412.07
5.3.60.0090.04712.06
5.3.50.0090.04412.00
5.3.40.0070.03812.00
5.3.30.0070.04711.95
5.3.20.0070.05511.71
5.3.10.0070.05411.68
5.3.00.0040.05611.67
5.2.170.0070.0429.17
5.2.160.0070.0499.17
5.2.150.0070.0399.16
5.2.140.0080.0459.16
5.2.130.0040.0379.13
5.2.120.0080.0349.12
5.2.110.0070.0429.13
5.2.100.0080.0399.13
5.2.90.0080.0399.13
5.2.80.0070.0469.13
5.2.70.0050.0389.12
5.2.60.0090.0359.07
5.2.50.0060.0379.04
5.2.40.0040.0329.02
5.2.30.0060.0389.00
5.2.20.0080.0298.99
5.2.10.0070.0378.91
5.2.00.0090.0488.77
5.1.60.0040.0368.05
5.1.50.0050.0318.05
5.1.40.0070.0288.04
5.1.30.0070.0288.38
5.1.20.0040.0348.41
5.1.10.0050.0358.13
5.1.00.0050.0368.13
5.0.50.0060.0266.61
5.0.40.0050.0256.47
5.0.30.0040.0396.28
5.0.20.0060.0236.26
5.0.10.0070.0316.23
5.0.00.0040.0346.21
4.4.90.0040.0154.78
4.4.80.0020.0164.76
4.4.70.0030.0154.75
4.4.60.0040.0154.76
4.4.50.0080.0314.77
4.4.40.0040.0264.71
4.4.30.0060.0134.76
4.4.20.0040.0154.85
4.4.10.0040.0164.85
4.4.00.0020.0294.76
4.3.110.0020.0184.67
4.3.100.0060.0294.66
4.3.90.0040.0244.64
4.3.80.0030.0254.58
4.3.70.0030.0164.63
4.3.60.0050.0154.63
4.3.50.0040.0194.63
4.3.40.0040.0314.54
4.3.30.0030.0193.27
4.3.20.0020.0183.25
4.3.10.0020.0203.22
4.3.00.0000.0238.17

preferences:
145.26 ms | 1394 KiB | 7 Q