3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_export( getimagesize( 'data:image/png;base64,iVBORw0KGgoAAA ANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4 //8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU 5ErkJggg==' ) );

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.20.0870.00814.61
7.3.10.0770.00814.49
7.3.00.0830.00614.70
7.2.150.0910.00714.83
7.2.140.0760.00914.79
7.2.130.0890.00714.63
7.2.120.1080.00714.72
7.2.110.0950.00914.69
7.2.100.0850.00714.76
7.2.90.0810.00714.74
7.2.80.0950.01014.78
7.2.70.0790.00714.78
7.2.60.1310.00614.74
7.2.50.1100.00714.65
7.2.40.1000.00914.78
7.2.30.0930.01014.78
7.2.20.1110.00614.80
7.2.10.1030.00814.76
7.2.00.1250.00814.69
7.1.250.0970.00813.71
7.1.240.0470.01213.61
7.1.230.0490.00813.71
7.1.220.0450.00713.64
7.1.210.0490.00513.55
7.1.200.0560.00513.51
7.1.190.0440.00713.82
7.1.180.0490.01213.77
7.1.170.0670.00513.67
7.1.160.0500.00813.67
7.1.150.0520.00513.77
7.1.140.0440.00813.79
7.1.130.0600.00213.70
7.1.120.0440.01413.79
7.1.110.0380.00713.65
7.1.100.0500.01113.86
7.1.90.0350.00813.91
7.1.80.0550.01013.79
7.1.70.0540.00313.90
7.1.60.0760.00213.81
7.1.50.0450.00713.79
7.1.40.0470.01013.66
7.1.30.0510.00613.93
7.1.20.0570.01013.73
7.1.10.0540.00613.69
7.1.00.0360.00513.87
7.0.330.0500.00813.02
7.0.320.0560.00813.38
7.0.310.0540.01013.48
7.0.300.0540.00513.26
7.0.290.0560.00513.38
7.0.280.0480.00713.40
7.0.270.0560.00513.44
7.0.260.0510.00513.39
7.0.250.0610.00813.35
7.0.240.0600.00313.46
7.0.230.0530.00713.22
7.0.220.0300.00713.47
7.0.210.0520.00813.42
7.0.200.0440.00213.38
7.0.190.0510.00313.35
7.0.180.0680.00513.30
7.0.170.0960.00713.32
7.0.160.0640.01213.38
7.0.150.0480.00713.38
7.0.140.0520.01013.36
7.0.130.0560.01013.50
7.0.120.0670.00513.54
7.0.110.0570.00713.42
7.0.100.0450.00613.49
7.0.90.0670.01013.37
7.0.80.0540.00613.39
7.0.70.0500.00713.24
7.0.60.0460.00713.53
7.0.50.0470.01013.51
7.0.40.0500.00713.53
7.0.30.0460.00313.52
7.0.20.0520.00813.46
7.0.10.0480.00313.56
7.0.00.0510.01013.58
hhvm-3.22.00.0930.13090.63
hhvm-3.21.30.0850.13289.16
hhvm-3.21.00.0620.15088.67
hhvm-3.20.20.0800.10889.44
hhvm-3.19.20.0840.17488.91
hhvm-3.18.50.0900.14687.55
hhvm-3.18.40.0720.12787.73
hhvm-3.17.30.0940.14286.37
hhvm-3.15.40.0840.11684.17
hhvm-3.13.20.1200.14595.60
hhvm-3.12.140.0980.13494.50
hhvm-3.11.10.1270.20486.01
hhvm-3.10.10.0830.15583.61
5.6.380.0120.01014.08
5.6.370.0140.00913.98
5.6.360.0070.01213.86
5.6.350.0190.00714.00
5.6.340.0160.01214.08
5.6.330.0180.00813.89
5.6.320.0130.00613.77
5.6.310.0130.00613.87
5.6.300.0150.01414.25
5.6.290.0110.01414.05
5.6.280.0160.00914.05
5.6.270.0120.01213.88
5.6.260.0180.01014.04
5.6.250.0200.01014.02
5.6.240.0160.01414.08
5.6.230.0150.00714.15
5.6.220.0180.00913.93
5.6.210.0160.00614.12
5.6.200.0130.01213.91
5.6.190.0140.01214.04
5.6.180.0200.01214.12
5.6.170.0180.01414.06
5.6.160.0150.01413.94
5.6.150.0170.01113.91
5.6.140.0110.00913.99
5.6.130.0100.01614.17
5.6.120.0210.01014.02
5.6.110.0140.01614.13
5.6.100.0150.00814.07
5.6.90.0130.01213.86
5.6.80.0200.00914.04
5.6.70.0140.01013.98
5.6.60.0150.01213.94
5.6.50.0140.01213.77
5.6.40.0180.00713.85
5.6.30.0100.01114.05
5.6.20.0130.01114.13
5.6.10.0190.00613.90
5.6.00.0180.00413.90
5.5.380.0090.01010.85
5.5.370.0150.00710.96
5.5.360.0140.00610.73
5.5.350.0110.00810.86
5.5.340.0170.00510.81
5.5.330.0140.00710.59
5.5.320.0180.00510.65
5.5.310.0140.00510.87
5.5.300.0060.00710.88
5.5.290.0120.01210.94
5.5.280.0110.00710.89
5.5.270.0100.00510.61
5.5.260.0090.00910.81
5.5.250.0150.00510.65
5.5.240.0100.01010.85
5.5.230.0110.00910.68
5.5.220.0140.00410.84
5.5.210.0080.00410.72
5.5.200.0120.00610.81
5.5.190.0100.00610.71
5.5.180.0110.00810.80
5.5.170.0120.00310.77
5.5.160.0060.00710.75
5.5.150.0070.00910.83
5.5.140.0100.00710.82
5.5.130.0070.00510.72
5.5.120.0130.00610.71
5.5.110.0090.00710.65
5.5.100.0060.01010.70
5.5.90.0100.00710.75
5.5.80.0110.00710.64
5.5.70.0110.00810.78
5.5.60.0070.00510.86
5.5.50.0130.00610.81
5.5.40.0120.00510.79
5.5.30.0140.00410.73
5.5.20.0120.00310.75
5.5.10.0090.00410.57
5.5.00.0100.00710.45
5.4.450.0100.01010.82
5.4.440.0120.00911.01
5.4.430.0120.00610.88
5.4.420.0130.00410.89
5.4.410.0120.00810.73
5.4.400.0090.00710.71
5.4.390.0100.00910.48
5.4.380.0110.00610.84
5.4.370.0060.00910.79
5.4.360.0140.00210.59
5.4.350.0070.01110.69
5.4.340.0040.01010.64
5.4.330.0160.00610.79
5.4.320.0100.00410.70
5.4.310.0110.00710.64
5.4.300.0080.00410.60
5.4.290.0070.00610.86
5.4.280.0150.00510.78
5.4.270.0150.00710.90
5.4.260.0060.01410.63
5.4.250.0130.00410.69
5.4.240.0090.00510.79
5.4.230.0140.00610.66
5.4.220.0110.00710.52
5.4.210.0140.00010.69
5.4.200.0130.00310.79
5.4.190.0110.00110.79
5.4.180.0090.00810.56
5.4.170.0160.00110.67
5.4.160.0090.00510.74
5.4.150.0060.00610.56
5.4.140.0100.00710.61
5.4.130.0060.00910.75
5.4.120.0120.00510.68
5.4.110.0110.00510.54
5.4.100.0110.00610.73
5.4.90.0130.00410.70
5.4.80.0170.00310.72
5.4.70.0090.00710.85
5.4.60.0060.00910.78
5.4.50.0120.00710.73
5.4.40.0150.00610.61
5.4.30.0160.00610.86
5.4.20.0130.00310.76
5.4.10.0040.00810.84
5.4.00.0100.00310.79
5.3.290.0110.00310.20
5.3.280.0130.00510.12
5.3.270.0100.00910.30
5.3.260.0120.00210.21
5.3.250.0110.00510.15
5.3.240.0090.00510.16
5.3.230.0130.00310.24
5.3.220.0090.00710.20
5.3.210.0090.00610.11
5.3.200.0110.01110.22
5.3.190.0120.00410.17
5.3.180.0150.00510.37
5.3.170.0140.00210.42
5.3.160.0140.00310.36
5.3.150.0120.00710.36
5.3.140.0130.00210.33
5.3.130.0120.00510.23
5.3.120.0100.00310.28
5.3.110.0100.00310.42
5.3.100.0050.00810.38
5.3.90.0130.00310.31
5.3.80.0110.00610.13
5.3.70.0140.00310.16
5.3.60.0120.00710.34
5.3.50.0120.00310.10
5.3.40.0100.00610.17
5.3.30.0100.00610.27
5.3.20.0080.00810.08
5.3.10.0170.00510.04
5.3.00.0090.0049.97
5.2.170.0040.0059.10
5.2.160.0060.0059.41
5.2.150.0090.0089.28
5.2.140.0150.0009.24
5.2.130.0090.0049.12
5.2.120.0120.0039.37
5.2.110.0080.0029.28
5.2.100.0130.0029.21
5.2.90.0120.0029.28
5.2.80.0100.0029.20
5.2.70.0060.0059.16
5.2.60.0050.0089.05
5.2.50.0090.0059.18
5.2.40.0060.0069.18
5.2.30.0050.0049.09
5.2.20.0060.0069.12
5.2.10.0080.0049.05
5.2.00.0080.0058.91
5.1.60.0100.0038.20
5.1.50.0090.0068.21
5.1.40.0100.0048.21
5.1.30.0020.0148.55
5.1.20.0050.0058.37
5.1.10.0060.0058.52
5.1.00.0120.0028.31
5.0.50.0090.0027.33
5.0.40.0120.0017.47
5.0.30.0030.0067.22
5.0.20.0080.0037.17
5.0.10.0070.0027.19
5.0.00.0060.0037.17
4.4.90.0030.0046.96
4.4.80.0060.0056.96
4.4.70.0020.0076.96
4.4.60.0020.0046.96
4.4.50.0040.0046.96
4.4.40.0070.0036.96
4.4.30.0080.0036.96
4.4.20.0070.0016.96
4.4.10.0060.0016.96
4.4.00.0020.0096.96
4.3.110.0030.0046.96
4.3.100.0030.0096.96
4.3.90.0000.0066.96
4.3.80.0030.0066.96
4.3.70.0050.0036.96
4.3.60.0020.0076.96
4.3.50.0050.0056.96
4.3.40.0060.0016.96
4.3.30.0010.0046.96
4.3.20.0040.0036.96
4.3.10.0060.0006.96
4.3.00.0000.0066.96