3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $psnid = preg_match('/^[a-z]{1}[a-z0-9_-]*/', 'Xx_niteshade_xX'); echo $psnid;
based on duXJb

Here you find the average performance (time & memory) of each version. A greyed 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.00.0280.01219.09
7.1.100.0030.00918.18
7.1.70.0000.01417.17
7.1.60.0100.01319.22
7.1.50.0000.01117.22
7.1.00.0000.08022.42
7.0.200.0000.00716.97
7.0.140.0030.04722.12
7.0.60.0030.08319.99
7.0.50.0070.06017.91
7.0.40.0070.04320.26
7.0.30.0230.03720.18
7.0.20.0330.07020.15
7.0.10.0030.05020.11
7.0.00.0100.06020.02
5.6.280.0030.07321.11
5.6.210.0200.06320.60
5.6.200.0070.04018.21
5.6.190.0130.03720.21
5.6.180.0330.04720.33
5.6.170.0330.06720.48
5.6.160.0030.07320.52
5.6.150.0030.08318.11
5.6.140.0100.08318.15
5.6.130.0030.05318.09
5.6.120.0200.07021.11
5.6.110.0070.06020.96
5.6.100.0030.04020.99
5.6.90.0130.03720.98
5.6.80.0070.08320.28
5.5.350.0370.06720.36
5.5.340.0200.07018.00
5.5.330.0030.08320.36
5.5.320.0130.05020.24
5.5.310.0330.06720.26
5.5.300.0000.07317.98
5.5.290.0070.05717.90
5.5.280.0100.08720.80
5.5.270.0130.06720.87
5.5.260.0070.07020.86
5.5.250.0130.07020.69
5.5.240.0070.03320.14
5.4.450.0930.06719.50
5.4.440.0570.07719.45
5.4.430.0630.05719.22
5.4.420.0800.05719.45
5.4.410.0770.06319.50
5.4.400.0570.06719.00
5.4.390.0900.07319.22
5.4.380.0300.05318.52
5.4.370.0270.05018.55
5.4.360.0170.06718.70
5.4.350.0300.06718.60
5.4.340.0370.04018.72
5.4.320.0270.05018.75
5.4.310.0200.05718.49
5.4.300.0200.05718.57
5.4.290.0170.06318.52
5.4.280.0100.06318.71
5.4.270.0200.05318.55
5.4.260.0200.05318.66
5.4.250.0200.05718.64
5.4.240.0270.05318.71
5.4.230.0270.05018.48
5.4.220.0270.05018.50
5.4.210.0230.07318.61
5.4.200.0230.05316.63
5.4.190.0230.05018.65
5.4.180.0330.04318.66
5.4.170.0330.04718.58
5.4.160.0230.05018.56
5.4.150.0230.05318.74
5.4.140.0170.05716.15
5.4.130.0230.07016.15
5.4.120.0300.05316.22
5.4.110.0330.04316.27
5.4.100.0200.05716.27
5.4.90.0200.05316.29
5.4.80.0270.05016.29
5.4.70.0270.05316.26
5.4.60.0200.05716.19
5.4.50.0200.05716.31
5.4.40.0270.06016.23
5.4.30.0230.05016.21
5.4.20.0200.05316.26
5.4.10.0300.04316.34
5.4.00.0300.05315.49
5.3.290.0300.07014.57
5.3.280.0230.05314.50
5.3.270.0330.04714.65
5.3.260.0130.06314.59
5.3.250.0330.04014.58
5.3.240.0100.06314.60
5.3.230.0030.07014.67
5.3.220.0230.06014.66
5.3.210.0400.06014.68
5.3.200.0370.06014.68
5.3.190.0330.06314.59
5.3.180.0270.06714.66
5.3.170.0330.04714.50
5.3.160.0200.05314.57
5.3.150.0200.05314.50
5.3.140.0200.05714.48
5.3.130.0200.07014.52
5.3.120.0170.05714.52
5.3.110.0170.06014.51
5.3.100.0200.05313.94
5.3.90.0170.05314.01
5.3.80.0230.06314.06
5.3.70.0270.06014.11
5.3.60.0270.06313.96
5.3.50.0170.05313.93
5.3.40.0230.04713.89
5.3.30.0200.05313.89
5.3.20.0200.05013.72
5.3.10.0130.05313.64
5.3.00.0170.05313.73
5.2.170.0170.04311.19
5.2.160.0170.04011.07
5.2.150.0200.04311.05
5.2.140.0230.04711.18
5.2.130.0170.04711.23
5.2.120.0230.04011.02
5.2.110.0130.05311.00
5.2.100.0170.05011.16
5.2.90.0100.04711.15
5.2.80.0170.04011.07
5.2.70.0170.04011.00
5.2.60.0200.04311.09
5.2.50.0230.06010.94
5.2.40.0130.04711.03
5.2.30.0230.04711.01
5.2.20.0130.04310.93
5.2.10.0230.03010.91
5.2.00.0130.04710.75
5.1.60.0130.0339.98
5.1.50.0170.0309.96
5.1.40.0200.0309.99
5.1.30.0070.04010.38
5.1.20.0130.03710.36
5.1.10.0200.03710.14
5.1.00.0230.03010.08
5.0.50.0130.0278.65
5.0.40.0130.0278.45
5.0.30.0170.0408.27
5.0.20.0000.0338.23
5.0.10.0100.0308.14
5.0.00.0070.0438.27
4.4.90.0030.0275.91
4.4.80.0070.0205.98
4.4.70.0100.0235.90
4.4.60.0100.0235.85
4.4.50.0100.0275.82
4.4.40.0030.0475.86
4.4.30.0100.0275.89
4.4.20.0130.0235.88
4.4.10.0100.0276.05
4.4.00.0030.0475.91
4.3.110.0070.0305.83
4.3.100.0070.0305.79
4.3.90.0100.0205.79
4.3.80.0070.0375.82
4.3.70.0070.0205.82
4.3.60.0070.0205.80
4.3.50.0030.0275.81
4.3.40.0030.0375.73
4.3.30.0100.0204.66
4.3.20.0030.0274.58
4.3.10.0030.0274.46
4.3.00.0000.0237.56