3v4l.org

run code in 300+ PHP versions simultaneously
<?php int $a = 1; int $b = '2';

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.0070.05720.40
5.5.240.0030.08020.06
5.4.400.2800.03719.22
5.4.390.2570.03719.22
5.4.380.3570.04719.26
5.4.370.3030.04318.89
5.4.360.2900.04719.13
5.4.350.2400.03018.98
5.4.340.2570.02719.16
5.4.320.2970.04019.09
5.4.310.2970.04319.25
5.4.300.2370.03718.84
5.4.290.3200.03319.14
5.4.280.2570.03719.02
5.4.270.2970.04019.09
5.4.260.3000.03718.98
5.4.250.2830.02719.14
5.4.240.3000.03719.21
5.4.230.2830.03719.14
5.4.220.2630.04019.22
5.4.210.3200.04019.14
5.4.200.3100.04319.17
5.4.190.3100.03318.86
5.4.180.2870.04018.98
5.4.170.2870.03719.16
5.4.160.2770.04019.08
5.4.150.3230.04019.21
5.4.140.2930.04316.50
5.4.130.3070.03316.37
5.4.120.3130.03016.30
5.4.110.2730.04316.45
5.4.100.3170.04316.58
5.4.90.2730.03016.47
5.4.80.3300.03316.39
5.4.70.2970.04016.36
5.4.60.3230.03316.56
5.4.50.2970.04016.38
5.4.40.3270.03716.48
5.4.30.2870.03716.53
5.4.20.3170.03016.42
5.4.10.3030.03716.48
5.4.00.3570.03315.84
5.3.290.3230.04314.51
5.3.280.3230.03714.50
5.3.270.3130.04314.46
5.3.260.2970.04014.54
5.3.250.0070.06314.48
5.3.240.0070.07714.51
5.3.230.0000.06314.55
5.3.220.1000.04014.44
5.3.210.2870.03314.51
5.3.200.3000.03714.52
5.3.190.2800.03014.41
5.3.180.3000.04314.42
5.3.170.2730.03714.41
5.3.160.2930.04014.66
5.3.150.3000.04014.41
5.3.140.2870.04714.40
5.3.130.3570.04014.40
5.3.120.3200.03014.40
5.3.110.3030.03714.38
5.3.100.3000.03313.98
5.3.90.3500.03713.97
5.3.80.3300.03714.06
5.3.70.2970.03714.11
5.3.60.3270.03713.83
5.3.50.2970.03713.88
5.3.40.3300.04013.79
5.3.30.3470.04013.93
5.3.20.3430.04313.64
5.3.10.3200.04013.51
5.3.00.3230.03713.65
5.2.170.2270.02311.17
5.2.160.2200.03011.15
5.2.150.2500.03011.04
5.2.140.0800.04711.04
5.2.130.0070.03711.04
5.2.120.0100.05311.04
5.2.110.0070.05711.04
5.2.100.0600.05311.04
5.2.90.2900.02311.04
5.2.80.2300.03011.11
5.2.70.2470.02311.04
5.2.60.2770.02311.04
5.2.50.2230.03711.04
5.2.40.2270.03711.14
5.2.30.2200.03011.04
5.2.20.2230.03011.04
5.2.10.1500.03311.04
5.2.00.1970.03011.04
5.1.60.2200.02711.04
5.1.50.2230.02311.04
5.1.40.1730.02311.04
5.1.30.2300.02311.04
5.1.20.2100.03011.04
5.1.10.2300.03011.04
5.1.00.2200.03011.04
5.0.50.1200.02711.04
5.0.40.0770.02011.04
5.0.30.1130.03311.04
5.0.20.1170.02711.04
5.0.10.1200.02011.04
5.0.00.1000.03011.04
4.4.90.1300.01711.04
4.4.80.1170.01711.04
4.4.70.1200.02311.04
4.4.60.0970.01711.04
4.4.50.0870.02011.04
4.4.40.1130.02711.04
4.4.30.0770.01311.04
4.4.20.0730.01711.04
4.4.10.1100.01311.04
4.4.00.1130.03011.04
4.3.110.0930.02011.04
4.3.100.1100.01011.04
4.3.90.1200.01311.04
4.3.80.1200.02711.04
4.3.70.1230.02311.04
4.3.60.1270.01711.04
4.3.50.1100.01711.04
4.3.40.1200.02711.04
4.3.30.0700.02311.04
4.3.20.0370.03311.04
4.3.10.0770.01711.04
4.3.00.0770.02011.04

preferences:
148.04 ms | 939 KiB | 8 Q