3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $times = array( '2:00pm', '7:30pm', '8:00pm', ); //sort($times); //print_r($times); $results = array(array()); foreach ($times as $time_range) { foreach ($results as $combination) { array_push($results, array_merge(array($time_range), $combination)); } } //sort($results); sort($results); print_r($results);
based on Lv7D1

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.0030.00919.14
7.1.100.0030.00618.38
7.1.70.0080.00016.99
7.1.60.0120.00919.48
7.1.50.0030.02016.88
7.1.00.0070.07322.40
7.0.200.0050.00516.49
7.0.60.0030.08719.93
7.0.50.0070.03717.84
7.0.40.0070.06320.23
7.0.30.0330.07320.08
7.0.20.0330.04720.05
7.0.10.0170.08320.05
7.0.00.0070.06320.14
5.6.280.0070.06720.75
5.6.210.0130.04020.54
5.6.200.0130.05318.18
5.6.190.0030.05020.67
5.6.180.3500.04320.50
5.6.170.0170.06020.56
5.6.160.0070.03720.55
5.6.150.0100.04318.21
5.6.140.0100.07318.28
5.6.130.0070.03718.28
5.6.120.0170.05721.03
5.6.110.0170.07020.99
5.6.100.0030.08721.10
5.6.90.0000.04721.07
5.6.80.0000.04020.52
5.6.70.0300.04020.39
5.5.350.0300.05020.43
5.5.340.0070.08317.95
5.5.330.0100.07320.21
5.5.320.0300.07720.34
5.5.310.0330.07320.18
5.5.300.0030.08317.98
5.5.290.0070.07317.98
5.5.280.0000.07320.84
5.5.270.0030.04720.79
5.5.260.0000.09320.64
5.5.250.0000.07020.46
5.5.240.0130.06320.20
5.4.450.0070.04019.55
5.4.440.0870.05019.46
5.4.430.1000.04719.43
5.4.420.0900.00019.55
5.4.410.0830.00019.52
5.4.400.0670.00018.92
5.4.390.0670.00019.03
5.4.380.0670.00019.11
5.4.370.0630.00018.98
5.4.360.0630.00019.16
5.4.350.0930.00019.16
5.4.340.0630.00019.06
5.4.320.0730.00019.15
5.4.310.0630.00019.26
5.4.300.0630.00019.16
5.4.290.0630.00019.03
5.4.280.0630.00019.11
5.4.270.0670.00019.08
5.4.260.0670.00019.23
5.4.250.0670.00019.15
5.4.240.0670.00019.07
5.4.230.0630.00019.19
5.4.220.0630.00019.00
5.4.210.0630.00018.97
5.4.200.0630.00016.66
5.4.190.0630.00018.99
5.4.180.0670.00019.09
5.4.170.0670.00019.12
5.4.160.0630.00019.09
5.4.150.0630.00019.05
5.4.140.0800.00016.32
5.4.130.0700.00016.63
5.4.120.0600.00016.47
5.4.110.0600.00016.47
5.4.100.0630.00016.62
5.4.90.0630.00016.43
5.4.80.0600.00016.23
5.4.70.0630.00016.23
5.4.60.0600.00016.28
5.4.50.0600.00016.59
5.4.40.0630.00016.61
5.4.30.0570.00016.59
5.4.20.0600.00016.44
5.4.10.0600.00016.31
5.4.00.0570.00015.88
5.3.290.0670.00014.67
5.3.280.0630.00014.50
5.3.270.0670.00014.76
5.3.260.0670.00014.46
5.3.250.0630.00014.55
5.3.240.0730.00014.55
5.3.230.0630.00014.74
5.3.220.0600.00014.63
5.3.210.0670.00014.52
5.3.200.0630.00014.62
5.3.190.0630.00014.52
5.3.180.0630.00014.57
5.3.170.0630.00014.60
5.3.160.0630.00014.51
5.3.150.0600.00014.51
5.3.140.0670.00014.66
5.3.130.0630.00014.70
5.3.120.0670.00014.61
5.3.110.0870.00014.46
5.3.100.0630.00013.94
5.3.90.0630.00014.02
5.3.80.0600.00014.02
5.3.70.0630.00014.02
5.3.60.0600.00013.91
5.3.50.0730.00013.93
5.3.40.0630.00013.93
5.3.30.0600.00013.98
5.3.20.0770.00013.59
5.3.10.0600.00013.65
5.3.00.0730.00013.50
5.2.170.0500.00011.25
5.2.160.0470.00011.05
5.2.150.0630.00011.21
5.2.140.0530.00011.07
5.2.130.0500.00011.02
5.2.120.0500.00011.17
5.2.110.0530.00011.07
5.2.100.0470.00011.11
5.2.90.0470.00011.16
5.2.80.0470.00011.16
5.2.70.0500.00011.15
5.2.60.0570.00010.96
5.2.50.0500.00010.97
5.2.40.0470.00010.98
5.2.30.0500.00010.82
5.2.20.0630.00010.98
5.2.10.0630.00010.80
5.2.00.0500.00010.66
5.1.60.0400.0009.92
5.1.50.0400.0009.93
5.1.40.0400.0009.89
5.1.30.0430.00010.40
5.1.20.0600.00010.35
5.1.10.0430.00010.16
5.1.00.0430.00010.00
5.0.50.0370.0008.48
5.0.40.0430.0008.34
5.0.30.0530.0008.14
5.0.20.0300.0008.11
5.0.10.0370.0008.22
5.0.00.0470.0008.21
4.4.90.0270.0005.75
4.4.80.0270.0005.74
4.4.70.0270.0005.86
4.4.60.0270.0005.75
4.4.50.0300.0005.75
4.4.40.0400.0005.85
4.4.30.0330.0005.75
4.4.20.0270.0005.83
4.4.10.0300.0005.80
4.4.00.0370.0005.87
4.3.110.0270.0005.76
4.3.100.0270.0005.75
4.3.90.0270.0005.78
4.3.80.0430.0005.70
4.3.70.0300.0005.79
4.3.60.0330.0005.65
4.3.50.0270.0005.77
4.3.40.0400.0005.70
4.3.30.0300.0004.52
4.3.20.0270.0004.40
4.3.10.0270.0004.49
4.3.00.0030.01315.68