3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo str_replace('1', 2147483647, serialize("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.80.0030.05020.40
5.5.240.0030.07720.01
5.4.400.3630.04019.11
5.4.390.2870.03318.81
5.4.380.3230.04018.93
5.4.370.3300.04018.91
5.4.360.3200.04319.05
5.4.350.3200.04319.09
5.4.340.3400.03719.25
5.4.320.3070.03719.11
5.4.310.3300.03719.11
5.4.300.2570.03719.13
5.4.290.0130.03319.10
5.4.280.0030.08319.06
5.4.270.0070.04718.77
5.4.260.2000.04718.93
5.4.250.3370.03019.10
5.4.240.3270.03318.81
5.4.230.3070.04719.08
5.4.220.3270.03318.92
5.4.210.3230.03019.26
5.4.200.3330.04019.23
5.4.190.3200.03719.12
5.4.180.3130.04319.08
5.4.170.2900.03719.09
5.4.160.3330.03019.20
5.4.150.2830.04019.23
5.4.140.3230.03316.44
5.4.130.3300.04016.27
5.4.120.3000.04016.39
5.4.110.3400.03716.07
5.4.100.3400.03716.41
5.4.90.3300.04016.36
5.4.80.3530.03716.21
5.4.70.3400.03716.32
5.4.60.3230.03016.36
5.4.50.3230.03716.42
5.4.40.3170.03316.32
5.4.30.3070.02716.42
5.4.20.3200.03016.39
5.4.10.0600.03016.47
5.4.00.0000.06715.88
5.3.290.0070.07714.57
5.3.280.1070.06014.55
5.3.270.3570.04714.44
5.3.260.3400.03714.45
5.3.250.3500.03314.46
5.3.240.3170.03314.39
5.3.230.3900.04314.56
5.3.220.3400.03714.58
5.3.210.3070.03014.58
5.3.200.3100.03714.41
5.3.190.3270.03314.58
5.3.180.2830.04014.43
5.3.170.3400.03314.58
5.3.160.3500.04314.40
5.3.150.3130.04014.53
5.3.140.3330.03714.50
5.3.130.3300.04014.48
5.3.120.3100.04014.39
5.3.110.3100.04014.40
5.3.100.2900.03314.00
5.3.90.3300.04014.11
5.3.80.3230.03013.88
5.3.70.3570.03713.95
5.3.60.3330.03713.99
5.3.50.3270.03713.77
5.3.40.3030.03713.91
5.3.30.3300.03713.96
5.3.20.3500.03713.64
5.3.10.3300.03313.50
5.3.00.3430.02713.68
5.2.170.2770.03011.05
5.2.160.2670.03010.98
5.2.150.2700.03711.16
5.2.140.2470.02710.98
5.2.130.2900.02710.94
5.2.120.2770.03011.04
5.2.110.2900.03010.96
5.2.100.2900.03010.94
5.2.90.2570.03311.17
5.2.80.3130.02710.93
5.2.70.2730.03710.98
5.2.60.2570.02710.95
5.2.50.2630.03010.88
5.2.40.2070.03010.85
5.2.30.2270.02311.02
5.2.20.2470.02710.86
5.2.10.2330.03010.79
5.2.00.2470.03010.82
5.1.60.2200.02710.11
5.1.50.2070.02710.12
5.1.40.2130.02310.10
5.1.30.2100.02310.29
5.1.20.2370.02310.43
5.1.10.2600.02310.24
5.1.00.2430.02310.15
5.0.50.1330.0208.45
5.0.40.1200.0208.55
5.0.30.1130.0338.20
5.0.20.1100.0178.13
5.0.10.1030.0208.15
5.0.00.1300.0338.24
4.4.90.1030.0176.40
4.4.80.1070.0136.40
4.4.70.1300.0206.40
4.4.60.1300.0206.40
4.4.50.1100.0106.40
4.4.40.1270.0276.40
4.4.30.1070.0136.40
4.4.20.1070.0136.40
4.4.10.1300.0206.40
4.4.00.1070.0276.40
4.3.110.1070.0136.40
4.3.100.1230.0236.40
4.3.90.1270.0176.40
4.3.80.1230.0336.40
4.3.70.1170.0236.40
4.3.60.1200.0176.40
4.3.50.1030.0176.40
4.3.40.1270.0306.40
4.3.30.0700.0136.40
4.3.20.0630.0206.40
4.3.10.0530.0176.40
4.3.00.0570.0176.40

preferences:
128.48 ms | 1398 KiB | 7 Q