3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare(strict_types=1); echo base_convert(base_convert(3.14, 10, 16), 16, 10);

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.40.0080.00814.60
7.3.30.0090.00614.61
7.3.20.0100.00716.03
7.3.10.0060.00915.95
7.3.00.0100.00716.06
7.2.170.0080.00714.79
7.2.160.0090.00814.72
7.2.150.0090.00816.27
7.2.140.0080.00916.27
7.2.130.0090.00716.25
7.2.120.0110.00816.27
7.2.110.0070.00716.30
7.2.100.0090.00716.27
7.2.90.0090.00716.19
7.2.80.0090.00716.20
7.2.70.0100.00516.26
7.2.60.0070.00616.31
7.2.50.0100.00616.27
7.2.40.0090.00816.26
7.2.30.0150.00816.29
7.2.20.0080.00816.22
7.2.10.0070.00716.24
7.2.00.0110.00816.34
7.1.280.0070.00715.16
7.1.270.0070.00715.18
7.1.260.0080.00715.16
7.1.250.0090.00615.13
7.1.240.0300.00714.70
7.1.230.0060.00814.70
7.1.220.0090.00814.75
7.1.210.0100.00714.67
7.1.200.0060.00914.66
7.1.190.0090.00514.71
7.1.180.0130.00514.72
7.1.170.0090.00414.73
7.1.160.0070.01014.63
7.1.150.0090.00614.90
7.1.140.0080.00714.82
7.1.130.0100.00714.76
7.1.120.0070.01114.64
7.1.110.0090.01014.82
7.1.100.0120.00514.91
7.1.90.0120.00814.82
7.1.80.0090.00814.69
7.1.70.0100.00814.95
7.1.60.0110.00614.82
7.1.50.0090.00615.05
7.1.40.0110.00914.94
7.1.30.0130.00514.90
7.1.20.0120.00414.98
7.1.10.0080.01014.73
7.1.00.0120.00614.88
7.0.330.0070.00714.48
7.0.320.0120.01214.46
7.0.310.0060.00914.46
7.0.300.0090.00514.41
7.0.290.0090.00814.46
7.0.280.0060.00914.37
7.0.270.0100.00814.32
7.0.260.0360.00414.40
7.0.250.0080.00714.41
7.0.240.0130.00514.54
7.0.230.0090.00714.31
7.0.220.0110.00814.46
7.0.210.0100.00614.73
7.0.200.0090.01114.67
7.0.190.0100.00814.63
7.0.180.0100.00514.65
7.0.170.0070.00914.47
7.0.160.0090.00614.59
7.0.150.0130.00614.50
7.0.140.0090.00714.58
7.0.130.0100.00814.52
7.0.120.0120.00614.43
7.0.110.0100.00714.41
7.0.100.0090.00614.36
7.0.90.0080.00814.66
7.0.80.0190.00714.95
7.0.70.0100.00814.83
7.0.60.0050.00914.89
7.0.50.0060.01014.93
7.0.40.0120.01015.21
7.0.30.0120.00715.20
7.0.20.0050.00715.03
7.0.10.0100.00915.14
7.0.00.0100.00915.22
hhvm-3.22.00.0930.13390.34
hhvm-3.21.30.0810.13689.17
hhvm-3.21.00.0840.13089.04
hhvm-3.20.20.0830.13089.46
hhvm-3.19.20.0890.14688.49
hhvm-3.18.50.0710.14187.47
hhvm-3.18.40.0750.13387.07
hhvm-3.17.30.0880.13286.37
hhvm-3.15.40.0740.10984.17
hhvm-3.13.20.1080.12495.43
hhvm-3.12.140.1090.13794.34
hhvm-3.11.10.1090.14286.17
hhvm-3.10.10.0780.13583.65
5.6.400.0110.00713.85
5.6.390.0100.00713.83
5.6.380.0090.01013.84
5.6.370.0180.00613.68
5.6.360.0090.00913.76
5.6.350.0120.01013.76
5.6.340.0140.00913.75
5.6.330.0100.00813.70
5.6.320.0090.00813.75
5.6.310.0150.00613.83
5.6.300.0080.01313.92
5.6.290.0110.00813.76
5.6.280.0110.01013.84
5.6.270.0120.00813.94
5.6.260.0100.00813.74
5.6.250.0070.01113.82
5.6.240.0120.00313.93
5.6.230.0050.01213.69
5.6.220.0110.00613.78
5.6.210.0080.00913.81
5.6.200.0110.00613.75
5.6.190.0090.00913.70
5.6.180.0080.00813.88
5.6.170.0100.00913.81
5.6.160.0110.00513.77
5.6.150.0070.00813.89
5.6.140.0090.00813.90
5.6.130.0140.00814.06
5.6.120.0090.01013.91
5.6.110.0130.00913.92
5.6.100.0110.00713.70
5.6.90.0100.00713.98
5.6.80.0080.00713.87
5.6.70.0130.00413.88
5.6.60.0100.00713.83
5.6.50.0150.00513.94
5.6.40.0070.00713.80
5.6.30.0120.00613.91
5.6.20.0110.00913.92
5.6.10.0080.01114.04
5.6.00.0130.00613.93
5.5.380.0090.00913.68
5.5.370.0110.00913.78
5.5.360.0090.00913.94
5.5.350.0040.00913.73
5.5.340.0100.00713.96
5.5.330.0120.00714.01
5.5.320.0140.00713.78
5.5.310.0110.01114.03
5.5.300.0090.00713.88
5.5.290.0100.00814.03
5.5.280.0110.01013.93
5.5.270.0100.01113.68
5.5.260.0140.00813.93
5.5.250.0100.00913.84
5.5.240.0100.00713.75
5.5.230.0130.00813.67
5.5.220.0100.01013.81
5.5.210.0080.00913.91
5.5.200.0100.00713.93
5.5.190.0100.00614.00
5.5.180.0090.01213.77
5.5.170.0100.00913.98
5.5.160.0080.01213.98
5.5.150.0110.00613.84
5.5.140.0090.01013.82
5.5.130.0090.00813.59
5.5.120.0070.00913.83
5.5.110.0080.00913.94
5.5.100.0070.00913.80
5.5.90.0120.00913.99
5.5.80.0100.01113.90
5.5.70.0040.01013.66
5.5.60.0110.00713.91
5.5.50.0090.00913.62
5.5.40.0130.00713.74
5.5.30.0080.01013.87
5.5.20.0110.00513.89
5.5.10.0110.00813.75
5.5.00.0100.01113.87
5.4.450.0100.00410.67
5.4.440.0090.00510.57
5.4.430.0110.00610.60
5.4.420.0070.00710.62
5.4.410.0050.00910.56
5.4.400.0090.00610.69
5.4.390.0050.00510.58
5.4.380.0050.00910.49
5.4.370.0100.00410.66
5.4.360.0080.00310.56
5.4.350.0080.00710.76
5.4.340.0080.00510.66
5.4.330.0100.00710.68
5.4.320.0100.00510.62
5.4.310.0090.00710.41
5.4.300.0080.00510.58
5.4.290.0050.00710.58
5.4.280.0080.00510.69
5.4.270.0110.00210.71
5.4.260.0080.00510.71
5.4.250.0100.00410.67
5.4.240.0070.00510.69
5.4.230.0070.00810.70
5.4.220.0050.00710.69
5.4.210.0100.00510.52
5.4.200.0110.00510.54
5.4.190.0070.00510.55
5.4.180.0050.00610.58
5.4.170.0060.00710.64
5.4.160.0090.00410.49
5.4.150.0100.00610.49
5.4.140.0100.00710.71
5.4.130.0070.00610.62
5.4.120.0080.00610.87
5.4.110.0050.00610.70
5.4.100.0120.00410.82
5.4.90.0070.00710.68
5.4.80.0080.00510.73
5.4.70.0050.00810.53
5.4.60.0080.00510.70
5.4.50.0140.00510.64
5.4.40.0100.00610.69
5.4.30.0080.00510.69
5.4.20.0070.00510.64
5.4.10.0100.00410.83
5.4.00.0090.00410.76
5.3.290.0080.00410.34
5.3.280.0060.00310.19
5.3.270.0070.00510.32
5.3.260.0070.00810.30
5.3.250.0060.00910.30
5.3.240.0040.00510.20
5.3.230.0060.00510.24
5.3.220.0070.00710.27
5.3.210.0060.00810.31
5.3.200.0100.00610.35
5.3.190.0060.00510.30
5.3.180.0080.00810.49
5.3.170.0060.00610.40
5.3.160.0050.00810.42
5.3.150.0030.01010.48
5.3.140.0050.00710.40
5.3.130.0090.00410.44
5.3.120.0080.00310.52
5.3.110.0050.00510.47
5.3.100.0070.00710.35
5.3.90.0080.00910.44
5.3.80.0070.00510.19
5.3.70.0130.00310.32
5.3.60.0070.00410.33
5.3.50.0040.00710.32
5.3.40.0040.00810.38
5.3.30.0070.00410.36
5.3.20.0050.00810.14
5.3.10.0060.00610.07
5.3.00.0030.00610.01
5.2.170.0090.0039.40
5.2.160.0060.0059.34
5.2.150.0070.0069.24
5.2.140.0090.0049.30
5.2.130.0080.0039.25
5.2.120.0040.0069.27
5.2.110.0060.0049.14
5.2.100.0070.0059.25
5.2.90.0060.0059.17
5.2.80.0080.0049.02
5.2.70.0090.0048.97
5.2.60.0090.0038.85
5.2.50.0100.0029.08
5.2.40.0050.0059.27
5.2.30.0070.0039.12
5.2.20.0060.0049.07
5.2.10.0080.0029.04
5.2.00.0090.0028.95
5.1.60.0070.0048.40
5.1.50.0060.0058.44
5.1.40.0050.0058.46
5.1.30.0080.0038.59
5.1.20.0060.0038.36
5.1.10.0060.0048.37
5.1.00.0040.0048.42
5.0.50.0030.0058.30
5.0.40.0040.0068.30
5.0.30.0060.0028.30
5.0.20.0050.0048.30
5.0.10.0050.0038.30
5.0.00.0060.0028.30
4.4.90.0050.0028.30
4.4.80.0050.0028.30
4.4.70.0030.0038.30
4.4.60.0020.0048.30
4.4.50.0050.0028.30
4.4.40.0040.0038.30
4.4.30.0030.0048.30
4.4.20.0030.0048.30
4.4.10.0030.0038.30
4.4.00.0040.0038.30
4.3.110.0050.0038.30
4.3.100.0030.0058.30
4.3.90.0030.0048.30
4.3.80.0030.0028.30
4.3.70.0050.0018.30
4.3.60.0040.0038.30
4.3.50.0040.0038.30
4.3.40.0040.0058.30
4.3.30.0040.0048.30
4.3.20.0030.0048.30
4.3.10.0040.0038.30
4.3.00.0020.0038.30