3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $suggestion = (object) array('Key' => 'pie'); var_dump( array_key_exists('Key', $suggestion), $suggestion['Key'] );

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.0000.01516.51
7.2.00.0070.00419.57
7.1.200.0100.00715.84
7.1.100.0000.01117.93
7.1.70.0030.00317.12
7.1.60.0060.01819.32
7.1.50.0070.01416.85
7.1.00.0030.07722.29
7.0.200.0050.00316.55
7.0.140.0170.06022.18
7.0.60.0030.07720.07
7.0.50.0070.03717.80
7.0.40.0070.04020.24
7.0.30.0330.07720.04
7.0.20.0270.07720.16
7.0.10.0130.08320.20
7.0.00.0130.08320.33
5.6.280.0000.07721.01
5.6.210.0000.09020.52
5.6.200.0000.04718.12
5.6.190.0030.04320.35
5.6.180.0030.04720.43
5.6.170.0230.05720.41
5.6.160.0070.08320.46
5.6.150.0070.05318.16
5.6.140.0070.08318.17
5.6.130.0030.04018.09
5.6.120.0070.08720.89
5.6.110.0170.06720.97
5.6.100.0200.07320.96
5.6.90.0130.07721.00
5.6.80.0100.07720.32
5.5.350.0130.06720.36
5.5.340.0030.08317.90
5.5.330.0100.05320.41
5.5.320.0300.04020.28
5.5.310.0370.07020.17
5.5.300.0030.06717.98
5.5.290.0070.06317.96
5.5.280.0100.04720.87
5.5.270.0030.04720.86
5.5.260.0100.06720.87
5.5.250.0070.06320.61
5.5.240.0100.07720.15
5.4.450.0130.04319.57
5.4.440.0270.03319.26
5.4.430.0300.05319.10
5.4.420.0200.04319.57
5.4.410.0270.04719.00
5.4.400.0070.05718.62
5.4.390.0870.06018.49
5.4.380.0700.05718.62
5.4.370.0370.05018.50
5.4.360.0370.04318.46
5.4.350.0230.06318.46
5.4.340.0300.05318.76
5.4.320.0070.03712.45
5.4.310.0090.04412.45
5.4.300.0160.08812.45
5.4.290.0090.04912.45
5.4.280.0070.03812.35
5.4.270.0070.04712.35
5.4.260.0100.06012.34
5.4.250.0070.04212.35
5.4.240.0070.05012.34
5.4.230.0080.03712.34
5.4.220.0070.03512.34
5.4.210.0070.03712.34
5.4.200.0050.03912.34
5.4.190.0040.04512.33
5.4.180.0090.03912.34
5.4.170.0200.04512.33
5.4.160.0150.05312.32
5.4.150.0350.06112.32
5.4.140.0180.04312.00
5.4.130.0150.04511.99
5.4.120.0180.04311.95
5.4.110.0150.04211.94
5.4.100.0180.04211.94
5.4.90.0130.05111.94
5.4.80.0220.04711.95
5.4.70.0150.04511.94
5.4.60.0200.04111.94
5.4.50.0200.04011.94
5.4.40.0160.04711.93
5.4.30.0180.04611.93
5.4.20.0180.04311.93
5.4.10.0140.04711.93
5.4.00.0180.04011.42
5.3.290.0080.04412.80
5.3.280.0070.03612.71
5.3.270.0230.04212.73
5.3.260.0200.04512.72
5.3.250.0210.05112.72
5.3.240.0180.04512.72
5.3.230.0140.04912.70
5.3.220.0120.05112.68
5.3.210.0210.04112.68
5.3.200.0190.04212.68
5.3.190.0150.05012.68
5.3.180.0170.04612.67
5.3.170.0150.04712.67
5.3.160.0360.09012.67
5.3.150.0210.04912.67
5.3.140.0150.05212.66
5.3.130.0160.04712.65
5.3.120.0190.04712.65
5.3.110.0200.04812.66
5.3.100.0150.04712.12
5.3.90.0150.04612.09
5.3.80.0180.04412.07
5.3.70.0190.04312.08
5.3.60.0170.04512.07
5.3.50.0220.04412.00
5.3.40.0200.05112.00
5.3.30.0230.04111.94
5.3.20.0160.04711.73
5.3.10.0180.04011.68
5.3.00.0170.04311.66
5.2.170.0140.0349.18
5.2.160.0100.0409.18
5.2.150.0160.0399.17
5.2.140.0140.0369.17
5.2.130.0160.0399.14
5.2.120.0130.0369.13
5.2.110.0180.0659.14
5.2.100.0120.0369.13
5.2.90.0190.0299.13
5.2.80.0120.0369.12
5.2.70.0120.0369.13
5.2.60.0150.0339.08
5.2.50.0080.0399.05
5.2.40.0120.0389.03
5.2.30.0140.0349.00
5.2.20.0110.0368.99
5.2.10.0110.0348.92
5.2.00.0120.0358.78
5.1.60.0120.0288.06
5.1.50.0150.0258.06
5.1.40.0080.0318.05
5.1.30.0280.0748.39
5.1.20.0110.0318.43
5.1.10.0140.0298.14
5.1.00.0120.0298.14
5.0.50.0080.0256.62
5.0.40.0120.0196.48
5.0.30.0110.0346.30
5.0.20.0080.0236.27
5.0.10.0090.0236.24
5.0.00.0070.0366.23
4.4.90.0050.0194.78
4.4.80.0050.0194.75
4.4.70.0060.0194.75
4.4.60.0060.0194.75
4.4.50.0060.0184.77
4.4.40.0040.0314.71
4.4.30.0110.0154.76
4.4.20.0040.0214.84
4.4.10.0100.0164.85
4.4.00.0130.0234.76
4.3.110.0050.0204.67
4.3.100.0050.0204.66
4.3.90.0040.0204.63
4.3.80.0090.0254.58
4.3.70.0060.0184.63
4.3.60.0080.0164.63
4.3.50.0080.0174.62
4.3.40.0080.0264.54
4.3.30.0040.0193.29
4.3.20.0080.0153.28
4.3.10.0040.0193.24
4.3.00.0000.01715.43