3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'evacuation/geoff'; $b = preg_match("[^/]+$", $a); echo array_pop($b);
based on UX0TK

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.0030.00916.78
7.2.00.0090.01218.73
7.1.200.0120.00015.43
7.1.100.0040.01117.89
7.1.70.0070.00717.00
7.1.60.0130.01019.22
7.1.50.0110.01116.84
7.1.00.0070.07022.54
7.0.200.0030.00816.52
7.0.140.0100.05022.09
7.0.60.0100.04719.87
7.0.50.0130.08317.80
7.0.40.0100.08019.98
7.0.30.0270.05319.96
7.0.20.0100.04720.17
7.0.10.0070.07020.09
7.0.00.0070.04019.99
5.6.280.0030.07320.90
5.6.210.0030.08320.49
5.6.200.0130.06718.12
5.6.190.0130.07320.67
5.6.180.0270.06720.44
5.6.170.0370.07020.52
5.6.160.0030.05720.49
5.6.150.0030.04318.24
5.6.140.0000.04018.11
5.6.130.0070.06718.21
5.6.120.0000.05321.04
5.6.110.0000.04320.97
5.6.100.0030.07321.12
5.6.90.0230.05321.12
5.6.80.0070.08320.38
5.5.350.0230.07720.48
5.5.340.0100.07318.02
5.5.330.0070.03720.23
5.5.320.0330.08020.32
5.5.310.0330.03320.29
5.5.300.0100.08017.87
5.5.290.0100.06317.98
5.5.280.0030.07320.67
5.5.270.0100.05020.94
5.5.260.0070.08720.72
5.5.250.0070.06720.46
5.5.240.0100.07320.25
5.4.450.0370.07019.27
5.4.440.0200.05319.64
5.4.430.0200.04719.15
5.4.420.0200.05319.15
5.4.410.0170.05019.41
5.4.400.0100.06318.82
5.4.390.0300.05318.72
5.4.380.0430.05018.57
5.4.370.0230.05718.68
5.4.360.0330.05018.71
5.4.350.0270.05318.69
5.4.340.0200.06318.64
5.4.320.0270.06018.55
5.4.310.0330.05718.68
5.4.300.0230.05718.56
5.4.290.0370.04318.58
5.4.280.0200.06018.66
5.4.270.0300.05018.56
5.4.260.0270.05318.62
5.4.250.0300.06718.69
5.4.240.0330.05018.66
5.4.230.0370.04018.60
5.4.220.0230.05318.63
5.4.210.0230.05718.57
5.4.200.0270.04716.46
5.4.190.0330.05018.51
5.4.180.0270.06018.63
5.4.170.0200.06018.59
5.4.160.0330.05018.54
5.4.150.0270.06718.71
5.4.140.0230.05316.23
5.4.130.0230.05316.31
5.4.120.0270.05016.31
5.4.110.0230.05016.24
5.4.100.0300.05016.30
5.4.90.0300.04716.12
5.4.80.0330.04316.19
5.4.70.0200.05716.04
5.4.60.0200.06016.18
5.4.50.0370.03716.28
5.4.40.0170.05716.21
5.4.30.0230.05316.04
5.4.20.0270.05716.19
5.4.10.0300.05716.18
5.4.00.0330.06715.80
5.3.290.0300.05714.62
5.3.280.0270.05314.69
5.3.270.0300.06314.59
5.3.260.0230.05714.58
5.3.250.0370.04314.57
5.3.240.0370.04314.59
5.3.230.0270.05714.54
5.3.220.0200.05714.54
5.3.210.0330.05014.52
5.3.200.0230.05314.51
5.3.190.0300.04714.55
5.3.180.0130.06014.49
5.3.170.0200.05714.53
5.3.160.0400.03714.50
5.3.150.0330.05714.63
5.3.140.0300.04714.55
5.3.130.0230.05714.54
5.3.120.0200.06314.57
5.3.110.0270.05314.46
5.3.100.0430.03713.96
5.3.90.0300.06714.11
5.3.80.0200.05714.05
5.3.70.0270.04713.95
5.3.60.0330.04314.10
5.3.50.0270.04714.04
5.3.40.0330.04313.92
5.3.30.0330.04313.94
5.3.20.0200.05313.77
5.3.10.0300.05013.57
5.3.00.0370.04013.54
5.2.170.0200.05311.11
5.2.160.0170.04011.18
5.2.150.0200.04011.19
5.2.140.0270.03711.05
5.2.130.0170.04311.13
5.2.120.0230.03711.03
5.2.110.0200.04011.06
5.2.100.0170.04311.07
5.2.90.0170.04311.03
5.2.80.0170.04311.25
5.2.70.0130.05011.09
5.2.60.0230.03711.09
5.2.50.0170.04310.99
5.2.40.0200.04311.14
5.2.30.0200.04010.89
5.2.20.0130.04310.91
5.2.10.0170.04010.82
5.2.00.0230.03310.73
5.1.60.0230.03010.03
5.1.50.0100.03710.04
5.1.40.0200.03010.07
5.1.30.0100.04010.45
5.1.20.0170.03710.46
5.1.10.0170.03710.08
5.1.00.0070.04310.13
5.0.50.0070.0308.52
5.0.40.0070.0308.54
5.0.30.0070.0478.31
5.0.20.0130.0338.18
5.0.10.0100.0308.34
5.0.00.0170.0378.19
4.4.90.0130.0275.82
4.4.80.0130.0275.86
4.4.70.0070.0335.91
4.4.60.0100.0235.89
4.4.50.0070.0235.87
4.4.40.0100.0375.91
4.4.30.0070.0275.89
4.4.20.0070.0335.93
4.4.10.0100.0306.00
4.4.00.0100.0335.84
4.3.110.0170.0175.81
4.3.100.0130.0205.83
4.3.90.0030.0305.79
4.3.80.0100.0335.93
4.3.70.0230.0105.86
4.3.60.0100.0205.79
4.3.50.0070.0275.80
4.3.40.0100.0335.73
4.3.30.0030.0234.63
4.3.20.0000.0274.54
4.3.10.0030.0234.46
4.3.00.0130.0236.73