3v4l.org

run code in 300+ PHP versions simultaneously
<?php const A = 1<<2; const B = 1<<3 var_dump(A);

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.70.4330.03720.32
5.4.390.0270.04318.89
5.4.380.0800.06018.84
5.4.370.1170.05718.74
5.4.360.1070.06718.53
5.4.350.0670.06318.76
5.4.340.0700.06318.86
5.4.320.0930.05318.54
5.4.310.0670.07318.59
5.4.300.0670.05718.75
5.4.290.0800.04718.85
5.4.280.0730.05318.70
5.4.270.0570.05318.84
5.4.260.0770.05718.77
5.4.250.1000.04718.72
5.4.240.1030.07718.57
5.4.230.0800.07018.53
5.4.220.0900.05018.70
5.4.210.0670.05018.74
5.4.200.0730.05016.63
5.4.190.1130.06318.73
5.4.180.0930.05318.61
5.4.170.0930.06318.50
5.4.160.0700.05718.77
5.4.150.1270.06318.72
5.4.140.0630.07316.26
5.4.130.0870.07316.32
5.4.120.1300.06316.29
5.4.110.0800.07316.25
5.4.100.0830.06016.29
5.4.90.1030.06316.30
5.4.80.0870.04716.19
5.4.70.1000.06016.21
5.4.60.0730.05716.18
5.4.50.0770.05716.18
5.4.40.0870.06716.20
5.4.30.0700.06316.29
5.4.20.0770.08016.39
5.4.10.0830.06716.21
5.4.00.0870.06015.73
5.3.290.0870.06714.58
5.3.280.0770.05314.49
5.3.270.0900.07314.55
5.3.260.1170.06314.64
5.3.250.1130.05014.61
5.3.240.0930.07014.52
5.3.230.0970.07014.53
5.3.220.1030.07314.62
5.3.210.1030.05014.62
5.3.200.0930.05714.50
5.3.190.0770.06714.66
5.3.180.0800.07314.46
5.3.170.1030.05314.52
5.3.160.1070.07714.65
5.3.150.0630.06314.59
5.3.140.0970.05714.52
5.3.130.0730.04014.59
5.3.120.1200.06014.64
5.3.110.1170.07014.54
5.3.100.0970.06014.01
5.3.90.0800.03713.94
5.3.80.0730.06013.98
5.3.70.1000.06713.99
5.3.60.0770.06013.99
5.3.50.0800.04713.86
5.3.40.0800.05713.91
5.3.30.0770.05713.89
5.3.20.0600.07013.76
5.3.10.1000.05713.59
5.3.00.0600.06713.60
5.2.170.0670.05311.12
5.2.160.0500.06011.29
5.2.150.0530.05011.14
5.2.140.0830.05711.28
5.2.130.0530.04311.09
5.2.120.0500.04011.06
5.2.110.0500.05311.07
5.2.100.0630.04311.07
5.2.90.0730.06711.14
5.2.80.0970.06711.16
5.2.70.0900.04711.04
5.2.60.0830.04311.03
5.2.50.0670.05311.16
5.2.40.0600.05310.98
5.2.30.0500.06010.95
5.2.20.0400.05310.95
5.2.10.0530.04310.87
5.2.00.0570.03710.67
5.1.60.0470.03310.13
5.1.50.0530.02710.02
5.1.40.0370.05310.13
5.1.30.0500.05310.34
5.1.20.0330.05310.34
5.1.10.0630.05010.16
5.1.00.0630.04710.18
5.0.50.0270.0408.53
5.0.40.0300.0308.53
5.0.30.0430.0538.22
5.0.20.0330.0378.37
5.0.10.0400.0238.16
5.0.00.0330.0578.13
4.4.90.0230.0335.92
4.4.80.0300.0175.85
4.4.70.0300.0235.92
4.4.60.0200.0275.82
4.4.50.0270.0235.92
4.4.40.0230.0435.82
4.4.30.0200.0335.89
4.4.20.0370.0276.02
4.4.10.0300.0305.92
4.4.00.0200.0505.93
4.3.110.0330.0275.75
4.3.100.0230.0275.81
4.3.90.0330.0335.79
4.3.80.0130.0405.91
4.3.70.0200.0275.80
4.3.60.0170.0305.82
4.3.50.0130.0235.86
4.3.40.0230.0405.77
4.3.30.0100.0274.95
4.3.20.0100.0304.95
4.3.10.0170.0274.95
4.3.00.0000.0277.03

preferences:
378.78 ms | 1394 KiB | 8 Q