3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 42; echo "*$foo*"

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.340.0330.07019.10
5.4.320.0230.04319.24
5.4.310.0230.07319.09
5.4.300.0270.05719.09
5.4.290.0300.04319.13
5.4.280.0330.05019.16
5.4.270.0330.07719.25
5.4.260.0230.05719.07
5.4.250.0370.05018.80
5.4.240.0230.05018.87
5.4.230.0170.04719.09
5.4.220.0200.03718.92
5.4.210.0170.03719.15
5.4.200.0200.03319.16
5.4.190.0170.03719.15
5.4.180.0200.04019.08
5.4.170.0200.04719.24
5.4.160.0200.07318.91
5.4.150.0130.04018.91
5.4.140.0170.03716.45
5.4.130.0200.03016.35
5.4.120.0230.03016.36
5.4.110.0170.03716.48
5.4.100.0200.03316.30
5.4.90.0130.03716.30
5.4.80.0100.04016.39
5.4.70.0170.04016.41
5.4.60.0170.03316.36
5.4.50.0100.04016.47
5.4.40.0200.03016.36
5.4.30.0170.03316.18
5.4.20.0170.03716.32
5.4.10.0170.03316.38
5.4.00.0130.03715.70
5.3.290.0200.04714.50
5.3.280.0230.04014.64
5.3.270.0170.04314.48
5.3.260.0130.05014.54
5.3.250.0070.04714.53
5.3.240.0200.04014.59
5.3.230.0170.04314.50
5.3.220.0130.04014.45
5.3.210.0130.04314.50
5.3.200.0200.03314.54
5.3.190.0230.03714.45
5.3.180.0200.03314.61
5.3.170.0100.04014.45
5.3.160.0170.03714.45
5.3.150.0200.03314.51
5.3.140.0230.03014.51
5.3.130.0170.04314.53
5.3.120.0170.03714.50
5.3.110.0200.04014.49
5.3.100.0170.03714.45
5.3.90.0230.03014.45
5.3.80.0170.03714.45
5.3.70.0100.04314.45
5.3.60.0130.03714.45
5.3.50.0270.03014.45
5.3.40.0170.04014.45
5.3.30.0200.04314.45
5.3.20.0270.05014.45
5.3.10.0300.06714.45
5.3.00.0200.04714.45
5.2.170.0130.03014.45
5.2.160.0130.02714.45
5.2.150.0170.03014.45
5.2.140.0170.03014.45
5.2.130.0200.02714.45
5.2.120.0230.02714.45
5.2.110.0200.05714.45
5.2.100.0270.02314.45
5.2.90.0230.02714.45
5.2.80.0170.05014.45
5.2.70.0230.03314.45
5.2.60.0270.05714.45
5.2.50.0170.03714.45
5.2.40.0170.04014.45
5.2.30.0170.04014.45
5.2.20.0170.03314.45
5.2.10.0170.05714.45
5.2.00.0200.05014.45
5.1.60.0200.02714.45
5.1.50.0200.03014.45
5.1.40.0300.04014.45
5.1.30.0230.04014.45
5.1.20.0200.03314.45
5.1.10.0100.03014.45
5.1.00.0170.02314.45
5.0.50.0130.02714.45
5.0.40.0070.04314.45
5.0.30.0100.06714.45
5.0.20.0130.03714.45
5.0.10.0070.03314.45
5.0.00.0130.05014.45
4.4.90.0070.03714.45
4.4.80.0070.02014.45
4.4.70.0130.03014.45
4.4.60.0170.02014.45
4.4.50.0100.02714.45
4.4.40.0100.05014.45
4.4.30.0100.03314.45
4.4.20.0100.01314.45
4.4.10.0100.01714.45
4.4.00.0170.04714.45
4.3.110.0100.03714.45
4.3.100.0100.03314.45
4.3.90.0070.03314.45
4.3.80.0100.05314.45
4.3.70.0070.03714.45
4.3.60.0070.02314.45
4.3.50.0130.02014.45
4.3.40.0100.04314.45
4.3.30.0070.02314.45
4.3.20.0030.03714.45
4.3.10.0030.03714.45
4.3.00.0070.02314.45

preferences:
143.03 ms | 1394 KiB | 7 Q