3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = "[orderId] => 212939129"; echo $data[0]; ?>
based on tW7ff

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.3.0beta10.0030.00312.38
7.3.0alpha10.0000.00912.69
7.2.60.0110.00416.94
7.2.50.0260.00416.50
7.1.200.0000.01015.67
7.1.70.0030.00717.17
7.1.60.0050.00717.18
7.1.50.0000.01417.17
7.1.40.0090.00617.17
7.1.30.0030.01017.17
7.1.20.0060.00617.17
7.1.10.0040.00717.17
7.1.00.0070.00417.17
7.0.200.0070.00417.17
7.0.190.0060.00317.17
7.0.180.0000.00717.17
7.0.170.0060.00317.17
7.0.160.0000.01317.17
7.0.150.0070.00417.17
7.0.140.0080.00417.17
7.0.130.0130.00017.17
7.0.120.0000.01317.17
7.0.110.0040.00417.17
7.0.100.0070.00417.17
7.0.90.0040.00517.17
7.0.80.0100.00017.17
7.0.70.0030.00617.17
7.0.60.0030.00817.17
7.0.50.0040.00817.17
7.0.40.0030.00717.17
7.0.30.0050.00517.17
7.0.20.0030.01217.17
7.0.10.0020.00717.17
7.0.00.0000.00817.17
hhvm-3.17.30.0170.098100.91
hhvm-3.15.40.0480.07597.88
hhvm-3.13.20.0300.122106.91
hhvm-3.12.140.0640.111101.71
hhvm-3.11.10.0250.090102.86
hhvm-3.10.10.0160.09999.95
5.6.300.0130.04520.58
5.6.290.0200.03420.66
5.6.280.0110.04020.88
5.6.270.0030.04320.87
5.6.260.0000.06720.99
5.6.250.0100.04420.86
5.6.240.0000.05020.95
5.6.230.0070.04020.91
5.6.220.0030.04021.01
5.6.210.0070.03821.13
5.6.200.0030.04520.73
5.6.190.0030.04521.02
5.6.180.0030.04921.04
5.6.170.0090.03920.92
5.6.160.0000.04821.01
5.6.150.0100.04420.81
5.6.140.0070.04220.89
5.6.130.0000.05020.93
5.6.120.0030.04320.72
5.6.110.0000.04620.99
5.6.100.0030.04720.84
5.6.90.0000.05220.83
5.6.80.0110.04420.37
5.6.70.0060.03820.15
5.6.60.0100.03820.21
5.6.50.0060.03920.30
5.6.40.0040.04020.12
5.6.30.0000.04420.34
5.6.20.0030.04320.36
5.6.10.0030.04720.33
5.6.00.0090.03620.16
5.5.380.0000.04417.54
5.5.370.0000.04717.46
5.5.360.0040.05317.40
5.5.350.0000.04317.55
5.5.340.0000.04518.04
5.5.330.0030.03918.00
5.5.320.0030.04417.96
5.5.310.0000.04717.96
5.5.300.0100.04618.03
5.5.290.0030.04518.00
5.5.280.0090.03818.06
5.5.270.0030.04217.73
5.5.260.0060.05718.03
5.5.250.0040.04017.87
5.5.240.0030.03817.45
5.5.230.0030.04417.42
5.5.220.0070.04017.40
5.5.210.0000.04317.41
5.5.200.0070.03717.41
5.5.190.0060.03917.32
5.5.180.0060.03517.22
5.5.160.0060.03717.18
5.5.150.0030.03817.30
5.5.140.0060.03917.32
5.5.130.0030.03817.43
5.5.120.0120.03517.40
5.5.110.0000.05217.46
5.5.100.0030.03717.17
5.5.90.0060.03817.17
5.5.80.0060.03517.17
5.5.70.0040.04417.18
5.5.60.0000.04017.27
5.5.50.0030.04017.17
5.5.40.0060.03517.21
5.5.30.0070.03317.29
5.5.20.0060.03817.17
5.5.10.0000.04417.27
5.5.00.0000.04617.34
5.4.450.0060.04219.47
5.4.440.0000.04819.34
5.4.430.0070.03719.34
5.4.420.0030.04219.17
5.4.410.0030.04119.09
5.4.400.0030.04419.02
5.4.390.0030.04319.06
5.4.380.0070.04418.98
5.4.370.0030.03718.88
5.4.360.0000.04219.00
5.4.350.0030.04219.05
5.4.340.0000.04119.14
5.4.320.0030.04018.92
5.4.310.0030.04018.98
5.4.300.0070.03419.05
5.4.290.0000.04319.05
5.4.280.0000.04519.09
5.4.270.0100.03919.06
5.4.260.0000.04519.09
5.4.250.0030.04318.88
5.4.240.0060.03519.13
5.4.230.0060.03219.04
5.4.220.0000.04419.16
5.4.210.0000.04019.09
5.4.200.0030.04218.96
5.4.190.0030.03719.07
5.4.180.0060.03519.02
5.4.170.0030.04119.00
5.4.160.0100.03118.99
5.4.150.0070.06118.99
5.4.140.0030.03717.17
5.4.130.0060.03117.17
5.4.120.0060.03517.17
5.4.110.0070.03117.17
5.4.100.0000.03817.17
5.4.90.0070.03017.17
5.4.80.0000.03717.17
5.4.70.0030.03317.17
5.4.60.0000.03617.17
5.4.50.0000.03717.17
5.4.40.0030.03317.17
5.4.30.0000.03617.17
5.4.20.0030.06617.17
5.4.10.0030.03917.17
5.4.00.0040.03217.17
5.3.290.0060.03817.17
5.3.280.0000.04217.17
5.3.270.0030.04317.17
5.3.260.0040.04617.17
5.3.250.0060.03117.17
5.3.240.0030.03617.17
5.3.230.0000.04317.17
5.3.220.0000.04217.17
5.3.210.0060.03817.17
5.3.200.0000.04217.17
5.3.190.0000.04117.17
5.3.180.0000.04817.17
5.3.170.0000.03817.17
5.3.160.0070.03617.17
5.3.150.0000.04117.17
5.3.140.0030.06217.17
5.3.130.0000.04417.17
5.3.120.0030.04117.17
5.3.110.0030.04117.17
5.3.100.0000.04117.17
5.3.90.0030.03717.17
5.3.80.0000.03917.17
5.3.70.0070.03317.17
5.3.60.0040.03617.17
5.3.50.0000.03817.17
5.3.40.0040.03617.17
5.3.30.0030.04417.17
5.3.20.0000.04017.17
5.3.10.0000.04817.17
5.3.00.0030.03717.17
5.2.170.0030.03217.17
5.2.160.0060.02617.17
5.2.150.0030.03317.17
5.2.140.0000.03217.17
5.2.130.0030.03017.17
5.2.120.0030.03617.17
5.2.110.0000.03217.17
5.2.100.0030.02817.17
5.2.90.0030.03017.17
5.2.80.0000.04117.17
5.2.70.0000.03517.17
5.2.60.0000.04017.17
5.2.50.0030.04417.17
5.2.40.0000.03217.17
5.2.30.0000.03217.17
5.2.20.0000.04217.17
5.2.10.0030.02817.17
5.2.00.0000.03617.17
5.1.60.0030.02517.17
5.1.50.0030.02417.17
5.1.40.0000.02617.17
5.1.30.0000.02817.17
5.1.20.0000.02917.17
5.1.10.0000.03217.17
5.1.00.0030.02617.17
5.0.50.0070.02717.17
5.0.40.0000.02117.17
5.0.30.0000.03617.17
5.0.20.0030.02017.17
5.0.10.0030.02217.17
5.0.00.0030.02917.17
4.4.90.0000.01817.17
4.4.80.0000.01717.17
4.4.70.0030.01317.17
4.4.60.0000.01817.17
4.4.50.0000.01717.17
4.4.40.0030.02217.17
4.4.30.0030.01317.17
4.4.20.0030.01317.17
4.4.10.0060.01217.17
4.4.00.0070.02017.17
4.3.110.0000.01617.17
4.3.100.0030.01317.17
4.3.90.0000.01617.17
4.3.80.0030.02417.17
4.3.70.0030.01317.17
4.3.60.0030.01417.17
4.3.50.0030.01517.17
4.3.40.0000.02617.17
4.3.30.0000.01717.17
4.3.20.0000.02017.17
4.3.10.0000.01617.17
4.3.00.0000.01617.17