3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_encode('ghkghkghkghk')));

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.4.270.4230.04019.15
5.4.260.4070.03719.22
5.4.250.3930.03718.92
5.4.240.3870.03719.10
5.4.230.4130.03018.95
5.4.220.3900.04319.15
5.4.210.3630.04019.22
5.4.200.3930.04019.12
5.4.190.3930.03319.17
5.4.180.3930.03719.17
5.4.170.3930.04019.18
5.4.160.4130.03319.04
5.4.150.3830.04019.20
5.4.140.4170.03716.45
5.4.130.3830.04016.46
5.4.120.3870.03316.51
5.4.110.3700.03316.51
5.4.100.3800.03716.54
5.4.90.4170.03316.45
5.4.80.3830.03316.47
5.4.70.3800.03716.59
5.4.60.3570.03716.46
5.4.50.3930.03016.30
5.4.40.3670.03716.52
5.4.30.3500.02716.53
5.4.20.3670.03016.44
5.4.10.3700.03316.42
5.4.00.3600.03715.71
5.3.280.4330.03014.54
5.3.270.3930.03714.55
5.3.260.3630.04014.41
5.3.250.3870.04014.57
5.3.240.3970.04014.54
5.3.230.3330.03714.52
5.3.220.3630.04014.50
5.3.210.3970.03314.51
5.3.200.3900.03714.50
5.3.190.3670.03314.51
5.3.180.3630.04014.46
5.3.170.3800.03714.44
5.3.160.4570.02014.49
5.3.150.4500.03714.50
5.3.140.3900.03714.51
5.3.130.3370.03714.51
5.3.120.3630.04014.48
5.3.110.3700.04314.43
5.3.100.3800.03714.00
5.3.90.3630.03713.90
5.3.80.4270.04013.98
5.3.70.3770.03713.96
5.3.60.3670.03313.79
5.3.50.3670.03713.92
5.3.40.3600.03313.73
5.3.30.4070.03713.84
5.3.20.3700.03313.62
5.3.10.1530.03313.59
5.3.00.0070.07013.58
5.2.170.3030.03011.14
5.2.160.3030.03011.00
5.2.150.3000.02710.96
5.2.140.3170.03311.22
5.2.130.3430.02311.00
5.2.120.3370.02711.26
5.2.110.0130.05311.07
5.2.100.0100.06011.11
5.2.90.2370.02311.08
5.2.80.3870.03010.95
5.2.70.3570.03311.08
5.2.60.3930.03011.05
5.2.50.3870.02710.95
5.2.40.3200.02310.92
5.2.30.2370.03310.82
5.2.20.2370.03010.81
5.2.10.2830.03310.86
5.2.00.2730.02710.74
5.1.60.2730.0309.90
5.1.50.2800.02310.06
5.1.40.2570.0209.88
5.1.30.2670.02710.34
5.1.20.2670.03010.23
5.1.10.2600.03010.05
5.1.00.2770.02710.03
5.0.50.1530.0208.70
5.0.40.1470.0208.25
5.0.30.0000.0678.30
5.0.20.0030.0238.23
5.0.10.0070.0438.13
5.0.00.0070.0508.19
4.4.90.1470.0136.41
4.4.80.1770.0176.41
4.4.70.1370.0206.41
4.4.60.1370.0136.41
4.4.50.1400.0206.41
4.4.40.1230.0206.41
4.4.30.1430.0176.41
4.4.20.1530.0206.41
4.4.10.1730.0176.41
4.4.00.1470.0276.41
4.3.110.1130.0176.41
4.3.100.0030.0236.41
4.3.90.0000.0406.41
4.3.80.0000.0436.41
4.3.70.0030.0276.41
4.3.60.0030.0206.41
4.3.50.0000.0406.41
4.3.40.1400.0276.41
4.3.30.0970.0236.41
4.3.20.0970.0236.41
4.3.10.0970.0206.41
4.3.00.0900.0176.41

preferences:
144.88 ms | 939 KiB | 8 Q