3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo basename('.com/me-1/you-2');
based on 7BJZW

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.60.0060.00616.74
7.2.00.0030.01019.02
7.1.200.0060.00915.44
7.1.100.0080.00417.86
7.1.70.0080.00616.89
7.1.60.0140.01119.22
7.1.50.0030.02016.92
7.1.00.0070.07022.40
7.0.200.0000.00716.65
7.0.140.0070.06321.95
7.0.60.0070.04019.93
7.0.50.0030.08317.78
7.0.40.0030.08720.25
7.0.30.0230.03320.13
7.0.20.0330.08020.16
7.0.10.0070.09020.02
7.0.00.0000.06020.16
5.6.280.0030.07021.12
5.6.210.0030.04020.60
5.6.200.0130.07318.19
5.6.190.0070.04020.61
5.6.180.0330.07720.64
5.6.170.0330.08020.40
5.6.160.0130.05020.52
5.6.150.0070.03718.08
5.6.140.0070.05018.15
5.6.130.0070.08718.17
5.6.120.0100.05020.98
5.6.110.0030.09021.02
5.6.100.0070.07020.97
5.6.90.0030.06020.96
5.6.80.0070.03320.52
5.5.350.3470.04020.43
5.5.340.0070.07718.00
5.5.330.0030.05020.06
5.5.320.0430.07020.32
5.5.310.0330.07020.14
5.5.300.0100.07017.94
5.5.290.0070.07718.00
5.5.280.0100.05720.86
5.5.270.0070.08720.75
5.5.260.0200.07020.74
5.5.250.0130.06020.61
5.5.240.0100.05720.18
5.4.450.0230.06019.54
5.4.440.0330.07019.53
5.4.430.0230.06319.41
5.4.420.0300.07019.54
5.4.410.0200.04019.29
5.4.400.0400.06718.88
5.4.390.0270.07319.09
5.4.380.0270.07719.09
5.4.370.0330.07018.93
5.4.360.0230.05019.23
5.4.350.0130.04719.13
5.4.340.0230.03719.08
5.4.320.0100.04319.16
5.4.310.0170.04018.92
5.4.300.0230.03319.13
5.4.290.0170.03718.93
5.4.280.0170.03719.08
5.4.270.0130.04018.88
5.4.260.0230.03719.07
5.4.250.0200.04019.25
5.4.240.0170.03719.07
5.4.230.0070.05319.05
5.4.220.0100.04319.13
5.4.210.0200.03319.23
5.4.200.0170.03718.84
5.4.190.0230.03019.07
5.4.180.0130.04018.78
5.4.170.0170.03718.79
5.4.160.0200.03318.76
5.4.150.0170.03719.07
5.4.140.0230.03016.54
5.4.130.0230.03716.29
5.4.120.0230.07316.21
5.4.110.0330.06316.39
5.4.100.0330.06316.34
5.4.90.0300.05316.34
5.4.80.0230.04716.42
5.4.70.0300.05016.32
5.4.60.0300.06316.23
5.4.50.0270.03716.37
5.4.40.0330.02716.20
5.4.30.0200.04016.36
5.4.20.0230.04716.36
5.4.10.0400.06316.43
5.4.00.0300.05015.73
5.3.290.0170.03714.81
5.3.280.0130.04014.81
5.3.270.0170.03714.81
5.3.260.0200.03314.81
5.3.250.0200.03314.81
5.3.240.0270.05314.81
5.3.230.0300.06714.81
5.3.220.0270.07714.81
5.3.210.0270.05014.81
5.3.200.0230.06314.81
5.3.190.0300.07314.81
5.3.180.0270.06314.81
5.3.170.0230.07314.81
5.3.160.0270.04014.81
5.3.150.0300.03014.81
5.3.140.0300.04714.81
5.3.130.0270.05714.81
5.3.120.0330.06714.81
5.3.110.0370.07014.81
5.3.100.0270.04014.81
5.3.90.0400.04314.81
5.3.80.0230.06314.81
5.3.70.0300.05014.81
5.3.60.0400.07014.81
5.3.50.0300.07314.81
5.3.40.0230.07014.81
5.3.30.0430.05714.81
5.3.20.0230.04014.81
5.3.10.0270.05314.81
5.3.00.0330.05314.81
5.2.170.0270.03714.81
5.2.160.0130.03714.81
5.2.150.0300.05314.81
5.2.140.0200.03714.81
5.2.130.0270.06314.81
5.2.120.0330.04714.81
5.2.110.0170.04314.81
5.2.100.0230.04314.81
5.2.90.0270.05014.81
5.2.80.0270.05014.81
5.2.70.0230.04714.81
5.2.60.0170.03714.81
5.2.50.0230.05714.81
5.2.40.0270.04314.81
5.2.30.0200.05714.81
5.2.20.0230.05314.81
5.2.10.0230.03314.81
5.2.00.0170.05014.81
5.1.60.0230.03014.81
5.1.50.0270.03014.81
5.1.40.0200.03014.81
5.1.30.0230.04314.81
5.1.20.0270.02314.81
5.1.10.0230.04014.81
5.1.00.0130.04014.81
5.0.50.0070.03714.81
5.0.40.0070.02314.81
5.0.30.0130.05714.81
5.0.20.0200.02314.81
5.0.10.0100.04714.81
5.0.00.0100.06314.81
4.4.90.0100.02014.81
4.4.80.0070.03714.81
4.4.70.0070.04014.81
4.4.60.0100.03314.81
4.4.50.0130.03014.81
4.4.40.0070.03014.81
4.4.30.0100.02314.81
4.4.20.0070.02014.81
4.4.10.0070.03014.81
4.4.00.0070.03314.81
4.3.110.0130.03014.81
4.3.100.0170.03014.81
4.3.90.0100.01714.81
4.3.80.0070.05014.81
4.3.70.0130.03014.81
4.3.60.0070.03714.81
4.3.50.0200.02714.81
4.3.40.0130.03714.81
4.3.30.0030.02314.81
4.3.20.0030.02014.81
4.3.10.0100.03014.81
4.3.00.0030.02014.81