3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array(); $test[0] = ; if(empty($test[0]){ echo "good"; } ?>

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.0630.06019.20
5.4.270.0470.04719.08
5.4.260.0470.03319.22
5.4.250.0500.06319.21
5.4.240.0400.06319.05
5.4.230.0430.06718.86
5.4.220.0570.06019.05
5.4.210.0470.06719.21
5.4.200.0600.05719.21
5.4.190.0500.03018.97
5.4.180.0530.03718.98
5.4.170.0530.07019.05
5.4.160.0470.04719.11
5.4.150.0470.04318.97
5.4.140.0600.04016.55
5.4.130.0430.03316.34
5.4.120.0500.04316.42
5.4.110.0530.06716.52
5.4.100.0430.04716.58
5.4.90.0500.03716.56
5.4.80.0430.03316.44
5.4.70.0530.05016.44
5.4.60.0430.03716.17
5.4.50.0730.05316.43
5.4.40.0530.05016.53
5.4.30.0530.06316.51
5.4.20.0500.04716.16
5.4.10.0570.04316.53
5.4.00.0370.04715.73
5.3.280.0430.03714.43
5.3.270.0500.03714.65
5.3.260.0400.04014.43
5.3.250.0400.04314.51
5.3.240.0530.06714.70
5.3.230.0430.04014.45
5.3.220.0430.03714.55
5.3.210.0530.04314.51
5.3.200.0570.06014.42
5.3.190.0430.04014.50
5.3.180.0430.04314.61
5.3.170.0570.06314.66
5.3.160.0430.03314.59
5.3.150.0500.04314.52
5.3.140.0500.07014.50
5.3.130.0600.06014.49
5.3.120.0730.04714.39
5.3.110.0500.07014.43
5.3.100.0430.04014.07
5.3.90.0430.04013.96
5.3.80.0470.03313.86
5.3.70.0570.05714.00
5.3.60.0430.04713.78
5.3.50.0470.03713.78
5.3.40.0300.04013.72
5.3.30.0400.03013.74
5.3.20.0300.03713.66
5.3.10.0370.03713.71
5.3.00.0370.04013.73
5.2.170.0270.03012.98
5.2.160.0330.03712.98
5.2.150.0270.03012.98
5.2.140.0230.03312.98
5.2.130.0300.03712.98
5.2.120.0300.02712.98
5.2.110.0300.03012.98
5.2.100.0300.02712.98
5.2.90.0230.03012.98
5.2.80.0300.03012.98
5.2.70.0230.03312.98
5.2.60.0230.03312.98
5.2.50.0230.03312.98
5.2.40.0270.02712.98
5.2.30.0230.02712.98
5.2.20.0230.03012.98
5.2.10.0170.03312.98
5.2.00.0270.02712.98
5.1.60.0270.02012.98
5.1.50.0170.03012.98
5.1.40.0230.02312.98
5.1.30.0230.02312.98
5.1.20.0170.03012.98
5.1.10.0230.02312.98
5.1.00.0200.03012.98
5.0.50.0200.01312.98
5.0.40.0130.01712.98
5.0.30.0170.02312.98
5.0.20.0100.02012.98
5.0.10.0170.01312.98
5.0.00.0130.03012.98
4.4.90.0170.01312.98
4.4.80.0070.01712.98
4.4.70.0130.01312.98
4.4.60.0100.01712.98
4.4.50.0100.01712.98
4.4.40.0130.02012.98
4.4.30.0130.01012.98
4.4.20.0100.01712.98
4.4.10.0130.01312.98
4.4.00.0100.02312.98
4.3.110.0130.01312.98
4.3.100.0100.01312.98
4.3.90.0170.01312.98
4.3.80.0100.02312.98
4.3.70.0130.01712.98
4.3.60.0130.01312.98
4.3.50.0100.02312.98
4.3.40.0100.02312.98
4.3.30.0030.01712.98
4.3.20.0100.01012.98
4.3.10.0030.01712.98
4.3.00.0030.02012.98

preferences:
141.78 ms | 1394 KiB | 7 Q