3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $bar = 5; $foo = $bar >= 3; var_dump($foo);
based on X1jiJ

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.00.0030.00916.61
7.2.130.0100.00616.64
7.2.120.0070.01016.74
7.2.110.0040.00716.87
7.2.100.0040.00816.51
7.2.90.0050.00516.82
7.2.80.0000.01317.01
7.2.70.0070.00316.85
7.2.60.0050.00916.56
7.2.50.0060.00616.95
7.2.40.0000.01216.84
7.2.30.0030.00616.54
7.2.20.0090.00616.84
7.2.10.0070.00716.49
7.2.00.0040.00618.10
7.1.250.0000.01015.73
7.1.240.0030.00615.75
7.1.230.0030.01015.74
7.1.220.0030.00715.69
7.1.210.0040.00815.80
7.1.200.0070.00415.81
7.1.190.0030.00915.83
7.1.180.0060.00615.87
7.1.170.0000.01015.66
7.1.160.0030.00615.63
7.1.150.0070.00715.92
7.1.140.0040.00815.76
7.1.130.0030.00315.59
7.1.120.0000.00815.78
7.1.110.0090.00315.85
7.1.100.0060.00816.88
7.1.90.0070.00715.83
7.1.80.0030.01015.51
7.1.70.0000.01016.46
7.1.60.0050.01617.59
7.1.50.0080.01016.28
7.1.40.0030.01015.34
7.1.30.0040.00815.68
7.1.20.0030.00615.63
7.1.10.0080.00315.86
7.1.00.0020.04419.02
7.0.330.0030.00915.33
7.0.320.0030.00915.39
7.0.310.0070.00715.44
7.0.300.0030.00915.12
7.0.290.0030.01015.34
7.0.280.0080.00815.27
7.0.270.0040.01115.39
7.0.260.0060.00615.44
7.0.250.0030.00915.42
7.0.240.0020.00515.39
7.0.230.0000.01315.34
7.0.220.0090.00315.46
7.0.210.0040.01215.19
7.0.200.0030.00515.84
7.0.190.0060.00315.25
7.0.180.0000.00915.47
7.0.170.0030.00615.36
7.0.160.0000.01315.31
7.0.150.0100.00015.35
7.0.140.0050.02018.76
7.0.130.0090.00615.52
7.0.120.0110.00315.08
7.0.110.0070.00715.36
7.0.100.0120.00015.40
7.0.90.0040.00815.39
7.0.80.0110.00415.32
7.0.70.0030.01015.51
7.0.60.0080.04317.75
7.0.50.0060.02216.69
7.0.40.0080.04316.57
7.0.30.0170.04116.84
7.0.20.0140.02216.68
7.0.10.0090.04616.70
7.0.00.0100.04316.73
5.6.380.0040.00814.41
5.6.370.0060.00613.75
5.6.360.0040.01114.43
5.6.350.0030.01214.34
5.6.340.0090.00614.43
5.6.330.0050.00314.30
5.6.320.0070.00713.97
5.6.310.0030.00914.36
5.6.300.0090.00014.16
5.6.290.0030.00514.25
5.6.280.0050.04017.65
5.6.270.0060.00314.19
5.6.260.0030.01014.26
5.6.250.0040.00813.96
5.6.240.0070.00714.25
5.6.230.0070.00714.28
5.6.220.0060.00914.16
5.6.210.0110.03517.38
5.6.200.0090.02416.09
5.6.190.0030.02717.43
5.6.180.0200.04517.39
5.6.170.0130.02617.39
5.6.160.0070.04517.30
5.6.150.0080.03916.20
5.6.140.0080.03716.13
5.6.130.0050.03816.00
5.6.120.0050.03717.46
5.6.110.0100.04117.59
5.6.100.0020.04017.66
5.6.90.0070.04517.65
5.6.80.0030.04717.44
5.6.70.0100.00314.42
5.6.60.0130.00013.96
5.6.50.0080.00414.16
5.6.40.0090.00314.17
5.6.30.0110.00014.21
5.6.20.0040.00714.07
5.6.10.0000.01214.41
5.6.00.0060.00914.08
5.5.380.0000.01010.79
5.5.370.0030.00711.00
5.5.360.0070.00011.01
5.5.350.1780.02615.73
5.5.340.0050.04514.38
5.5.330.0030.02315.54
5.5.320.1290.02815.70
5.5.310.0250.03315.48
5.5.300.0020.04014.35
5.5.290.0050.04314.30
5.5.280.0060.03415.73
5.5.270.0050.02116.00
5.5.260.0050.02015.86
5.5.250.0040.02215.70
5.5.240.0050.03815.42
5.5.230.0000.01010.96
5.5.220.0040.00411.05
5.5.210.0040.00411.00
5.5.200.0040.00410.76
5.5.190.0090.00010.92
5.5.180.0090.00310.92
5.5.170.0040.00410.97
5.5.160.0080.00010.93
5.5.150.0040.00411.04
5.5.140.0080.00310.75
5.5.130.0030.00710.98
5.5.120.0060.00610.95
5.5.110.0040.00410.52
5.5.100.0060.00610.66
5.5.90.0070.00410.80
5.5.80.0030.00710.71
5.5.70.0070.00411.08
5.5.60.0060.00310.55
5.5.50.0060.00310.54
5.5.40.0040.00810.66
5.5.30.0060.00310.99
5.5.20.0070.00310.65
5.5.10.0050.00010.80
5.5.00.0030.00611.02
5.4.450.0080.03415.13
5.4.440.0260.03814.93
5.4.430.0100.03815.20
5.4.420.0090.02815.25
5.4.410.0100.02615.17
5.4.400.0100.02814.87
5.4.390.0130.02914.61
5.4.380.0120.03014.69
5.4.370.0080.03014.68
5.4.360.0150.03014.69
5.4.350.0100.03214.78
5.4.340.0160.03114.67
5.4.330.0070.00410.87
5.4.320.0110.03014.78
5.4.310.0130.02714.64
5.4.300.0120.02614.73
5.4.290.0100.02914.54
5.4.280.0100.03014.49
5.4.270.0150.02514.76
5.4.260.0080.03314.76
5.4.250.0150.03214.69
5.4.240.0070.03514.70
5.4.230.0130.02814.70
5.4.220.0080.03614.67
5.4.210.0230.03214.58
5.4.200.0150.03413.72
5.4.190.0130.02814.52
5.4.180.0120.03214.64
5.4.170.0130.03114.66
5.4.160.0110.03014.57
5.4.150.0120.03414.65
5.4.140.0150.03513.69
5.4.130.0180.02313.36
5.4.120.0140.02913.51
5.4.110.0120.02713.53
5.4.100.0120.02713.50
5.4.90.0100.03313.61
5.4.80.0150.02713.47
5.4.70.0120.03013.49
5.4.60.0120.02513.58
5.4.50.0130.02713.53
5.4.40.0130.02813.28
5.4.30.0120.02713.49
5.4.20.0190.02713.59
5.4.10.0060.03313.39
5.4.00.0120.02813.13
5.3.290.0080.03112.55
5.3.280.0100.03212.50
5.3.270.0080.03412.59
5.3.260.0080.03812.52
5.3.250.0120.03012.54
5.3.240.0080.03212.54
5.3.230.0110.03012.58
5.3.220.0120.02912.55
5.3.210.0080.03112.47
5.3.200.0130.02512.48
5.3.190.0150.02412.57
5.3.180.0150.02512.51
5.3.170.0100.03512.55
5.3.160.0110.02912.49
5.3.150.0120.02912.52
5.3.140.0140.02612.56
5.3.130.0170.02912.55
5.3.120.0110.03112.49
5.3.110.0080.03312.50
5.3.100.0080.03212.21
5.3.90.0120.03412.20
5.3.80.0070.03912.30
5.3.70.0090.03112.22
5.3.60.0120.02912.22
5.3.50.0170.02512.23
5.3.40.0130.03612.18
5.3.30.0130.02712.14
5.3.20.0140.02812.04
5.3.10.0160.02712.06
5.3.00.0100.03412.02
5.2.170.0130.02110.84
5.2.160.0150.02810.80
5.2.150.0130.02410.79
5.2.140.0110.02010.79
5.2.130.0070.02610.76
5.2.120.0110.02010.78
5.2.110.0090.02410.81
5.2.100.0150.01810.81
5.2.90.0150.02310.78
5.2.80.0080.02510.77
5.2.70.0050.03010.82
5.2.60.0070.03310.79
5.2.50.0100.02710.73
5.2.40.0070.02710.81
5.2.30.0090.02210.68
5.2.20.0110.01810.70
5.2.10.0070.02510.72
5.2.00.0080.02610.66
5.1.60.0080.01810.25
5.1.50.0050.02310.30
5.1.40.0050.02210.26
5.1.30.0080.02110.44
5.1.20.0080.02610.45
5.1.10.0110.01810.29
5.1.00.0100.01910.27
5.0.50.0020.0209.55
5.0.40.0070.0139.48
5.0.30.0050.0259.34
5.0.20.0050.0189.40
5.0.10.0050.0249.39
5.0.00.0070.0259.42
4.4.90.0060.0138.20
4.4.80.0050.0138.19
4.4.70.0030.0188.17
4.4.60.0100.0148.19
4.4.50.0070.0128.19
4.4.40.0020.0238.20
4.4.30.0200.0108.19
4.4.20.0050.0208.21
4.4.10.0050.0138.18
4.4.00.0050.0208.23
4.3.110.0030.0158.12
4.3.100.0030.0148.15
4.3.90.0030.0188.16
4.3.80.0030.0228.15
4.3.70.0060.0128.14
4.3.60.0020.0148.13
4.3.50.0020.0158.14
4.3.40.0060.0168.13
4.3.30.0030.0127.52
4.3.20.0050.0127.51
4.3.10.0040.0127.54
4.3.00.0030.0119.64