3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('display_errors', true); error_reporting(-1); function o($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization:key=123')); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, array(1,2,3)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $output = curl_exec($ch); curl_close($ch); return $output; } var_dump( o("http://android.googleapis.com/gcm/send") ); var_dump( o("https://android.googleapis.com/gcm/send") );

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).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0160.00016.63
8.3.50.0110.01017.57
8.3.40.0150.00618.87
8.3.30.0120.00618.54
8.3.20.0090.00318.91
8.3.10.0090.00020.59
8.3.00.0040.00419.38
8.2.180.0140.00716.88
8.2.170.0180.00322.96
8.2.160.0100.00721.04
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00418.98
8.2.110.0000.00920.84
8.2.100.0120.00017.72
8.2.90.0050.00319.16
8.2.80.0040.00419.23
8.2.70.0030.00617.62
8.2.60.0050.00317.79
8.2.50.0040.00418.07
8.2.40.0040.00418.03
8.2.30.0070.00418.07
8.2.20.0000.00717.53
8.2.10.0000.00717.73
8.2.00.0040.00417.64
8.1.280.0090.00625.92
8.1.270.0050.00224.66
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0090.00022.42
8.1.230.0090.00820.87
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0040.00417.51
8.1.180.0060.00318.10
8.1.170.0050.00318.84
8.1.160.0070.00018.78
8.1.150.0000.00718.48
8.1.140.0070.00017.44
8.1.130.0040.00417.69
8.1.120.0000.00717.40
8.1.110.0040.00417.32
8.1.100.0000.00717.33
8.1.90.0050.00317.35
8.1.80.0070.00017.23
8.1.70.0000.00817.30
8.1.60.0070.00017.38
8.1.50.0040.00417.36
8.1.40.0070.00417.36
8.1.30.0040.00417.56
8.1.20.0000.00817.57
8.1.10.0040.00417.54
8.1.00.0020.00517.43
8.0.300.0000.00820.04
8.0.290.0040.00416.75
8.0.280.0030.00518.30
8.0.270.0030.00317.21
8.0.260.0000.00716.79
8.0.250.0000.00717.03
8.0.240.0030.00516.93
8.0.230.0070.00016.85
8.0.220.0000.00816.93
8.0.210.0000.00716.93
8.0.200.0030.00316.90
8.0.190.0040.00416.99
8.0.180.0070.00016.95
8.0.170.0030.00616.78
8.0.160.0030.00616.88
8.0.150.0030.00616.85
8.0.140.0000.01016.88
8.0.130.0050.00013.33
8.0.120.0080.00016.74
8.0.110.0000.00716.96
8.0.100.0070.00016.93
8.0.90.0000.00716.95
8.0.80.0140.00316.80
8.0.70.0020.00516.88
8.0.60.0000.00816.92
8.0.50.0020.00516.89
8.0.30.0120.01017.07
8.0.20.0110.00816.93
8.0.10.0070.00017.06
8.0.00.0090.00916.68
7.4.330.0000.00412.90
7.4.320.0030.00316.39
7.4.300.0000.00716.50
7.4.290.0040.00416.44
7.4.280.0040.00416.55
7.4.270.0000.00716.47
7.4.260.0030.00313.13
7.4.250.0080.00016.47
7.4.240.0030.00316.34
7.4.230.0030.00316.47
7.4.220.0140.00316.55
7.4.210.0090.00616.49
7.4.200.0000.00716.56
7.4.190.0000.00816.31
7.4.160.0060.01016.54
7.4.150.0150.00316.69
7.4.140.0150.00816.48
7.4.130.0110.00616.47
7.4.120.0110.00816.60
7.4.110.0110.01116.43
7.4.100.0080.00916.43
7.4.90.0110.00716.39
7.4.80.0060.00916.39
7.4.70.0130.01016.52
7.4.60.0040.01816.55
7.4.50.0070.00316.28
7.4.40.0040.01416.30
7.4.30.0060.01216.61
7.4.00.0070.01014.85
7.3.330.0000.00513.08
7.3.320.0030.00313.18
7.3.310.0040.00416.13
7.3.300.0030.00316.17
7.3.290.0000.01416.33
7.3.280.0070.00716.32
7.3.270.0170.00716.48
7.3.260.0110.01216.53
7.3.250.0160.00516.34
7.3.240.0110.01116.32
7.3.230.0100.00716.59
7.3.210.0130.00716.25
7.3.200.0080.01419.39
7.3.190.0070.01316.49
7.3.180.0120.00316.49
7.3.170.0060.01716.63
7.3.160.0170.00416.30
7.3.120.0070.01015.00
7.3.10.0050.00516.29
7.3.00.0120.00316.28
7.2.330.0100.00716.29
7.2.320.0160.00516.63
7.2.310.0140.00516.62
7.2.300.0170.00016.34
7.2.290.0090.00916.73
7.2.130.0070.00716.55
7.2.120.0050.00516.57
7.2.110.0180.00016.33
7.2.100.0060.00316.23
7.2.90.0080.00416.80
7.2.80.0040.01216.67
7.2.70.0110.00616.74
7.2.60.0020.01216.71
7.2.50.0120.00616.88
7.2.40.0120.00316.73
7.2.30.0110.00416.51
7.2.20.0060.00616.69
7.2.10.0030.01316.56
7.2.00.0070.00717.95
7.1.250.0000.01315.53
7.1.200.0100.00315.75
7.1.100.0240.00417.33
7.1.70.0050.00517.15
7.1.60.0070.01719.40
7.1.50.0070.01316.89
7.1.00.0000.08022.28
7.0.200.0030.00716.41
7.0.140.0030.07322.01
7.0.120.0070.07022.18
7.0.60.0000.08321.66
7.0.50.0070.08017.89
7.0.40.0100.07017.75
7.0.30.0170.04017.86
7.0.20.0100.08317.85
7.0.10.0100.07717.85
7.0.00.0070.08717.85
5.6.280.0130.06320.93
5.6.210.0070.08020.63
5.6.200.0170.07318.13
5.6.190.0030.08318.12
5.6.180.0170.06718.19
5.6.170.0030.05018.15
5.6.160.0130.07318.18
5.6.150.0070.04318.19
5.6.140.0000.09018.14
5.6.130.0200.07018.27
5.6.120.0170.05318.22
5.6.110.0070.06718.15
5.6.100.0030.08718.17
5.6.90.0200.05318.21
5.6.80.0030.06317.60
5.6.70.0170.06317.67
5.6.60.0030.06717.54
5.6.50.0070.07717.53
5.6.40.0170.06017.58
5.6.30.0130.07317.61
5.6.20.0070.07717.52
5.6.10.0070.06717.54
5.6.00.0100.03717.56
5.5.350.0070.07720.45
5.5.340.0070.08317.98
5.5.330.0200.07318.04
5.5.320.0030.06318.08
5.5.310.0100.06318.04
5.5.300.0100.05318.04
5.5.290.0170.07017.95
5.5.280.0130.03717.96
5.5.270.0030.08317.96
5.5.260.0030.08318.04
5.5.250.0000.05017.77
5.5.240.0100.06317.36
5.5.230.0130.07017.29
5.5.220.0070.07717.33
5.5.210.0000.06717.46
5.5.200.0070.07017.40
5.5.190.0070.04717.40
5.5.180.0000.04317.30
5.5.160.0100.06717.30
5.5.150.0030.06317.41
5.5.140.0030.05017.30
5.5.130.0070.06317.43
5.5.120.0070.03717.32
5.5.110.0000.04317.39
5.5.100.0130.07317.34
5.5.90.0100.07317.33
5.5.80.0170.07017.30
5.5.70.0030.04017.20
5.5.60.0100.05017.25
5.5.50.0070.04717.23
5.5.40.0030.08017.18
5.5.30.0000.05317.18
5.5.20.0070.04717.22
5.5.10.0100.04017.21
5.5.00.0070.04317.26
5.4.450.0000.08319.42
5.4.440.0130.07319.42
5.4.430.0170.04019.37
5.4.420.0070.06719.41
5.4.410.0100.07019.21
5.4.400.0070.03719.07
5.4.390.0070.07719.03
5.4.380.0070.07719.01
5.4.370.0070.06319.14
5.4.360.0030.04019.04
5.4.350.0070.04019.05
5.4.340.0070.07719.04
5.4.320.0100.07319.12
5.4.310.0070.07019.06
5.4.300.0130.07018.89
5.4.290.0130.04719.16
5.4.280.0130.07019.09
5.4.270.0030.04019.12
5.4.260.0070.03719.22
5.4.250.0070.06319.02
5.4.240.0100.07019.06
5.4.230.0070.03719.04
5.4.220.0070.05319.11
5.4.210.0000.06718.98
5.4.200.0100.07318.95
5.4.190.0100.04319.13
5.4.180.0030.04319.00
5.4.170.0030.04718.95
5.4.160.0170.03319.12
5.4.150.0030.07319.05
5.4.140.0000.07016.41
5.4.130.0170.06316.40
5.4.120.0100.04016.39
5.4.110.0070.06016.48
5.4.100.0130.06016.49
5.4.90.0070.05316.33
5.4.80.0000.04016.57
5.4.70.0030.04016.36
5.4.60.0070.06016.39
5.4.50.0030.07716.38
5.4.40.0030.06716.61
5.4.30.0100.06716.29
5.4.20.0070.05016.47
5.4.10.0130.06716.46
5.4.00.0100.04315.72
5.3.290.0030.06714.70
5.3.280.0100.07014.62
5.3.270.0030.04014.82
5.3.260.0030.05714.64
5.3.250.0070.07314.70
5.3.240.0070.07014.66
5.3.230.0000.04314.66
5.3.220.0100.05314.59
5.3.210.0030.05314.62
5.3.200.0030.06714.53
5.3.190.0030.05314.53
5.3.180.0030.04014.61
5.3.170.0070.03314.52
5.3.160.0100.04014.60
5.3.150.0070.07314.59
5.3.140.0130.07014.61
5.3.130.0070.03714.59
5.3.120.0070.07014.40
5.3.110.0000.08714.62
5.3.100.0030.06014.06
5.3.90.0070.03714.08
5.3.80.0030.03714.03
5.3.70.0000.04014.04
5.3.60.0030.03714.05
5.3.50.0100.03013.93
5.3.40.0070.04713.99
5.3.30.0100.06713.95
5.3.20.0130.06713.60
5.3.10.0070.07313.64
5.3.00.0030.05713.66
5.2.170.0030.06711.24
5.2.160.0000.06311.22
5.2.150.0030.03711.11
5.2.140.0070.06711.36
5.2.130.0070.06011.31
5.2.120.0100.04011.13
5.2.110.0000.06311.13
5.2.100.0100.05011.12
5.2.90.0070.03011.13
5.2.80.0000.07011.07
5.2.70.0030.06011.13
5.2.60.0030.05010.95
5.2.50.0070.06011.04
5.2.40.0070.03710.89
5.2.30.0000.03310.98
5.2.20.0070.05011.05
5.2.10.0070.06010.89
5.2.00.0000.06010.73
5.1.60.0100.0479.95
5.1.50.0100.0539.91
5.1.40.0030.05710.00
5.1.30.0100.05310.28
5.1.20.0030.06010.20
5.1.10.0030.05710.13
5.1.00.0030.04010.11
5.0.50.0070.0208.39
5.0.40.0000.0238.33
5.0.30.0000.0438.29
5.0.20.0000.0508.23
5.0.10.0030.0438.25
5.0.00.0030.0508.08
4.4.90.0000.0377.99
4.4.80.0000.0277.99
4.4.70.0000.0407.99
4.4.60.0000.0277.99
4.4.50.0000.0207.99
4.4.40.0000.0437.99
4.4.30.0000.0407.99
4.4.20.0030.0407.99
4.4.10.0100.0177.99
4.4.00.0000.0377.99
4.3.110.0000.0207.99
4.3.100.0000.0377.99
4.3.90.0030.0377.99
4.3.80.0030.0407.99
4.3.70.0000.0337.99
4.3.60.0000.0237.99
4.3.50.0030.0377.99
4.3.40.0000.0277.99
4.3.30.0000.0377.99
4.3.20.0000.0307.99
4.3.10.0030.0337.99
4.3.00.0000.0407.99

preferences:
42.66 ms | 401 KiB | 5 Q