3v4l.org

run code in 300+ PHP versions simultaneously
<?php $curl = curl_init(); curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($curl, CURLOPT_POSTFIELDS, $data); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json', 'Content-Length: ' . strlen($data)) ); curl_setopt($curl, CURLOPT_URL, 'http://webservice.local/'); // Set the url path we want to call $result = curl_exec($curl); //see the results $json=json_decode($result,true); curl_close($curl); print_r($json);

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.00616.75
8.3.50.0070.01121.93
8.3.40.0110.00418.87
8.3.30.0000.01319.14
8.3.20.0040.00420.20
8.3.10.0000.00723.70
8.3.00.0050.00319.14
8.2.180.0180.00316.50
8.2.170.0070.00722.96
8.2.160.0130.00720.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00722.08
8.2.110.0060.00322.31
8.2.100.0110.00017.84
8.2.90.0030.00519.18
8.2.80.0040.00417.97
8.2.70.0030.00517.63
8.2.60.0040.00418.04
8.2.50.0030.00618.07
8.2.40.0030.00619.82
8.2.30.0040.00418.18
8.2.20.0040.00417.61
8.2.10.0040.00418.00
8.2.00.0000.00817.57
8.1.280.0150.00725.92
8.1.270.0080.00022.18
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00323.96
8.1.230.0040.00819.01
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00717.23
8.1.190.0000.00817.13
8.1.180.0000.00818.89
8.1.170.0000.00918.51
8.1.160.0040.00421.91
8.1.150.0000.00718.59
8.1.140.0030.00517.37
8.1.130.0050.00317.69
8.1.120.0000.00717.24
8.1.110.0090.00017.27
8.1.100.0040.00417.25
8.1.90.0060.00317.23
8.1.80.0030.00517.30
8.1.70.0070.00017.22
8.1.60.0000.00817.47
8.1.50.0040.00417.44
8.1.40.0000.00717.48
8.1.30.0040.00417.49
8.1.20.0000.00717.64
8.1.10.0040.00417.55
8.1.00.0040.00417.43
8.0.300.0050.00318.77
8.0.290.0050.00317.04
8.0.280.0030.00318.30
8.0.270.0030.00317.12
8.0.260.0040.00417.20
8.0.250.0030.00316.84
8.0.240.0030.00316.93
8.0.230.0030.00316.96
8.0.220.0060.00016.92
8.0.210.0030.00316.89
8.0.200.0000.00617.02
8.0.190.0030.00416.87
8.0.180.0000.00716.88
8.0.170.0040.00416.91
8.0.160.0040.00416.86
8.0.150.0030.00416.90
8.0.140.0080.00316.79
8.0.130.0030.00313.36
8.0.120.0030.00616.73
8.0.110.0070.00016.90
8.0.100.0000.00816.79
8.0.90.0070.00016.73
8.0.80.0130.00316.86
8.0.70.0080.00016.69
8.0.60.0000.00716.79
8.0.50.0000.00716.89
8.0.30.0160.00616.84
8.0.20.0110.00917.40
8.0.10.0040.00416.77
8.0.00.0030.01416.62
7.4.330.0060.00015.02
7.4.320.0030.00316.38
7.4.300.0090.00016.43
7.4.290.0040.00416.34
7.4.280.0000.00816.48
7.4.270.0070.00016.47
7.4.260.0000.00716.57
7.4.250.0050.00316.41
7.4.240.0060.00216.49
7.4.230.0040.00316.29
7.4.220.0100.00716.48
7.4.210.0090.00716.42
7.4.200.0000.00716.62
7.4.190.0000.00616.69
7.4.160.0100.01316.27
7.4.150.0040.01217.40
7.4.140.0180.00317.86
7.4.130.0060.01116.56
7.4.120.0100.00716.51
7.4.110.0170.00316.44
7.4.100.0070.01016.50
7.4.90.0100.00716.57
7.4.80.0080.01119.39
7.4.70.0060.00916.62
7.4.60.0030.01516.41
7.4.50.0040.00016.38
7.4.40.0170.00516.55
7.4.30.0070.01016.65
7.4.00.0090.00714.94
7.3.330.0000.00513.19
7.3.320.0000.00513.11
7.3.310.0040.00416.12
7.3.300.0000.00616.28
7.3.290.0060.00916.30
7.3.280.0100.00816.24
7.3.270.0060.01317.40
7.3.260.0090.01216.23
7.3.250.0140.00316.29
7.3.240.0120.00316.27
7.3.230.0060.01016.57
7.3.210.0030.01416.34
7.3.200.0060.01119.39
7.3.190.0110.00716.63
7.3.180.0060.01016.26
7.3.170.0080.00816.50
7.3.160.0070.01016.25
7.3.120.0100.00514.74
7.3.110.0080.00814.79
7.3.100.0060.01314.87
7.3.90.0100.00314.79
7.3.80.0040.00714.90
7.3.70.0030.01014.82
7.3.60.0060.00914.79
7.3.50.0040.01114.84
7.3.40.0030.00914.43
7.3.30.0070.00414.81
7.3.20.0000.00816.40
7.3.10.0110.00416.63
7.3.00.0040.00816.71
7.2.330.0190.00316.70
7.2.320.0070.01516.57
7.2.310.0060.01216.63
7.2.300.0130.01016.62
7.2.290.0060.01016.39
7.2.250.0070.01014.89
7.2.240.0070.01114.73
7.2.230.0060.00914.46
7.2.220.0090.00614.62
7.2.210.0090.00314.81
7.2.200.0090.00614.89
7.2.190.0050.00514.82
7.2.180.0000.01314.80
7.2.170.0030.01115.02
7.2.160.0030.01014.80
7.2.150.0000.01416.47
7.2.140.0000.00916.71
7.2.130.0040.00816.64
7.2.120.0000.01216.83
7.2.110.0090.00616.85
7.2.100.0080.00316.88
7.2.90.0080.00316.81
7.2.80.0090.00316.70
7.2.70.0060.00616.68
7.2.60.0050.00916.66
7.2.50.0030.01416.82
7.2.40.0080.00716.61
7.2.30.0060.00616.91
7.2.20.0060.01016.80
7.2.10.0090.00916.84
7.2.00.0030.00917.83
7.1.330.0000.01015.42
7.1.320.0100.00715.23
7.1.310.0060.00615.66
7.1.300.0080.00415.32
7.1.290.0060.00915.37
7.1.280.0030.00615.66
7.1.270.0000.00915.69
7.1.260.0040.00415.55
7.1.250.0100.00715.63
7.1.240.0070.00715.59
7.1.230.0000.00815.58
7.1.220.0030.01015.65
7.1.210.0050.00515.60
7.1.200.0060.00615.46
7.1.190.0030.00715.67
7.1.180.0080.00015.69
7.1.170.0090.00615.48
7.1.160.0040.01115.46
7.1.150.0030.00915.37
7.1.140.0070.00715.52
7.1.130.0070.01015.66
7.1.120.0070.00715.34
7.1.110.0100.00315.64
7.1.100.0220.00516.63
7.1.90.0030.01315.70
7.1.80.0090.00615.59
7.1.70.0020.00816.45
7.1.60.0090.00717.59
7.1.50.0180.00716.10
7.1.40.0000.01415.59
7.1.30.0070.01115.60
7.1.20.0090.00015.63
7.1.10.0030.00915.68
7.1.00.0050.04218.99
7.0.330.0030.01015.01
7.0.320.0000.01015.22
7.0.310.0000.00915.34
7.0.300.0120.00015.21
7.0.290.0040.00415.20
7.0.280.0030.00714.92
7.0.270.0130.00315.25
7.0.260.0030.00915.43
7.0.250.0030.00914.97
7.0.240.0000.01515.23
7.0.230.0070.00715.24
7.0.220.0120.00315.28
7.0.210.0040.00415.00
7.0.200.0050.00416.01
7.0.190.0080.00315.14
7.0.180.0070.00715.17
7.0.170.0070.01015.28
7.0.160.0030.00715.21
7.0.150.0070.00715.04
7.0.140.0070.03518.60
7.0.130.0030.00915.24
7.0.120.0000.01015.45
7.0.110.0180.02517.67
7.0.100.0160.02617.73
7.0.90.0150.03617.59
7.0.80.0030.03017.54
7.0.70.0120.04017.65
7.0.60.0080.04417.53
7.0.50.0050.04017.56
7.0.40.0030.03516.50
7.0.30.0050.03016.54
7.0.20.0070.02216.52
7.0.10.0050.04016.41
7.0.00.0100.03716.54
5.6.400.0070.00714.12
5.6.390.0000.01114.09
5.6.380.0000.01314.11
5.6.370.0070.00713.95
5.6.360.0040.01114.17
5.6.350.0040.00413.98
5.6.340.0000.01113.91
5.6.330.0030.01314.23
5.6.320.0060.00913.89
5.6.310.0080.00314.20
5.6.300.0000.01114.35
5.6.290.0070.00313.84
5.6.280.0080.03817.56
5.6.270.0030.01313.95
5.6.260.0030.02917.44
5.6.250.0060.04117.28
5.6.240.0020.04217.49
5.6.230.0080.02817.43
5.6.220.0060.03817.22
5.6.210.0060.02317.35
5.6.200.0090.04217.42
5.6.190.0040.04017.29
5.6.180.0110.03817.55
5.6.170.0050.02817.42
5.6.160.0090.02817.28
5.6.150.0050.02517.34
5.6.140.0050.03517.37
5.6.130.0040.02517.25
5.6.120.0070.04717.37
5.6.110.0020.03317.40
5.6.100.0080.03717.42
5.6.90.0030.04517.35
5.6.80.0050.03417.15
5.6.70.0120.02217.13
5.6.60.0090.03016.99
5.6.50.0050.04517.08
5.6.40.0050.04516.91
5.6.30.0080.03817.07
5.6.20.0070.02216.97
5.6.10.0130.01516.91
5.6.00.0050.02917.02
5.5.380.0080.03315.85
5.5.370.0040.04315.76
5.5.360.0050.04515.76
5.5.350.0030.04315.72
5.5.340.0080.04116.13
5.5.330.0090.03716.15
5.5.320.0050.04416.08
5.5.310.0060.03515.99
5.5.300.0050.02115.96
5.5.290.0050.04215.92
5.5.280.0080.02915.75
5.5.270.0080.03916.08
5.5.260.0080.03715.99
5.5.250.0030.03015.94
5.5.240.0060.04015.63
5.5.230.0050.04215.84
5.5.220.0070.04215.70
5.5.210.0070.03715.80
5.5.200.0050.03015.79
5.5.190.0090.04115.56
5.5.180.0050.04515.71
5.5.170.0090.00913.47
5.5.160.0060.02315.39
5.5.150.0070.02215.70
5.5.140.0050.01715.60
5.5.130.0050.04015.67
5.5.120.0130.03815.55
5.5.110.0020.04115.63
5.5.100.0080.02015.47
5.5.90.0070.03515.57
5.5.80.0050.02315.52
5.5.70.0080.03615.52
5.5.60.0030.02215.46
5.5.50.0020.02315.59
5.5.40.0070.03515.63
5.5.30.0070.04115.54
5.5.20.0020.04015.59
5.5.10.0070.02615.58
5.5.00.0110.02115.50
5.4.450.0020.02915.99
5.4.440.0030.02315.91
5.4.430.0050.02516.04
5.4.420.0070.03815.97
5.4.410.0100.03516.01
5.4.400.0070.02315.92
5.4.390.0070.03915.76
5.4.380.0020.04315.87
5.4.370.0100.03715.85
5.4.360.0070.02715.77
5.4.350.0070.03715.91
5.4.340.0100.03315.79
5.4.330.0000.00712.57
5.4.320.0070.01815.80
5.4.310.0030.02215.82
5.4.300.0080.01315.82
5.4.290.0070.03715.79
5.4.280.0080.03615.84
5.4.270.0080.03815.85
5.4.260.0010.02115.79
5.4.250.0030.02015.82
5.4.240.0030.03515.78
5.4.230.0000.03915.92
5.4.220.0080.01815.82
5.4.210.0110.03015.76
5.4.200.0060.02815.91
5.4.190.0020.02115.86
5.4.180.0050.03015.86
5.4.170.0080.02915.73
5.4.160.0030.03115.78
5.4.150.0020.04015.76
5.4.140.0050.03714.50
5.4.130.0030.02014.52
5.4.120.0050.03314.41
5.4.110.0030.03714.43
5.4.100.0070.04014.53
5.4.90.0030.03614.49
5.4.80.0050.03514.53
5.4.70.0050.03814.48
5.4.60.0070.02214.43
5.4.50.0030.03014.54
5.4.40.0080.03214.48
5.4.30.0030.04014.54
5.4.20.0030.03814.52
5.4.10.0050.02214.39
5.4.00.0030.01714.12
5.3.290.0010.02413.63
5.3.280.0020.04213.53
5.3.270.0030.03813.54
5.3.260.0020.02313.58
5.3.250.0050.01813.59
5.3.240.0030.02413.53
5.3.230.0020.02413.59
5.3.220.0020.02513.54
5.3.210.0030.03513.49
5.3.200.0010.03813.52
5.3.190.0000.04113.53
5.3.180.0050.04013.58
5.3.170.0030.01813.51
5.3.160.0030.04013.53
5.3.150.0070.02213.56
5.3.140.0020.02713.48
5.3.130.0030.04513.60
5.3.120.0030.02213.61
5.3.110.0000.02713.53
5.3.100.0020.02513.24
5.3.90.0050.04213.22
5.3.80.0030.03513.31
5.3.70.0030.03013.24
5.3.60.0040.01913.21
5.3.50.0020.03013.29
5.3.40.0050.03013.19
5.3.30.0080.01713.19
5.3.20.0030.02213.02
5.3.10.0020.02313.04
5.3.00.0060.02313.04
5.2.170.0030.05711.93
5.2.160.0030.04011.93
5.2.150.0000.05311.93
5.2.140.0000.03711.93
5.2.130.0030.04311.93
5.2.120.0000.03011.93
5.2.110.0000.03011.93
5.2.100.0030.04311.93
5.2.90.0030.03711.93
5.2.80.0030.03711.93
5.2.70.0070.02311.93
5.2.60.0000.03011.93
5.2.50.0100.02711.93
5.2.40.0070.04711.93
5.2.30.0000.06011.93
5.2.20.0030.03011.93
5.2.10.0070.05711.93
5.2.00.0000.03011.93
5.1.60.0030.02311.93
5.1.50.0000.05011.93
5.1.40.0000.02711.93
5.1.30.0070.05311.93
5.1.20.0030.03311.93
5.1.10.0000.06311.93
5.1.00.0030.05311.93
5.0.50.0030.03711.93
5.0.40.0070.03711.93
5.0.30.0000.04711.93
5.0.20.0000.02311.93
5.0.10.0030.03311.93
5.0.00.0000.03311.93
4.4.90.0000.01711.93
4.4.80.0030.01311.93
4.4.70.0000.01711.93
4.4.60.0000.01311.93
4.4.50.0000.01311.93
4.4.40.0000.06011.93
4.4.30.0000.03711.93
4.4.20.0000.03311.93
4.4.10.0030.02711.93
4.4.00.0000.04711.93
4.3.110.0030.01711.93
4.3.100.0000.01711.93
4.3.90.0000.03011.93
4.3.80.0070.04311.93
4.3.70.0000.03311.93
4.3.60.0030.02011.93
4.3.50.0100.03311.93
4.3.40.0000.03011.93
4.3.30.0030.03311.93
4.3.20.0030.03011.93
4.3.10.0000.03711.93
4.3.00.0030.03311.93

preferences:
54.53 ms | 401 KiB | 5 Q