3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = '\97\49\49\68\x4F\84\116\x68\97\x74\x44\x4F\x54\x6A\97\x76\x61\x35\x63\x72\97\x70\x41\84\x66\x6C\97\x72\x65\x44\65\x53\72\111\110\68\79\84\99\x6F\x6D'; $b = '\97\49\x31\68\x4F\x54\116\104\x61\116\x44\79\x54\106\97\118\97\53\x63\114\x61\x70\65\84\102\x6C\x61\114\101\x44\65\x53\72\111\x6E\x44\x4F\84\99\x6F\x6D'; print $a; print $b;

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.00.0070.00719.05
7.1.100.0000.01118.08
7.1.70.0000.01217.16
7.1.60.0120.00919.70
7.1.50.0030.02116.59
7.1.00.0030.07722.44
7.0.200.0210.00316.16
7.0.140.0070.06721.98
7.0.110.0530.06320.05
7.0.100.0530.07319.91
7.0.90.0470.08019.84
7.0.80.0400.04319.83
7.0.70.0400.08319.96
7.0.60.0470.07319.88
7.0.50.0600.06719.83
7.0.40.0200.06019.70
7.0.30.0070.08019.64
7.0.20.0070.06719.84
7.0.10.0100.04719.84
7.0.00.0100.07019.71
5.6.280.0030.07320.91
5.6.260.0030.08020.74
5.6.250.0030.08720.88
5.6.240.0000.05320.70
5.6.230.0070.04320.68
5.6.220.0070.04020.67
5.6.210.0070.08020.81
5.6.200.0130.07720.56
5.6.190.0130.07020.65
5.6.180.0030.06020.66
5.6.170.0100.03720.58
5.6.160.0100.03320.55
5.6.150.0070.03720.46
5.6.140.0070.05020.67
5.6.130.0030.04020.63
5.6.120.0030.04320.84
5.6.110.0000.08020.57
5.6.100.0070.07720.53
5.6.90.0070.08020.58
5.6.80.0030.08320.23
5.6.70.0030.04019.98
5.6.60.0070.07719.99
5.6.50.0070.07720.02
5.6.40.0170.07020.03
5.6.30.0100.07320.01
5.6.20.0000.08320.20
5.6.10.0070.03320.00
5.6.00.0100.07019.99
5.5.380.0030.04017.66
5.5.370.0070.04017.53
5.5.360.0100.07717.50
5.5.350.0070.07717.54
5.5.340.0070.07718.12
5.5.330.0000.08318.16
5.5.320.0100.03317.85
5.5.310.0000.04317.77
5.5.300.0000.04318.02
5.5.290.0030.04018.10
5.5.280.0070.05718.13
5.5.270.0130.03017.86
5.5.260.0070.04318.14
5.5.250.0000.08717.97
5.5.240.0030.06317.63
5.5.230.0030.07717.40
5.5.220.0070.07717.23
5.5.210.0030.06317.49
5.5.200.0000.08717.22
5.5.190.0030.07317.60
5.5.180.0070.07717.45
5.5.160.0100.06717.21
5.5.150.0100.07317.21
5.5.140.0030.07717.35
5.5.130.0130.07717.46
5.5.120.0000.08317.10
5.5.110.0070.07717.45
5.5.100.0070.07017.39
5.5.90.0070.06717.34
5.5.80.0030.04717.34
5.5.70.0070.04317.49
5.5.60.0070.04317.09
5.5.50.0000.04317.09
5.5.40.0070.04017.39
5.5.30.0030.04717.48
5.5.20.0070.03317.10
5.5.10.0070.03717.36
5.5.00.0070.03317.36
5.4.450.0070.03719.31
5.4.440.0030.05019.49
5.4.430.0100.06719.35
5.4.420.0100.04719.43
5.4.410.0030.08319.32
5.4.400.0170.06319.22
5.4.390.0030.08319.13
5.4.380.0030.07318.95
5.4.370.0030.07719.27
5.4.360.0070.07718.95
5.4.350.0130.06719.03
5.4.340.0000.04019.28
5.4.320.0100.07019.18
5.4.310.0030.08019.00
5.4.300.0070.04318.95
5.4.290.0100.07319.16
5.4.280.0070.07318.95
5.4.270.0030.08018.92
5.4.260.0030.08018.94
5.4.250.0100.07019.11
5.4.240.0030.06019.00
5.4.230.0000.04319.03
5.4.220.0070.06719.13
5.4.210.0030.04318.95
5.4.200.0000.04319.24
5.4.190.0070.03019.11
5.4.180.0030.04018.97
5.4.170.0000.04019.11
5.4.160.0030.07019.16
5.4.150.0100.03019.23
5.4.140.0070.03716.47
5.4.130.0100.04716.22
5.4.120.0000.03716.46
5.4.110.0030.03716.40
5.4.100.0070.03716.37
5.4.90.0000.03716.53
5.4.80.0070.03016.49
5.4.70.0070.03016.17
5.4.60.0030.03316.16
5.4.50.0070.03316.25
5.4.40.0030.03316.45
5.4.30.0070.04016.45
5.4.20.0000.03716.34
5.4.10.0170.03016.33
5.4.00.0070.03315.70
5.3.290.0070.06014.52
5.3.280.0030.04014.49
5.3.270.0070.03314.55
5.3.260.0000.04014.70
5.3.250.0070.03714.39
5.3.240.0100.04314.59
5.3.230.0070.03714.47
5.3.220.0070.03314.66
5.3.210.0100.03314.44
5.3.200.0070.03314.44
5.3.190.0070.03714.63
5.3.180.0070.03314.57
5.3.170.0000.04014.42
5.3.160.0030.03714.36
5.3.150.0070.03014.48
5.3.140.0000.04314.48
5.3.130.0030.03714.42
5.3.120.0030.03714.44
5.3.110.0030.04014.43
5.3.100.0070.03013.93
5.3.90.0030.03714.01
5.3.80.0000.04714.03
5.3.70.0100.02713.88
5.3.60.0070.03313.84
5.3.50.0030.03713.84
5.3.40.0070.03313.88
5.3.30.0130.03013.85
5.3.20.0030.03713.53
5.3.10.0070.03013.66
5.3.00.0130.02313.48
5.2.170.0070.02311.80
5.2.160.0000.03011.80
5.2.150.0030.02711.80
5.2.140.0030.02711.80
5.2.130.0070.02711.80
5.2.120.0030.02711.80
5.2.110.0070.02311.80
5.2.100.0070.03311.80
5.2.90.0000.03011.80
5.2.80.0030.04011.80
5.2.70.0100.05711.80
5.2.60.0030.08011.80
5.2.50.0070.04011.80
5.2.40.0000.04011.80
5.2.30.0030.05311.80
5.2.20.0000.06311.80
5.2.10.0030.05311.80
5.2.00.0100.05711.80
5.1.60.0070.04711.80
5.1.50.0000.03311.80
5.1.40.0000.02711.80
5.1.30.0000.03311.80
5.1.20.0070.02311.80
5.1.10.0000.04011.80
5.1.00.0000.05711.80
5.0.50.0000.02011.80
5.0.40.0030.02011.80
5.0.30.0000.03311.80
5.0.20.0000.03011.80
5.0.10.0070.03011.80
5.0.00.0070.06011.80
4.4.90.0000.03311.80
4.4.80.0030.03311.80
4.4.70.0030.03311.80
4.4.60.0030.02311.80
4.4.50.0030.03311.80
4.4.40.0000.02711.80
4.4.30.0000.01711.80
4.4.20.0000.01711.80
4.4.10.0000.01711.80
4.4.00.0000.02311.80
4.3.110.0000.03711.80
4.3.100.0070.03011.80
4.3.90.0030.03011.80
4.3.80.0000.02011.80
4.3.70.0000.03711.80
4.3.60.0070.01011.80
4.3.50.0000.01311.80
4.3.40.0030.03711.80
4.3.30.0000.03311.80
4.3.20.0000.03711.80
4.3.10.0000.02711.80
4.3.00.0000.03011.80