3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = array('9' => 'bar'); unset($f['j']); var_export($f); unset($f['j']['l'])

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.6.80.0100.03320.39
5.5.240.0000.08020.11
5.4.400.0170.05718.50
5.4.390.0300.04718.75
5.4.380.0170.06018.60
5.4.370.0200.05318.65
5.4.360.0430.03318.49
5.4.350.0270.05318.57
5.4.340.0130.06018.75
5.4.320.0200.05718.66
5.4.310.0270.05318.52
5.4.300.0200.05018.49
5.4.290.0230.05018.56
5.4.280.0300.05018.59
5.4.270.0130.06318.51
5.4.260.0270.05718.71
5.4.250.0230.05018.68
5.4.240.0200.05718.64
5.4.230.0130.06018.73
5.4.220.0200.05318.65
5.4.210.0130.05718.49
5.4.200.0300.06316.74
5.4.190.0430.05318.50
5.4.180.0270.07318.58
5.4.170.0230.05018.64
5.4.160.0270.04318.58
5.4.150.0200.05318.72
5.4.140.0230.05716.27
5.4.130.0170.05016.32
5.4.120.0200.05016.06
5.4.110.0200.07016.04
5.4.100.0300.06316.15
5.4.90.0170.05316.17
5.4.80.0300.04016.04
5.4.70.0300.04016.13
5.4.60.0130.05316.28
5.4.50.0130.05716.23
5.4.40.0270.04316.13
5.4.30.0270.04316.21
5.4.20.0270.04316.17
5.4.10.0130.05316.27
5.4.00.0230.04715.53
5.3.290.0330.06314.67
5.3.280.0200.05314.60
5.3.270.0200.05714.72
5.3.260.0370.05014.66
5.3.250.0200.05014.52
5.3.240.0230.05314.68
5.3.230.0230.07014.51
5.3.220.0270.06714.64
5.3.210.0070.06714.62
5.3.200.0130.06314.56
5.3.190.0200.05714.50
5.3.180.0200.05314.55
5.3.170.0200.05014.55
5.3.160.0300.05314.52
5.3.150.0230.06014.55
5.3.140.0230.04714.55
5.3.130.0130.06014.55
5.3.120.0200.07314.47
5.3.110.0130.07014.66
5.3.100.0230.05013.95
5.3.90.0300.04313.95
5.3.80.0300.04314.00
5.3.70.0230.06714.02
5.3.60.0200.06314.00
5.3.50.0400.04713.86
5.3.40.0230.06313.86
5.3.30.0330.05713.86
5.3.20.0470.03713.60
5.3.10.0400.05013.61
5.3.00.0300.06313.71
5.2.170.0170.06311.30
5.2.160.0330.04311.10
5.2.150.0170.06711.13
5.2.140.0200.05711.09
5.2.130.0130.04711.16
5.2.120.0200.04011.25
5.2.110.0170.04711.09
5.2.100.0300.03711.24
5.2.90.0230.04311.07
5.2.80.0270.03711.13
5.2.70.0030.05311.13
5.2.60.0130.04711.08
5.2.50.0170.04711.08
5.2.40.0230.03710.94
5.2.30.0170.04711.12
5.2.20.0100.04310.99
5.2.10.0100.05710.91
5.2.00.0170.04710.81
5.1.60.0070.04310.00
5.1.50.0170.04310.06
5.1.40.0100.05010.10
5.1.30.0200.03010.38
5.1.20.0170.04710.51
5.1.10.0130.04710.16
5.1.00.0170.04010.09
5.0.50.0100.0308.53
5.0.40.0070.0308.51
5.0.30.0100.0478.24
5.0.20.0170.0278.19
5.0.10.0100.0308.25
5.0.00.0130.0478.36
4.4.90.0100.0205.92
4.4.80.0030.0235.88
4.4.70.0130.0205.88
4.4.60.0070.0305.86
4.4.50.0100.0205.88
4.4.40.0070.0375.92
4.4.30.0170.0175.93
4.4.20.0100.0275.95
4.4.10.0130.0175.98
4.4.00.0100.0305.94
4.3.110.0170.0135.76
4.3.100.0130.0135.84
4.3.90.0000.0275.91
4.3.80.0030.0375.79
4.3.70.0070.0275.80
4.3.60.0170.0205.82
4.3.50.0070.0235.84
4.3.40.0100.0305.73
4.3.30.0030.0234.63
4.3.20.0030.0234.52
4.3.10.0000.0274.61
4.3.00.0070.0236.92

preferences:
141.59 ms | 1432 KiB | 7 Q