3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'https://android.googleapis.com/gcm/send'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_URL, $url ); curl_setopt($ch, CURLOPT_POST, true ); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: text/xml')); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true ); curl_setopt($ch, CURLOPT_POSTFIELDS, "<xml>here</xml>" ); $result = curl_exec($ch); curl_close($ch);

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.0100.01018.43
8.3.50.0120.00621.25
8.3.40.0110.01118.76
8.3.30.0030.01218.66
8.3.20.0070.01020.34
8.3.10.0120.00621.76
8.3.00.0140.00320.18
8.2.180.0090.00616.38
8.2.170.0040.01122.96
8.2.160.0040.01120.43
8.2.150.0110.00725.66
8.2.140.0040.00424.66
8.2.130.0150.00326.16
8.2.120.0000.01117.63
8.2.110.0080.00322.16
8.2.100.0040.00717.93
8.2.90.0050.00319.05
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0030.00617.77
8.2.50.0030.00618.07
8.2.40.0040.00419.28
8.2.30.0030.00522.41
8.2.20.0040.00417.61
8.2.10.0050.00218.05
8.2.00.0040.00418.01
8.1.280.0140.00325.92
8.1.270.0120.00623.96
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0060.00322.55
8.1.230.0090.00317.42
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.13
8.1.190.0080.00017.10
8.1.180.0080.00018.10
8.1.170.0000.00818.72
8.1.160.0000.00721.85
8.1.150.0060.00618.83
8.1.140.0080.00317.26
8.1.130.0040.00417.51
8.1.120.0030.00317.42
8.1.110.0090.00017.37
8.1.100.0040.00417.38
8.1.90.0060.00317.44
8.1.80.0020.00517.42
8.1.70.0070.00017.30
8.1.60.0000.00917.45
8.1.50.0030.00517.57
8.1.40.0040.00417.43
8.1.30.0030.00617.64
8.1.20.0030.00617.66
8.1.10.0000.00817.58
8.1.00.0000.00817.47
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.36
8.0.270.0030.00317.26
8.0.260.0050.00517.25
8.0.250.0030.00516.86
8.0.240.0030.00316.90
8.0.230.0070.00016.91
8.0.220.0040.00416.85
8.0.210.0040.00416.76
8.0.200.0060.00316.94
8.0.190.0030.00716.99
8.0.180.0020.00516.88
8.0.170.0050.00316.81
8.0.160.0040.00416.79
8.0.150.0000.00716.76
8.0.140.0040.00316.86
8.0.130.0030.00313.35
8.0.120.0060.00316.75
8.0.110.0000.00816.89
8.0.100.0050.00316.78
8.0.90.0030.00416.76
8.0.80.0060.00916.80
8.0.70.0000.00816.99
8.0.60.0030.00316.77
8.0.50.0040.00416.72
8.0.30.0100.00817.26
8.0.20.0120.00717.40
8.0.10.0020.00516.91
8.0.00.0090.01016.67
7.4.330.0050.00015.08
7.4.320.0060.00016.52
7.4.300.0030.00316.65
7.4.290.0090.00016.50
7.4.280.0000.00716.59
7.4.270.0000.00616.52
7.4.260.0030.00316.50
7.4.250.0000.00716.44
7.4.240.0050.00216.59
7.4.230.0020.00516.70
7.4.220.0060.01216.50
7.4.210.0090.00916.61
7.4.200.0040.00416.70
7.4.160.0130.00316.62
7.4.150.0150.00317.40
7.4.140.0150.00917.86
7.4.130.0110.01016.39
7.4.120.0080.01016.50
7.4.110.0070.01016.50
7.4.100.0180.00616.60
7.4.90.0080.00816.51
7.4.80.0120.00619.39
7.4.70.0040.01216.70
7.4.60.0100.00616.61
7.4.50.0070.00016.35
7.4.40.0180.00716.53
7.4.30.0070.01016.45
7.4.00.0060.00914.78
7.3.330.0000.00513.12
7.3.320.0020.00213.21
7.3.310.0020.00516.35
7.3.300.0030.00516.16
7.3.290.0100.00516.25
7.3.280.0120.00616.29
7.3.270.0060.01317.40
7.3.260.0160.00016.47
7.3.250.0110.01016.31
7.3.240.0120.01216.66
7.3.230.0120.00916.39
7.3.210.0090.00916.39
7.3.200.0080.00916.30
7.3.190.0060.01316.40
7.3.180.0120.00316.40
7.3.170.0110.00616.35
7.3.160.0130.01016.41
7.2.330.0080.00816.44
7.2.320.0140.00716.29
7.2.310.0080.00816.26
7.2.300.0060.01016.55
7.2.290.0070.01016.30
7.2.60.0080.00616.67
7.2.00.0070.01019.31
7.1.200.0030.01015.58
7.1.100.0070.00717.97
7.1.70.0000.01016.80
7.1.60.0100.01319.29
7.1.50.0170.02034.79
7.1.00.0000.08022.44
7.0.200.0030.00616.70
7.0.60.0070.04720.05
7.0.50.0030.04017.90
7.0.40.0130.05320.40
7.0.30.0400.07020.18
7.0.20.0370.06720.09
7.0.10.0070.04320.05
7.0.00.0070.08720.30
5.6.280.0030.07320.89
5.6.210.0130.06020.76
5.6.200.0030.08718.14
5.6.190.0030.05720.52
5.6.180.0070.05320.77
5.6.170.0170.05720.52
5.6.160.0030.04020.48
5.6.150.0030.04318.16
5.6.140.0100.06018.11
5.6.130.0100.07718.21
5.6.120.0000.09021.14
5.6.110.0070.08720.98
5.6.100.0100.07021.13
5.6.90.0100.08020.99
5.6.80.0030.07020.28
5.5.350.0000.06720.52
5.5.340.0000.04017.88
5.5.330.0070.08020.27
5.5.320.0000.08720.20
5.5.310.0370.05720.20
5.5.300.0100.06717.95
5.5.290.0030.08317.92
5.5.280.0030.06320.86
5.5.270.0100.03320.84
5.5.260.0170.07720.98
5.5.250.0070.06720.58
5.5.240.0030.07720.18
5.4.450.0800.05019.50
5.4.440.0800.06319.47
5.4.430.0730.06719.41
5.4.420.0770.05019.34
5.4.410.0770.05319.34
5.4.400.0800.04318.91
5.4.390.0670.05719.02
5.4.380.0700.05318.86
5.4.370.0670.05719.25
5.4.360.0730.06019.17
5.4.350.0800.06019.20
5.4.340.1100.06319.20
5.4.320.1030.06319.21
5.4.310.0800.04319.09
5.4.300.0770.07019.07
5.4.290.0700.05318.98
5.4.280.0770.05319.19
5.4.270.0870.05018.98
5.4.260.0900.03719.19
5.4.250.0770.05318.76
5.4.240.0870.04319.16
5.4.230.0670.06719.19
5.4.220.0770.05019.19
5.4.210.0670.06019.18
5.4.200.0870.04018.75
5.4.190.0730.05318.76
5.4.180.0830.04719.19
5.4.170.0830.04019.18
5.4.160.0830.04019.23
5.4.150.0930.07019.00
5.4.140.0900.03716.29
5.4.130.0770.04716.43
5.4.120.0770.05016.32
5.4.110.0770.05316.39
5.4.100.0730.04716.41
5.4.90.0670.05316.44
5.4.80.0770.04316.43
5.4.70.0100.05316.17
5.4.60.0270.05716.31
5.4.50.0170.04016.45
5.4.40.0230.03716.36
5.4.30.0000.07016.31
5.4.20.0030.06716.38
5.4.10.0230.05016.36

preferences:
48.4 ms | 401 KiB | 5 Q