3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_replace('{^(\\\\?(?:[^\\\\]+\\\\?)+)[^\\\\]+$}', '$1', 'Grapa\\Cli\\Db'));
based on GlK3G

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.3.10.0110.00816.34
7.3.00.0120.00716.25
7.2.130.0110.00916.70
7.2.120.0110.00816.66
7.2.110.0120.00516.53
7.2.100.0140.00516.58
7.2.90.0180.00816.90
7.2.80.0100.00416.44
7.2.70.0120.00516.61
7.2.60.0130.00916.71
7.2.50.0180.00816.20
7.2.40.0150.00816.69
7.2.30.0150.00616.67
7.2.20.0130.01116.35
7.2.10.0130.00916.58
7.2.00.0070.01217.54
7.1.250.0140.00515.52
7.1.200.0040.01115.92
7.1.100.0030.01518.14
7.1.70.0040.00717.31
7.1.60.0070.01719.46
7.1.50.0110.01416.97
7.1.00.0070.07322.29
7.0.200.0190.00616.32
7.0.140.0030.06721.95
7.0.60.0030.04019.85
7.0.50.0170.06017.92
7.0.40.0170.07720.21
7.0.30.0200.04020.02
7.0.20.0230.05320.14
7.0.10.0130.08320.03
7.0.00.0130.05320.23
5.6.280.0030.07320.91
5.6.210.0100.08320.46
5.6.200.0100.08018.14
5.6.190.0000.04720.67
5.6.180.0470.07020.61
5.6.170.0270.05320.44
5.6.160.0130.06320.34
5.6.150.0070.05318.22
5.6.140.0030.05718.18
5.6.130.0030.06718.21
5.6.120.0000.09020.98
5.6.110.0200.07021.11
5.6.100.0070.05020.88
5.6.90.0100.08320.92
5.6.80.0070.08020.28
5.5.350.0200.06020.28
5.5.340.0030.04317.92
5.5.330.0030.05020.37
5.5.320.0070.06320.31
5.5.310.0300.04020.27
5.5.300.0000.06017.96
5.5.290.0070.06017.92
5.5.280.0130.07720.76
5.5.270.0100.08020.66
5.5.260.0100.03320.88
5.5.250.0100.03720.78
5.5.240.0100.07320.18
5.4.450.0500.06319.45
5.4.440.0900.05019.63
5.4.430.0330.05719.50
5.4.420.1030.06719.47
5.4.410.0770.05019.44
5.4.400.0970.05318.90
5.4.390.0930.06718.45
5.4.380.0900.07318.62
5.4.370.0970.05318.50
5.4.360.0930.05718.67
5.4.350.1070.06018.60
5.4.340.0830.06318.49
5.4.320.0870.05718.70
5.4.310.0900.06018.71
5.4.300.1130.04018.71
5.4.290.1000.06018.76
5.4.280.1000.04718.66
5.4.270.0900.05718.67
5.4.260.1030.04718.66
5.4.250.0970.05718.57
5.4.240.1000.04718.69
5.4.230.0970.04018.46
5.4.220.0930.05018.66
5.4.210.0900.04018.66
5.4.200.0730.05716.51
5.4.190.0930.07018.54
5.4.180.1030.04718.46
5.4.170.1130.06018.57
5.4.160.1200.06018.69
5.4.150.1000.05318.64
5.4.140.0870.06016.12
5.4.130.1200.04316.14
5.4.120.0870.06316.30
5.4.110.1070.04716.03
5.4.100.1070.05016.11
5.4.90.0970.05716.14
5.4.80.0970.05016.12
5.4.70.1030.05716.27
5.4.60.0970.05716.18
5.4.50.1130.05716.32
5.4.40.1130.07016.01
5.4.30.0830.05316.30
5.4.20.1030.07016.11
5.4.10.1230.05316.27
5.4.00.0770.05715.80
5.3.290.0930.05314.72
5.3.280.0770.06014.55
5.3.270.0970.05314.54
5.3.260.1100.05314.58
5.3.250.0830.05714.65
5.3.240.0730.06314.57
5.3.230.0830.06014.64
5.3.220.0900.06014.54
5.3.210.1000.05314.51
5.3.200.0870.06014.71
5.3.190.1100.07714.71
5.3.180.0870.04714.55
5.3.170.0870.05314.55
5.3.160.0870.05714.53
5.3.150.0900.05014.53
5.3.140.0730.06014.52
5.3.130.0870.05314.45
5.3.120.1000.06314.48
5.3.110.1030.06014.50
5.3.100.0800.06314.02
5.3.90.0670.06714.02
5.3.80.0770.06013.97
5.3.70.0930.05714.00
5.3.60.1130.05013.91
5.3.50.0930.04313.89
5.3.40.0970.06713.91
5.3.30.0930.07013.90
5.3.20.0870.05313.65
5.3.10.1130.05013.58
5.3.00.1170.06713.64
5.2.170.0930.05711.27
5.2.160.0630.04711.15
5.2.150.0700.04011.13
5.2.140.0770.04011.07
5.2.130.0800.03711.23
5.2.120.0700.04011.08
5.2.110.0570.05011.04
5.2.100.0770.03311.02
5.2.90.0670.05311.32
5.2.80.0770.05011.15
5.2.70.0770.04711.00
5.2.60.0830.05311.27
5.2.50.0770.04311.04
5.2.40.0700.04711.04
5.2.30.0670.04710.94
5.2.20.0670.04010.92
5.2.10.0670.04310.86
5.2.00.0730.05010.86
5.1.60.0830.04010.04
5.1.50.0700.03310.10
5.1.40.0630.0379.99
5.1.30.0630.03710.39
5.1.20.0730.03310.38
5.1.10.0670.03010.14
5.1.00.0670.04310.11
5.0.50.0230.0408.64
5.0.40.0270.0338.48
5.0.30.0400.0508.29
5.0.20.0330.0338.23
5.0.10.0370.0378.24
5.0.00.0300.0438.13
4.4.90.0270.0305.91
4.4.80.0330.0205.83
4.4.70.0330.0205.94
4.4.60.0270.0205.91
4.4.50.0300.0305.88
4.4.40.0230.0405.89
4.4.30.0270.0235.82
4.4.20.0230.0275.98
4.4.10.0330.0205.98
4.4.00.0330.0405.84
4.3.110.0330.0305.81
4.3.100.0300.0235.87
4.3.90.0400.0175.78
4.3.80.0330.0335.81
4.3.70.0400.0175.91
4.3.60.0270.0275.80
4.3.50.0330.0235.79
4.3.40.0330.0305.75
4.3.30.0170.0234.64
4.3.20.0170.0304.54
4.3.10.0170.0274.48
4.3.00.0000.0239.15