3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo random_bytes(50);
based on 0XMu1

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.30.0100.01014.54
7.3.10.0120.00516.21
7.3.00.0200.00715.60
7.2.130.0160.00915.76
7.2.120.0170.00915.85
7.2.110.0170.00815.77
7.2.100.0260.00515.59
7.2.90.0370.00815.78
7.2.80.0210.00515.79
7.2.70.0160.00816.07
7.2.60.0250.01015.88
7.2.50.0210.00916.00
7.2.40.0280.01015.80
7.2.30.0220.00515.79
7.2.20.0140.00815.71
7.2.10.0190.00815.84
7.2.00.0150.00716.83
7.1.250.0170.00814.74
7.1.240.0480.00813.41
7.1.230.0650.01013.77
7.1.220.0490.00313.75
7.1.210.0520.00713.63
7.1.200.0450.01213.80
7.1.190.0420.00413.53
7.1.180.0470.01613.19
7.1.170.0630.01313.56
7.1.160.0380.00713.73
7.1.150.0620.00913.89
7.1.140.0380.01513.49
7.1.130.0700.01013.34
7.1.120.0460.00713.21
7.1.110.0420.00313.47
7.1.100.0270.00915.57
7.1.90.0380.00613.38
7.1.80.0990.00713.47
7.1.70.0400.00615.09
7.1.60.0270.01016.37
7.1.50.0240.01215.11
7.1.40.0360.01013.52
7.1.30.0410.01013.48
7.1.20.0630.00713.27
7.1.10.0800.00013.24
7.1.00.0330.04017.73
7.0.330.0430.00313.17
7.0.320.0440.01213.47
7.0.310.0450.00313.56
7.0.300.0720.01012.93
7.0.290.0400.00713.03
7.0.280.0410.01013.33
7.0.270.0500.00413.00
7.0.260.0630.00712.98
7.0.250.0430.00713.16
7.0.240.0370.01113.09
7.0.230.0310.01212.94
7.0.220.0400.00712.93
7.0.210.0450.00412.89
7.0.200.0180.00914.85
7.0.190.0390.01013.22
7.0.180.0530.00912.91
7.0.170.0420.00712.81
7.0.160.0390.00313.18
7.0.150.0450.00712.91
7.0.140.0450.00613.13
7.0.130.0660.01013.12
7.0.120.0550.00712.99
7.0.110.0530.00013.24
7.0.100.0780.01013.07
7.0.90.0410.01013.22
7.0.80.0600.00413.10
7.0.70.0570.00312.86
7.0.60.0350.04716.35
7.0.50.0210.04015.42
7.0.40.0200.02816.45
7.0.30.0360.04416.56
7.0.20.0800.02816.68
7.0.10.0240.04616.74
7.0.00.0310.02316.58
hhvm-3.22.00.1340.19490.45
hhvm-3.21.30.0840.18689.81
hhvm-3.21.00.0790.15589.79
hhvm-3.20.20.0940.14190.61
hhvm-3.19.20.1040.11789.24
hhvm-3.18.50.0860.17687.41
hhvm-3.18.40.0720.15887.95
hhvm-3.17.30.0630.14487.20
hhvm-3.15.40.0960.17284.56
hhvm-3.13.20.0900.14796.49
hhvm-3.12.140.0920.12895.19
hhvm-3.11.10.1350.11987.35
hhvm-3.10.10.0830.16884.52
5.6.380.0030.01114.21
5.6.370.0110.00413.58
5.6.360.0090.00913.92
5.6.350.0120.00513.95
5.6.340.0050.00913.60
5.6.330.0070.01113.32
5.6.320.0080.01113.93
5.6.310.0070.00713.61
5.6.300.0110.00613.98
5.6.290.0110.01113.55
5.6.280.0050.04017.45
5.6.270.0110.00713.51
5.6.260.0140.00313.61
5.6.250.0110.00713.59
5.6.240.0160.00313.55
5.6.230.0100.00713.91
5.6.220.0090.00513.85
5.6.210.0100.03417.07
5.6.200.0090.04415.78
5.6.190.0060.02716.99
5.6.180.0250.02817.03
5.6.170.0180.02717.11
5.6.160.0090.04217.08
5.6.150.0060.04615.96
5.6.140.0120.03716.02
5.6.130.0050.04215.98
5.6.120.0040.02717.38
5.6.110.0110.02617.46
5.6.100.0000.03117.30
5.6.90.0120.04217.31
5.6.80.0080.03817.05
5.6.70.0130.00813.37
5.6.60.0140.00313.70
5.6.50.0080.01213.64
5.6.40.0050.01413.75
5.6.30.0090.00613.60
5.6.20.0140.00613.78
5.6.10.0160.00413.44
5.6.00.0140.00413.57
5.5.380.0100.00010.28
5.5.370.0060.00610.52
5.5.360.0110.00010.46
5.5.350.0030.03315.43
5.5.340.0070.04214.21
5.5.330.0100.04015.29
5.5.320.0220.04115.23
5.5.310.0200.03515.39
5.5.300.0030.03714.36
5.5.290.0070.02214.35
5.5.280.0070.04815.50
5.5.270.0120.03215.72
5.5.260.0050.04815.63
5.5.250.0080.03715.59
5.5.240.0030.04215.29
5.5.230.0080.00410.28
5.5.220.0040.00710.31
5.5.210.0020.00710.33
5.5.200.0050.00510.38
5.5.190.0120.00010.62
5.5.180.0050.00510.71
5.5.170.0110.00713.69
5.5.160.0050.00510.61
5.5.150.0030.00710.39
5.5.140.0060.00610.52
5.5.130.0000.01010.61
5.5.120.0000.01210.32
5.5.110.0000.01510.10
5.5.100.0080.00310.28
5.5.90.0050.00510.47
5.5.80.0110.00010.11
5.5.70.0040.00410.35
5.5.60.0040.00810.48
5.5.50.0000.00910.57
5.5.40.0090.00310.35
5.5.30.0030.00910.49
5.5.20.0060.00610.31
5.5.10.0030.00610.48
5.5.00.0070.01010.27
5.4.450.0080.03615.24
5.4.440.0170.02515.16
5.4.430.0170.02515.12
5.4.420.0090.03315.09
5.4.410.0190.02315.16
5.4.400.0140.02914.92
5.4.390.0170.02514.93
5.4.380.0110.02914.95
5.4.370.0140.02714.82
5.4.360.0110.03214.88
5.4.350.0070.03214.67
5.4.340.0150.03014.89
5.4.330.0110.00410.88
5.4.320.0100.02915.05
5.4.310.0100.02914.95
5.4.300.0120.02714.77
5.4.290.0190.02015.03
5.4.280.0140.02614.88
5.4.270.0160.03114.83
5.4.260.0180.02714.91
5.4.250.0150.02815.11
5.4.240.0100.03114.80
5.4.230.0080.03214.84
5.4.220.0100.03014.94
5.4.210.0120.03014.76
5.4.200.0160.02414.69
5.4.190.0090.02815.04
5.4.180.0100.02914.64
5.4.170.0060.03415.01
5.4.160.0140.02614.74
5.4.150.0180.02314.87
5.4.140.0090.03513.56
5.4.130.0150.02413.63
5.4.120.0110.02813.68
5.4.110.0160.02313.49
5.4.100.0150.02213.52
5.4.90.0110.02813.46
5.4.80.0070.03113.52
5.4.70.0150.04013.63
5.4.60.0090.02713.54
5.4.50.0080.02013.56
5.4.40.0120.03813.54
5.4.30.0130.02113.46
5.4.20.0130.02113.66
5.4.10.0080.00410.83
5.4.00.0060.00910.64
5.3.290.4200.03714.60
5.3.280.4230.03714.64
5.3.270.3770.04314.65
5.3.260.3100.04314.56
5.3.250.0170.04014.54
5.3.240.4070.04014.43
5.3.230.0230.03714.68
5.3.220.0430.04314.52
5.3.210.2470.03314.50
5.3.200.3670.03314.43
5.3.190.3100.04314.65
5.3.180.0300.05314.65