3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'https://android.googleapis.com/gcm/send'; $ch = curl_init(); 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.0120.00618.55
8.3.50.0230.01120.92
8.3.40.0040.01118.92
8.3.30.0140.00018.70
8.3.20.0040.00420.39
8.3.10.0040.00421.76
8.3.00.0040.00420.25
8.2.180.0120.00616.63
8.2.170.0030.01022.96
8.2.160.0100.00320.53
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0060.00317.63
8.2.110.0070.00320.52
8.2.100.0030.00917.63
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0000.00817.62
8.2.60.0070.00318.04
8.2.50.0040.00418.07
8.2.40.0040.00419.34
8.2.30.0050.00320.63
8.2.20.0040.00417.73
8.2.10.0000.00718.06
8.2.00.0040.00417.97
8.1.280.0060.01225.92
8.1.270.0130.00623.92
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0090.00020.88
8.1.230.0030.00817.42
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0050.00318.40
8.1.160.0040.00421.95
8.1.150.0000.00718.77
8.1.140.0040.00417.38
8.1.130.0030.00317.61
8.1.120.0030.00517.29
8.1.110.0000.00717.38
8.1.100.0000.00717.31
8.1.90.0050.00217.30
8.1.80.0040.00417.44
8.1.70.0000.00817.40
8.1.60.0050.00317.48
8.1.50.0030.00517.57
8.1.40.0050.00317.46
8.1.30.0000.00817.50
8.1.20.0050.00317.67
8.1.10.0000.00717.56
8.1.00.0040.00417.49
8.0.300.0030.00618.77
8.0.290.0070.00016.75
8.0.280.0030.00318.30
8.0.270.0030.00317.09
8.0.260.0000.00817.19
8.0.250.0000.00716.92
8.0.240.0070.00016.95
8.0.230.0050.00316.89
8.0.220.0030.00616.78
8.0.210.0040.00416.84
8.0.200.0020.00517.01
8.0.190.0000.00816.91
8.0.180.0030.00616.87
8.0.170.0040.00416.92
8.0.160.0030.00316.83
8.0.150.0070.00016.88
8.0.140.0030.00316.86
8.0.130.0000.00513.38
8.0.120.0040.00416.82
8.0.110.0000.00816.72
8.0.100.0070.00016.88
8.0.90.0040.00416.94
8.0.80.0090.00616.94
8.0.70.0000.00716.75
8.0.60.0070.00016.93
8.0.50.0040.00416.74
8.0.30.0040.01516.97
8.0.20.0080.01117.40
8.0.10.0050.00217.02
8.0.00.0060.01116.65
7.4.330.0050.00015.08
7.4.320.0000.00616.55
7.4.300.0060.00016.61
7.4.290.0050.00316.50
7.4.280.0040.00416.50
7.4.270.0000.00716.52
7.4.260.0080.00016.42
7.4.250.0000.00716.39
7.4.240.0000.00816.58
7.4.230.0030.00316.68
7.4.220.0140.00416.43
7.4.210.0070.00716.63
7.4.200.0030.00316.58
7.4.160.0060.00916.58
7.4.150.0120.00617.40
7.4.140.0110.01217.86
7.4.130.0150.00416.39
7.4.120.0090.00816.46
7.4.110.0130.00416.43
7.4.100.0140.00716.53
7.4.90.0100.00716.55
7.4.80.0090.00619.39
7.4.70.0090.00916.65
7.4.60.0090.00916.39
7.4.50.0050.00316.20
7.4.40.0110.00716.54
7.4.30.0030.01416.52
7.4.00.0000.01515.05
7.3.330.0000.00613.23
7.3.320.0030.00313.02
7.3.310.0030.00316.36
7.3.300.0060.00016.13
7.3.290.0060.01016.29
7.3.280.0120.00616.28
7.3.270.0170.00017.40
7.3.260.0030.01416.21
7.3.250.0130.00716.37
7.3.240.0100.00716.32
7.3.230.0070.01016.39
7.3.210.0100.00616.47
7.3.200.0060.01016.37
7.3.190.0090.00616.30
7.3.180.0130.00316.55
7.3.170.0100.00716.27
7.3.160.0110.00716.44
7.3.00.0000.01116.40
7.2.330.0100.01016.79
7.2.320.0060.01416.28
7.2.310.0080.00816.67
7.2.300.0090.00916.49
7.2.290.0070.01416.63
7.2.130.0040.00716.58
7.2.120.0080.00416.82
7.2.110.0050.00516.80
7.2.100.0000.00916.73
7.2.90.0060.00616.87
7.2.80.0030.01016.87
7.2.70.0030.00716.56
7.2.60.0060.00616.51
7.2.50.0080.00416.85
7.2.40.0030.00716.66
7.2.30.0090.00316.82
7.2.20.0060.00616.69
7.2.10.0060.00316.65
7.2.00.0050.00717.90
7.1.250.0000.01315.67
7.1.240.0080.00315.54
7.1.230.0000.01115.48
7.1.220.0040.00815.68
7.1.210.0100.00315.56
7.1.200.0030.00515.45
7.1.190.0080.00315.75
7.1.180.0090.00315.58
7.1.170.0040.00815.79
7.1.160.0060.00615.61
7.1.150.0030.01015.60
7.1.140.0030.00915.72
7.1.130.0090.00315.66
7.1.120.0040.00815.66
7.1.110.0080.00415.61
7.1.100.0060.00716.76
7.1.90.0050.00515.59
7.1.80.0030.00915.66
7.1.70.0080.00216.09
7.1.60.0030.01117.47
7.1.50.0160.00825.00
7.1.40.0000.00915.34
7.1.30.0030.00715.52
7.1.20.0030.01015.54
7.1.10.0000.01215.27
7.1.00.0030.04319.05
7.0.330.0030.00915.31
7.0.320.0040.00415.08
7.0.310.0110.00415.47
7.0.300.0100.00315.19
7.0.290.0090.00015.18
7.0.280.0030.00515.38
7.0.270.0060.00315.26
7.0.260.0070.00315.39
7.0.250.0030.00715.27
7.0.240.0030.00915.27
7.0.230.0080.00415.21
7.0.220.0070.00415.32
7.0.210.0080.00415.33
7.0.200.0050.00515.93
7.0.190.0060.00615.39
7.0.180.0090.00015.29
7.0.170.0070.00415.28
7.0.160.0030.00615.03
7.0.150.0000.00915.43
7.0.140.0000.01415.40
7.0.130.0070.00715.26
7.0.120.0000.01415.36
7.0.110.0060.00315.40
7.0.100.0070.00315.31
7.0.90.0030.00915.21
7.0.80.0070.00315.06
7.0.70.0110.00015.08
7.0.60.0060.02517.47
7.0.50.0050.03116.68
7.0.40.0040.02516.53
7.0.30.0150.03216.63
7.0.20.0130.02016.74
7.0.10.0080.04516.78
7.0.00.0110.03216.66
5.6.380.0050.00814.06
5.6.370.0000.01114.15
5.6.360.0060.00314.07
5.6.350.0030.01014.11
5.6.340.0030.00714.18
5.6.330.0030.00914.34
5.6.320.0040.00714.28
5.6.310.0040.00814.24
5.6.300.0030.00714.02
5.6.290.0060.00314.36
5.6.280.0020.03017.45
5.6.270.0030.01014.36
5.6.260.0030.01014.17
5.6.250.0060.00314.15
5.6.240.0040.00814.12
5.6.230.0030.00713.90
5.6.220.0100.00014.09
5.6.210.0060.02817.24
5.6.200.0050.04016.26
5.6.190.0030.04317.43
5.6.180.0230.02217.38
5.6.170.0180.03317.21
5.6.160.0040.02317.17
5.6.150.0120.03516.17
5.6.140.0070.03516.22
5.6.130.0060.04316.11
5.6.120.0050.02317.48
5.6.110.0070.02817.48
5.6.100.0080.04117.49
5.6.90.0050.04317.45
5.6.80.0040.04517.32
5.6.70.0060.00613.81
5.6.60.0040.01113.98
5.6.50.0030.01014.10
5.6.40.0070.00713.82
5.6.30.0030.00614.12
5.6.20.0090.00614.26
5.6.10.0040.00413.71
5.6.00.0140.00013.60
5.5.380.0080.00310.90
5.5.370.0030.00611.00
5.5.360.0100.00010.90
5.5.350.2100.02415.69
5.5.340.0090.03414.43
5.5.330.0030.02315.69
5.5.320.0160.02815.66
5.5.310.0180.04115.73
5.5.300.0070.02014.46
5.5.290.0020.02314.44
5.5.280.0060.04115.83
5.5.270.0050.02415.79
5.5.260.0050.02115.79
5.5.250.0080.04515.84
5.5.240.0030.04015.58
5.5.230.0000.00810.90
5.5.220.0030.00610.90
5.5.210.0000.00810.90
5.5.200.0070.00011.04
5.5.190.0000.00710.92
5.5.180.0050.00210.90
5.5.170.0030.00710.90
5.5.160.0050.00310.90
5.5.150.0000.00610.90
5.5.140.0040.00410.90
5.5.130.0000.00710.90
5.5.120.0030.00310.90
5.5.110.0030.00610.90
5.5.100.0060.00310.90
5.5.90.0030.00610.90
5.5.80.0060.00610.90
5.5.70.0040.00710.90
5.5.60.0030.00310.90
5.5.50.0060.00610.90
5.5.40.0030.00310.90
5.5.30.0030.00310.90
5.5.20.0000.01110.90
5.5.10.0000.00810.90
5.5.00.0060.00010.90
5.4.450.0430.02715.25
5.4.440.0370.03715.21
5.4.430.0420.02715.16
5.4.420.0530.02515.28
5.4.410.0440.02615.09
5.4.400.0460.02514.84
5.4.390.0370.03415.04
5.4.380.0440.02914.99
5.4.370.0420.03014.88
5.4.360.0460.03015.04
5.4.350.0490.03515.02
5.4.340.0550.03615.10
5.4.330.0000.00610.90
5.4.320.0400.03414.98
5.4.310.0380.03015.05
5.4.300.0470.02414.83
5.4.290.0450.03114.93
5.4.280.0500.03415.04
5.4.270.0490.02715.07
5.4.260.0370.03015.04
5.4.250.0370.03014.95
5.4.240.0450.02715.05
5.4.230.0400.03014.92
5.4.220.0400.03114.85
5.4.210.0400.02914.87
5.4.200.0330.03014.99
5.4.190.0440.02714.98
5.4.180.0430.02614.91
5.4.170.0380.03015.08
5.4.160.0380.03015.04
5.4.150.0450.03715.04
5.4.140.0400.02913.54
5.4.130.0350.03013.59
5.4.120.0430.02513.64
5.4.110.0470.02313.65
5.4.100.0410.02513.67
5.4.90.0430.02513.59
5.4.80.0330.03313.60
5.4.70.0140.02113.64
5.4.60.0130.02613.65
5.4.50.0170.03013.63
5.4.40.0160.02613.47
5.4.30.0000.04113.65
5.4.20.0050.04213.62
5.4.10.0170.03413.63
5.4.00.0040.00710.90

preferences:
62.1 ms | 401 KiB | 5 Q