3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(0,0); var_dump(array === [0x100000000 => 0]);

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.110.0070.07720.99
5.6.100.0130.08021.10
5.6.90.0200.07721.10
5.6.80.0070.06720.27
5.5.270.0070.07720.82
5.5.260.0130.04020.67
5.5.250.0130.05320.49
5.5.240.0030.08020.23
5.4.430.0770.06319.62
5.4.420.0900.06719.23
5.4.410.0830.04019.15
5.4.400.0700.05719.12
5.4.390.0600.05019.24
5.4.380.0630.04719.29
5.4.370.0500.06319.21
5.4.360.0530.06019.16
5.4.350.0670.05019.06
5.4.340.0530.05319.28
5.4.320.0570.05018.95
5.4.310.0530.04719.01
5.4.300.0570.04019.30
5.4.290.0170.05719.23
5.4.280.0130.05719.21
5.4.270.0570.05319.07
5.4.260.0730.05719.31
5.4.250.0430.05719.23
5.4.240.0730.04719.11
5.4.230.0300.04319.20
5.4.220.0330.05319.05
5.4.210.0500.05319.11
5.4.200.0530.05016.97
5.4.190.0070.05319.20
5.4.180.0400.05019.21
5.4.170.0400.06019.13
5.4.160.0200.06319.00
5.4.150.0330.04319.18
5.4.140.0500.04716.40
5.4.130.0470.04716.28
5.4.120.0030.05316.45
5.4.110.0570.04716.65
5.4.100.0530.05316.66
5.4.90.0330.06316.56
5.4.80.0770.03716.61
5.4.70.0830.04716.61
5.4.60.0500.05316.29
5.4.50.0600.05016.52
5.4.40.0670.04316.20
5.4.30.0630.05716.48
5.4.20.0530.05716.23
5.4.10.0470.06016.53
5.4.00.0470.05015.91
5.3.290.0630.06014.69
5.3.280.0470.06714.44
5.3.270.0470.05714.45
5.3.260.0500.05314.40
5.3.250.0570.04714.47
5.3.240.0530.04714.52
5.3.230.0430.05014.52
5.3.220.0600.05314.48
5.3.210.0400.06014.44
5.3.200.0670.04014.48
5.3.190.0300.05714.36
5.3.180.0330.05014.46
5.3.170.0530.05014.43
5.3.160.0600.05314.57
5.3.150.0470.05014.48
5.3.140.0570.05014.46
5.3.130.0670.06014.48
5.3.120.0600.05714.36
5.3.110.0700.04714.44
5.3.100.0700.04713.94
5.3.90.0770.05313.92
5.3.80.0630.05013.93
5.3.70.0630.04713.86
5.3.60.0730.05013.84
5.3.50.0670.05013.86
5.3.40.0630.05313.91
5.3.30.0500.05013.79
5.3.20.0500.05013.55
5.3.10.0430.05313.60
5.3.00.0700.05013.51
5.2.170.0330.04011.13
5.2.160.0430.04011.15
5.2.150.0530.04011.09
5.2.140.0370.04711.22
5.2.130.0430.04711.11
5.2.120.0470.04010.94
5.2.110.0530.05010.96
5.2.100.0570.04011.14
5.2.90.0570.03711.06
5.2.80.0630.03710.95
5.2.70.0600.04010.93
5.2.60.0530.04010.95
5.2.50.0600.05311.08
5.2.40.0630.04011.07
5.2.30.0470.05011.04
5.2.20.0800.06010.94
5.2.10.0300.04310.77
5.2.00.0530.03710.64
5.1.60.0400.0339.93
5.1.50.0430.04010.02
5.1.40.0570.0339.89
5.1.30.0370.04710.23
5.1.20.0630.02710.20
5.1.10.0500.0379.96
5.1.00.0500.03010.13
5.0.50.0300.0238.43
5.0.40.0170.0338.40
5.0.30.0270.0508.25
5.0.20.0230.0278.19
5.0.10.0170.0308.05
5.0.00.0230.0438.15
4.4.90.0230.0175.88
4.4.80.0270.0135.84
4.4.70.0300.0235.73
4.4.60.0230.0235.73
4.4.50.0200.0205.85
4.4.40.0170.0375.84
4.4.30.0100.0275.73
4.4.20.0200.0235.96
4.4.10.0170.0275.96
4.4.00.0130.0375.92
4.3.110.0200.0205.69
4.3.100.0270.0135.68
4.3.90.0130.0205.64
4.3.80.0200.0375.67
4.3.70.0130.0205.76
4.3.60.0170.0235.76
4.3.50.0230.0205.80
4.3.40.0200.0335.71
4.3.30.0070.0234.41
4.3.20.0030.0274.42
4.3.10.0070.0234.43
4.3.00.0070.0236.98

preferences:
138.66 ms | 1394 KiB | 7 Q