3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 5; $foo = (string)$foo echo "This is the number: " ?>

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.0230.04319.08
5.4.310.0130.04319.16
5.4.300.0200.04718.95
5.4.290.0230.04018.99
5.4.280.0330.03319.15
5.4.270.0270.07019.13
5.4.260.0170.04719.18
5.4.250.0170.03719.04
5.4.240.0200.06319.21
5.4.230.0200.03319.21
5.4.220.0300.02718.86
5.4.210.0130.04019.21
5.4.200.0270.03718.97
5.4.190.0000.05018.86
5.4.180.0030.03719.21
5.4.170.0870.04318.84
5.4.160.1770.04318.85
5.4.150.1630.04319.07
5.4.140.1970.03716.45
5.4.130.1800.03316.48
5.4.120.1700.03316.32
5.4.110.1530.03716.38
5.4.100.1730.03316.19
5.4.90.1700.03016.59
5.4.80.1730.03316.50
5.4.70.1930.03716.39
5.4.60.1700.03716.49
5.4.50.1800.03016.43
5.4.40.2070.03316.53
5.4.30.1830.03716.32
5.4.20.1730.03316.42
5.4.10.1630.03716.42
5.4.00.1600.04015.84
5.3.290.1130.04014.51
5.3.280.0030.04314.58
5.3.270.0030.03714.44
5.3.260.0170.03314.51
5.3.250.1370.04014.65
5.3.240.1700.03314.50
5.3.230.1700.03014.54
5.3.220.1630.03714.42
5.3.210.1670.05314.43
5.3.200.0000.04014.41
5.3.190.0070.03314.40
5.3.180.0870.03014.41
5.3.170.1830.03014.39
5.3.160.1600.03714.44
5.3.150.1630.03714.51
5.3.140.1570.03714.46
5.3.130.1700.03314.42
5.3.120.1600.04014.39
5.3.110.1670.03714.49
5.3.100.1530.04013.91
5.3.90.0030.03713.97
5.3.80.0000.04014.06
5.3.70.0800.03313.85
5.3.60.1400.03314.10
5.3.50.1500.04013.75
5.3.40.1600.04013.78
5.3.30.1270.04313.86
5.3.20.1470.03713.78
5.3.10.1500.03713.56
5.3.00.1870.04313.59
5.2.170.1700.03311.05
5.2.160.1400.03011.20
5.2.150.1370.03311.03
5.2.140.1500.02710.98
5.2.130.1470.03010.94
5.2.120.1070.03310.94
5.2.110.1500.03311.04
5.2.100.1630.03310.96
5.2.90.1570.03710.94
5.2.80.0470.05311.00
5.2.70.0100.05711.00
5.2.60.0070.03011.05
5.2.50.1000.04311.06
5.2.40.1130.02710.93
5.2.30.1070.03010.99
5.2.20.1400.03310.86
5.2.10.1330.03710.76
5.2.00.1370.03310.59
5.1.60.1330.0209.92
5.1.50.1270.0279.98
5.1.40.1270.03310.11
5.1.30.1300.02710.27
5.1.20.1170.02710.46
5.1.10.1100.02710.04
5.1.00.1170.03310.23
5.0.50.0000.0278.68
5.0.40.0030.0208.27
5.0.30.0000.0538.35
5.0.20.0030.0278.13
5.0.10.0000.0238.14
5.0.00.0000.0308.16
4.4.90.0100.0308.13
4.4.80.0370.0178.13
4.4.70.0730.0278.13
4.4.60.0700.0308.13
4.4.50.0600.0178.13
4.4.40.0600.0208.13
4.4.30.0570.0138.13
4.4.20.0770.0208.13
4.4.10.0700.0208.13
4.4.00.0570.0238.13
4.3.110.0700.0238.13
4.3.100.0670.0178.13
4.3.90.0530.0178.13
4.3.80.0700.0408.13
4.3.70.0200.0178.13
4.3.60.0500.0308.13
4.3.50.0670.0138.13
4.3.40.0570.0238.13
4.3.30.0330.0178.13
4.3.20.0270.0178.13
4.3.10.0330.0138.13
4.3.00.0270.0178.13

preferences:
139.64 ms | 1394 KiB | 7 Q