3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=' Sandhya Mohandas"'; $b='"Hello World" \n' '"This is from"'; echo $b; ?>

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.320.2830.03318.84
5.4.310.3430.03319.08
5.4.300.3230.03718.96
5.4.290.3300.03719.14
5.4.280.3100.04019.23
5.4.270.3070.03319.19
5.4.260.2900.03019.14
5.4.250.2830.04019.23
5.4.240.3070.04718.86
5.4.230.3030.03019.11
5.4.220.2800.03718.83
5.4.210.2800.03718.99
5.4.200.2600.03319.30
5.4.190.3030.03019.15
5.4.180.2800.03319.04
5.4.170.3070.03019.11
5.4.160.3000.03719.16
5.4.150.2630.03319.10
5.4.140.3230.03016.36
5.4.130.3030.03716.39
5.4.120.3030.03316.34
5.4.110.2870.03016.36
5.4.100.2830.03716.36
5.4.90.2770.03316.51
5.4.80.2800.03716.41
5.4.70.2830.03716.55
5.4.60.3400.04316.17
5.4.50.3470.03316.52
5.4.40.3400.04016.34
5.4.30.3600.04016.41
5.4.20.3600.04316.53
5.4.10.3630.04016.21
5.4.00.3130.04315.84
5.3.290.2800.03714.57
5.3.280.3600.02714.44
5.3.270.3200.04014.55
5.3.260.3130.03314.55
5.3.250.3000.04314.46
5.3.240.2600.03714.65
5.3.230.3130.03314.55
5.3.220.3230.03714.58
5.3.210.2700.04014.66
5.3.200.2970.03314.40
5.3.190.2970.04014.66
5.3.180.3130.03714.53
5.3.170.3100.03314.43
5.3.160.3030.04014.50
5.3.150.3070.03314.39
5.3.140.3100.03314.54
5.3.130.2930.03714.53
5.3.120.3230.03714.50
5.3.110.3070.03714.53
5.3.100.3100.03013.90
5.3.90.3200.03713.93
5.3.80.2770.03713.96
5.3.70.2970.03713.81
5.3.60.3070.03013.95
5.3.50.3200.03713.80
5.3.40.2900.03713.79
5.3.30.3070.04013.96
5.3.20.2700.04313.54
5.3.10.3030.04013.71
5.3.00.3270.03713.48
5.2.170.2430.03011.30
5.2.160.2530.03311.23
5.2.150.2630.03311.16
5.2.140.2670.03311.05
5.2.130.2830.03010.93
5.2.120.2370.02311.11
5.2.110.2530.03011.14
5.2.100.2600.03011.16
5.2.90.2170.02011.18
5.2.80.2530.03310.94
5.2.70.2930.03011.11
5.2.60.2630.03310.88
5.2.50.2870.03010.88
5.2.40.2170.03310.93
5.2.30.2330.03010.91
5.2.20.2070.03010.84
5.2.10.2300.03011.02
5.2.00.3000.02010.84
5.1.60.2400.02710.84
5.1.50.2930.02010.84
5.1.40.2500.03010.84
5.1.30.2400.02710.84
5.1.20.2100.02710.84
5.1.10.2130.03010.84
5.1.00.2200.02310.84
5.0.50.1000.02010.84
5.0.40.1170.02310.84
5.0.30.1100.03010.84
5.0.20.1200.02710.84
5.0.10.1170.02310.84
5.0.00.0900.03310.84
4.4.90.1030.02010.84
4.4.80.0930.01710.84
4.4.70.1070.01710.84
4.4.60.1130.02310.84
4.4.50.1200.01710.84
4.4.40.0930.02310.84
4.4.30.1000.01310.84
4.4.20.1000.01710.84
4.4.10.0930.01710.84
4.4.00.1130.03310.84
4.3.110.1230.02010.84
4.3.100.1070.01710.84
4.3.90.1200.01310.84
4.3.80.1000.02010.84
4.3.70.1030.01710.84
4.3.60.0970.01310.84
4.3.50.0930.01310.84
4.3.40.1070.02310.84
4.3.30.0470.01710.84
4.3.20.0430.01710.84
4.3.10.0470.01710.84
4.3.00.0700.01710.84

preferences:
139.3 ms | 1394 KiB | 7 Q