3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?PHP $url = 'http://www.google.com/recaptcha/api/verify'; $data['privatekey'] = "6Lfzs_ESAAAAANS4DbMX4f5yLILbOxInzzZil2FE"; $data['remoteip'] = "192.168.0.1"; $data['challenge'] = "c"; $data['response'] = "r"; $options = array( 'http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data), ) );

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.0rc40.0140.00698.97
7.3.0rc30.0160.00316.61
7.3.0beta10.0100.00012.82
7.2.00.0030.00919.15
7.1.200.0000.00815.75
7.1.70.0000.00717.16
7.1.60.0100.01319.82
7.1.50.0120.01216.56
7.1.00.0030.09322.28
7.0.200.0040.00816.47
7.0.140.0130.06322.05
7.0.60.0130.07019.78
7.0.50.0030.04717.80
7.0.40.0070.08720.40
7.0.30.0270.07020.09
7.0.20.0400.07020.30
7.0.10.0300.08320.22
7.0.00.0030.05320.01
5.6.210.0030.08320.47
5.6.200.0030.07318.18
5.6.190.0130.08320.41
5.6.180.3530.04020.43
5.6.170.0400.07320.36
5.6.160.0070.04020.48
5.6.150.0100.03318.15
5.6.140.0030.04318.21
5.6.130.0100.08018.16
5.6.120.0030.04321.05
5.6.110.0130.07721.08
5.6.100.0030.08321.13
5.6.90.0070.08021.01
5.6.80.0100.06720.33
5.6.70.3700.04320.34
5.5.350.0070.03320.30
5.5.340.0000.04717.92
5.5.330.0130.03720.21
5.5.320.0070.05720.29
5.5.310.0270.08020.26
5.5.300.0100.04718.01
5.5.290.0070.08017.89
5.5.280.0030.04320.88
5.5.270.0100.08020.93
5.5.260.0070.07720.67
5.5.250.0130.07020.69
5.5.240.0000.07020.21
5.4.450.0200.05019.12
5.4.440.0170.05719.25
5.4.430.0070.05719.46
5.4.420.0000.06319.31
5.4.410.0230.04019.45
5.4.400.0830.00018.62
5.4.390.0830.00018.58
5.4.380.0170.06018.68
5.4.370.1000.05318.68
5.4.360.1070.06718.63
5.4.350.1100.05318.65
5.4.340.1070.05718.68
5.4.320.0060.04012.45
5.4.310.0090.04012.46
5.4.300.0050.04312.45
5.4.290.0100.04112.45
5.4.280.0070.04912.35
5.4.270.0070.07718.81
5.4.260.0130.07018.87
5.4.250.0170.04718.91
5.4.240.0130.06018.64
5.4.230.0200.06318.91
5.4.220.0030.06018.78
5.4.210.0130.04718.80
5.4.200.0100.06718.79
5.4.190.0100.05718.68
5.4.180.0170.05718.85
5.4.170.0170.07318.76
5.4.160.0030.06018.89
5.4.150.0170.05718.76
5.4.140.0130.07716.25
5.4.130.0130.04716.25
5.4.120.0130.06716.50
5.4.110.0170.05016.37
5.4.100.0070.05716.52
5.4.90.0200.04716.51
5.4.80.0230.05716.48
5.4.70.0130.06316.51
5.4.60.0170.05316.24
5.4.50.0130.04316.26
5.4.40.0200.03716.29
5.4.30.0000.07016.17
5.4.20.0200.05316.21
5.4.10.0100.05716.31
5.4.00.0130.07015.71
5.3.290.0060.04612.80
5.3.280.0130.05014.61
5.3.270.0030.05714.63
5.3.260.0100.06014.48
5.3.250.0070.07014.49
5.3.240.0170.05014.60
5.3.230.0030.07714.59
5.3.220.0070.05714.36
5.3.210.0100.06714.56
5.3.200.0130.06714.45
5.3.190.0030.07314.58
5.3.180.0130.07014.57
5.3.170.0100.05714.43
5.3.160.0070.06014.40
5.3.150.0070.07014.58
5.3.140.0100.06014.42
5.3.130.0070.06714.56
5.3.120.0130.05314.40
5.3.110.0030.08014.56
5.3.100.0030.07313.73
5.3.90.0000.06014.03
5.3.80.0100.06314.11
5.3.70.0100.05713.85
5.3.60.0030.07314.00
5.3.50.0070.05313.82
5.3.40.0130.05013.96
5.3.30.0000.06013.82
5.3.20.0030.06313.71
5.3.10.0200.05313.51
5.3.00.0030.07713.50
5.2.170.0030.05010.98
5.2.160.0100.04011.16
5.2.150.0100.05311.30
5.2.140.0130.04311.15
5.2.130.0070.04011.03
5.2.120.0100.04011.25
5.2.110.0070.04011.25
5.2.100.0030.05311.10
5.2.90.0070.04710.99
5.2.80.0030.05711.08
5.2.70.0070.04710.85
5.2.60.0100.03711.06
5.2.50.0070.05311.02
5.2.40.0070.03710.99
5.2.30.0130.05011.00
5.2.20.0100.03310.98
5.2.10.0000.04711.03
5.2.00.0070.04010.55
5.1.60.0070.04710.01
5.1.50.0100.03010.09
5.1.40.0070.03710.21
5.1.30.0030.05310.48
5.1.20.0030.04010.28
5.1.10.0070.0479.97
5.1.00.0100.04310.10
5.0.50.0030.0338.68
5.0.40.0100.0338.35
5.0.30.0130.0508.41
5.0.20.0000.0308.25
5.0.10.0070.0308.13
5.0.00.0030.0408.19
4.4.90.0030.0237.43
4.4.80.0100.0177.43
4.4.70.0000.0237.43
4.4.60.0070.0207.43
4.4.50.0030.0207.43
4.4.40.0070.0337.43
4.4.30.0070.0277.43
4.4.20.0000.0337.43
4.4.10.0070.0277.43
4.4.00.0030.0477.43
4.3.110.0000.0307.43
4.3.100.0030.0277.43
4.3.90.0000.0307.43
4.3.80.0000.0407.43
4.3.70.0070.0177.43
4.3.60.0070.0177.43
4.3.50.0030.0207.44
4.3.40.0000.0337.44
4.3.30.0000.0337.44
4.3.20.0030.0207.44
4.3.10.0030.0207.44
4.3.00.0100.0238.20