3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cm = curl_multi_init(); $stuffs = curl_init(); $curl_options = array( CURLOPT_URL => 'http://www.google.ca', CURLOPT_RETURNTRANSFER => 1, CURLOPT_SSL_VERIFYHOST => 0, // these are the problem CURLOPT_SSL_VERIFYPEER => 0, // toggle 0/1 to test CURLOPT_HEADER => 1 ); curl_setopt_array($stuffs, $curl_options); curl_multi_add_handle($cm, $stuffs); do { curl_multi_exec($cm, $running); } while($running > 0); $content = curl_multi_getcontent($stuffs); $info = curl_getinfo($stuffs); curl_multi_remove_handle($cm, $stuffs); curl_multi_close($cm); print_r($info); // cuts off too much, the header size is incorrect echo mb_substr($content, $info['header_size']); ?>

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.70.0040.01116.63
8.3.60.0060.01018.68
8.3.50.0150.00721.88
8.3.40.0150.00018.61
8.3.30.0070.00720.22
8.3.20.0040.00420.34
8.3.10.0000.00821.80
8.3.00.0080.00022.57
8.2.180.0090.00916.63
8.2.170.0040.01122.96
8.2.160.0130.00322.12
8.2.150.0030.00524.18
8.2.140.0050.00324.66
8.2.130.0030.00626.16
8.2.120.0100.00020.87
8.2.110.0060.00322.25
8.2.100.0090.00317.78
8.2.90.0050.00318.88
8.2.80.0040.00419.41
8.2.70.0030.00617.50
8.2.60.0060.00317.93
8.2.50.0080.00018.07
8.2.40.0060.00319.82
8.2.30.0000.00719.50
8.2.20.0000.00717.71
8.2.10.0050.00317.69
8.2.00.0000.00817.69
8.1.280.0060.00925.92
8.1.270.0000.00723.99
8.1.260.0140.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00623.91
8.1.230.0090.00318.97
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0040.00417.10
8.1.190.0000.00817.28
8.1.180.0030.00719.01
8.1.170.0040.00418.43
8.1.160.0040.00418.68
8.1.150.0000.00718.43
8.1.140.0040.00417.25
8.1.130.0070.00017.82
8.1.120.0030.00317.35
8.1.110.0050.00317.22
8.1.100.0030.00317.39
8.1.90.0000.00817.23
8.1.80.0000.00717.26
8.1.70.0040.00417.24
8.1.60.0040.00417.34
8.1.50.0040.00417.52
8.1.40.0000.00817.45
8.1.30.0040.00417.59
8.1.20.0040.00417.52
8.1.10.0040.00417.52
8.1.00.0040.00417.43
8.0.300.0050.00218.77
8.0.290.0030.00316.93
8.0.280.0000.00718.39
8.0.270.0030.00317.21
8.0.260.0000.00716.82
8.0.250.0030.00316.95
8.0.240.0080.00016.91
8.0.230.0000.00716.98
8.0.220.0040.00316.89
8.0.210.0030.00316.80
8.0.200.0030.00316.98
8.0.190.0030.00317.00
8.0.180.0000.00716.94
8.0.170.0040.00416.82
8.0.160.0070.00016.83
8.0.150.0060.00316.84
8.0.140.0000.00716.86
8.0.130.0030.00313.27
8.0.120.0030.00516.93
8.0.110.0000.00716.81
8.0.100.0040.00416.79
8.0.90.0040.00416.96
8.0.80.0060.00916.85
8.0.70.0050.00216.84
8.0.60.0000.00716.86
8.0.50.0040.00416.75
8.0.30.0130.00817.06
8.0.20.0080.01317.40
8.0.10.0030.00517.01
8.0.00.0070.01216.74
7.4.330.0000.00515.00
7.4.320.0000.00616.38
7.4.300.0000.00716.58
7.4.290.0000.00816.45
7.4.280.0080.00016.35
7.4.270.0000.00716.37
7.4.260.0000.00513.29
7.4.250.0030.00516.40
7.4.240.0000.00716.43
7.4.230.0070.00016.64
7.4.220.0090.00916.59
7.4.210.0040.01116.42
7.4.200.0040.00416.50
7.4.190.0070.00016.69
7.4.160.0130.00916.44
7.4.150.0070.01117.40
7.4.140.0060.01117.86
7.4.130.0060.01216.52
7.4.120.0110.00616.47
7.4.110.0140.00416.46
7.4.100.0050.01416.52
7.4.90.0110.00616.68
7.4.80.0040.01419.39
7.4.70.0060.00916.36
7.4.60.0100.01016.35
7.4.50.0060.00316.57
7.4.40.0060.01022.77
7.4.30.0110.00716.38
7.4.00.0070.00714.87
7.3.330.0060.00013.03
7.3.320.0000.00813.12
7.3.310.0040.00416.28
7.3.300.0000.00716.18
7.3.290.0120.00616.27
7.3.280.0060.01016.21
7.3.270.0160.01017.40
7.3.260.0030.01316.53
7.3.250.0100.00816.39
7.3.240.0130.00316.41
7.3.230.0030.01316.52
7.3.210.0150.00316.33
7.3.200.0070.01019.39
7.3.190.0090.01216.51
7.3.180.0060.00916.42
7.3.170.0000.01616.38
7.3.160.0070.01016.58
7.3.120.0000.01714.79
7.3.10.0070.01016.65
7.3.00.0060.00316.64
7.2.330.0040.01216.36
7.2.320.0080.01216.36
7.2.310.0070.01016.57
7.2.300.0080.00916.34
7.2.290.0120.00916.66
7.2.130.0070.01016.74
7.2.120.0070.01116.60
7.2.110.0100.00316.85
7.2.100.0030.01316.65
7.2.90.0000.01016.71
7.2.80.0150.00316.61
7.2.70.0070.00316.60
7.2.60.0080.00616.75
7.2.50.0000.01116.47
7.2.40.0000.01316.77
7.2.30.0050.00516.89
7.2.20.0040.00816.79
7.2.10.0130.00316.85
7.2.00.0090.00417.81
7.1.250.0000.01515.49
7.1.240.0070.01015.65
7.1.230.0070.00715.64
7.1.220.0130.00615.39
7.1.210.0060.00615.51
7.1.200.0070.00515.66
7.1.190.0060.00615.71
7.1.180.0030.01315.56
7.1.170.0000.01315.54
7.1.160.0110.00415.51
7.1.150.0040.00415.53
7.1.140.0080.00415.71
7.1.130.0090.00315.38
7.1.120.0070.00715.32
7.1.110.0140.00715.53
7.1.100.0030.00916.79
7.1.90.0090.00315.79
7.1.80.0030.01315.43
7.1.70.0050.00516.40
7.1.60.0050.01517.40
7.1.50.0100.00516.21
7.1.40.0030.01015.43
7.1.30.0090.00615.54
7.1.20.0030.00915.63
7.1.10.0130.00015.50
7.1.00.0040.03318.88
7.0.330.0090.00615.34
7.0.320.0120.00315.39
7.0.310.0090.00614.96
7.0.300.0040.01115.33
7.0.290.0110.00715.17
7.0.280.0000.01415.13
7.0.270.0000.01515.27
7.0.260.0070.00315.18
7.0.250.0040.01315.06
7.0.240.0030.01415.06
7.0.230.0040.00415.36
7.0.220.0030.00915.05
7.0.210.0060.00315.21
7.0.200.0040.00915.85
7.0.190.0080.00415.31
7.0.180.0030.00915.36
7.0.170.0070.00715.39
7.0.160.0030.00615.44
7.0.150.0060.00315.28
7.0.140.0030.04318.71
7.0.130.0030.00515.11
7.0.120.0040.00815.54
7.0.110.0060.00615.31
7.0.100.0070.00715.18
7.0.90.0040.00715.40
7.0.80.0370.04017.58
7.0.70.0230.03017.58
7.0.60.0310.04417.66
7.0.50.0340.03617.82
7.0.40.0120.03516.77
7.0.30.0050.03016.61
7.0.20.0090.02216.69
7.0.10.0050.04716.67
7.0.00.0050.04816.51
5.6.380.0120.00313.96
5.6.370.0080.00614.08
5.6.360.0070.00713.73
5.6.350.0070.00714.02
5.6.340.0040.01214.24
5.6.330.0070.00714.14
5.6.320.0030.01214.06
5.6.310.0030.01314.20
5.6.300.0060.00614.01
5.6.290.0040.00714.20
5.6.280.0030.04117.44
5.6.270.0070.00714.00
5.6.260.0110.00414.01
5.6.250.0000.00913.93
5.6.240.0090.00614.00
5.6.230.0050.04417.29
5.6.220.0070.02517.43
5.6.210.0100.02217.34
5.6.200.0120.04217.46
5.6.190.0060.04017.43
5.6.180.0070.03317.61
5.6.170.0050.03317.37
5.6.160.0110.03517.55
5.6.150.0080.03217.54
5.6.140.0080.02317.61
5.6.130.0120.02717.56
5.6.120.0070.04617.59
5.6.110.0050.04717.59
5.6.100.0070.04217.61
5.6.90.0100.04217.51
5.6.80.0070.04017.19
5.6.70.0120.03217.18
5.6.60.0070.04517.08
5.6.50.0080.04317.20
5.6.40.0030.03617.13
5.6.30.0140.02617.31
5.6.20.0020.04417.17
5.6.10.0040.04417.21
5.6.00.0080.04017.20
5.5.380.0030.01210.74
5.5.370.0100.04815.53
5.5.360.0010.02815.52
5.5.350.0060.04315.55
5.5.340.0100.04015.70
5.5.330.0100.03415.78
5.5.320.0020.03615.83
5.5.310.0070.04415.72
5.5.300.0030.04315.71
5.5.290.0050.04515.91
5.5.280.0050.04515.87
5.5.270.0060.04615.76
5.5.260.0020.02715.70
5.5.250.0090.03015.64
5.5.240.0040.02415.43
5.5.230.0070.04215.37
5.5.220.0080.03715.45
5.5.210.0020.04215.44
5.5.200.0070.04315.34
5.5.190.0040.04315.37
5.5.180.0080.03215.47
5.5.170.0070.00310.72
5.5.160.0050.04315.45
5.5.150.0050.04415.40
5.5.140.0020.03715.36
5.5.130.0070.02715.42
5.5.120.0100.02815.45
5.5.110.0050.04315.38
5.5.100.0080.03815.26
5.5.90.0050.03215.52
5.5.80.0050.03715.40
5.5.70.0020.04315.39
5.5.60.0050.02715.41
5.5.50.0040.02515.32
5.5.40.0120.03215.38
5.5.30.0080.02515.34
5.5.20.0060.02115.46
5.5.10.0070.04015.34
5.5.00.0070.03015.43
5.4.450.0030.04215.06
5.4.440.0100.03815.11
5.4.430.0120.03315.06
5.4.420.0100.03515.14
5.4.410.0080.03815.03
5.4.400.0100.03314.84
5.4.390.0080.03414.76
5.4.380.0030.03914.80
5.4.370.0110.03314.87
5.4.360.0030.03314.88
5.4.350.0050.04314.97
5.4.340.0020.04414.83
5.4.330.0030.00911.00
5.4.320.0080.03014.90
5.4.310.0030.04114.91
5.4.300.0020.04114.79
5.4.290.0050.04114.80
5.4.280.0080.04214.77
5.4.270.0050.04014.83
5.4.260.0030.03314.86
5.4.250.0080.02714.88
5.4.240.0050.04514.79
5.4.230.0050.02314.82
5.4.220.0050.04514.93
5.4.210.0050.04214.78
5.4.200.0080.04014.89
5.4.190.0060.04114.93
5.4.180.0050.02314.91
5.4.170.0050.04514.86
5.4.160.0050.02314.70
5.4.150.0030.04014.74
5.4.140.0070.03813.44
5.4.130.0090.03313.47
5.4.120.0080.03813.53
5.4.110.0070.03513.51
5.4.100.0020.03013.35
5.4.90.0050.04013.48
5.4.80.0060.02113.63
5.4.70.0070.04013.34
5.4.60.0020.03413.43
5.4.50.0000.04213.44
5.4.40.0040.03613.40
5.4.30.0030.04213.51
5.4.20.0070.03513.43
5.4.10.0090.03613.41
5.4.00.0060.04013.33
5.3.290.0100.02512.43
5.3.280.0050.03712.35
5.3.270.0020.02512.44
5.3.260.0050.03812.41
5.3.250.0090.03812.37
5.3.240.0030.02812.41
5.3.230.0050.04312.45
5.3.220.0100.04012.31
5.3.210.0060.02312.38
5.3.200.0030.04312.38
5.3.190.0030.04212.38
5.3.180.0050.02512.40
5.3.170.0010.04412.37
5.3.160.0070.02912.36
5.3.150.0050.03712.32
5.3.140.0050.04212.36
5.3.130.0080.03512.38
5.3.120.0050.04212.35
5.3.110.0030.02412.32
5.3.100.0070.03112.12
5.3.90.0110.02312.05
5.3.80.0030.04112.12
5.3.70.0010.02912.06
5.3.60.0070.04112.03
5.3.50.0060.03812.07
5.3.40.0120.02512.09
5.3.30.0100.03711.96
5.3.20.0050.03811.96
5.3.10.0030.03311.91
5.3.00.0050.03611.94
5.2.170.0050.03310.97
5.2.160.0000.02910.97
5.2.150.0020.03310.97
5.2.140.0080.02010.97
5.2.130.0080.03010.97
5.2.120.0000.03610.97
5.2.110.0040.03010.97
5.2.100.0090.03010.97
5.2.90.0130.02310.97
5.2.80.0050.03610.97
5.2.70.0150.02010.97
5.2.60.0030.03510.97
5.2.50.0050.03110.97
5.2.40.0110.02810.97
5.2.30.0070.02210.97
5.2.20.0070.01910.97
5.2.10.0030.03510.97
5.2.00.0090.02210.97
5.1.60.0050.03110.97
5.1.50.0040.02910.97
5.1.40.0080.01810.97
5.1.30.0030.02810.97
5.1.20.0030.02110.97
5.1.10.0000.03210.97
5.1.00.0030.02110.97
5.0.50.0060.01510.97
5.0.40.0020.02310.97
5.0.30.0060.02810.97
5.0.20.0050.02310.97
5.0.10.0020.02510.97
5.0.00.0080.03310.97
4.4.90.0010.02110.97
4.4.80.0070.01610.97
4.4.70.0040.01910.97
4.4.60.0060.01810.97
4.4.50.0070.01410.97
4.4.40.0040.01810.97
4.4.30.0050.01610.97
4.4.20.0030.01110.97
4.4.10.0020.01810.97
4.4.00.0000.03210.97
4.3.110.0040.01710.97
4.3.100.0020.01810.97
4.3.90.0030.01810.97
4.3.80.0050.02010.97
4.3.70.0020.01510.97
4.3.60.0020.02010.97
4.3.50.0020.01710.97
4.3.40.0030.02210.97
4.3.30.0050.00810.97
4.3.20.0000.01110.97
4.3.10.0050.00710.97
4.3.00.0030.00710.97

preferences:
40.87 ms | 401 KiB | 5 Q