3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ch = curl_init(); $hostname = '188studio.com'; $url = "http://www.{$hostname}/"; $cert = realpath(dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'class'.DIRECTORY_SEPARATOR.'facebook-php-sdk-master'.DIRECTORY_SEPARATOR.'src'.DIRECTORY_SEPARATOR.'fb_ca_chain_bundle.crt'); echo "IP address: ".gethostbyname($hostname)."<br/>"; echo "Certificate path: {$cert}<br/>\n"; curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10); curl_setopt($ch, CURLOPT_TIMEOUT, 60); curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4); curl_setopt($ch, CURLOPT_CAINFO, $cert); curl_setopt($ch, CURLOPT_SSLVERSION,3); curl_setopt($ch, CURLINFO_HEADER_OUT, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_CERTINFO, true); $result = curl_exec($ch); echo "cURL Error: (".curl_errno($ch).") ".curl_error($ch)."<br/>\n"; echo "<pre>".print_r(curl_getinfo($ch), true)."</pre><br/>\n"; echo "<pre>".htmlspecialchars($result)."</pre>"; 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.68
8.3.50.0150.00621.17
8.3.40.0120.00618.89
8.3.30.0120.00618.95
8.3.20.0060.00320.40
8.3.10.0070.00023.48
8.3.00.0080.00019.50
8.2.180.0060.00916.75
8.2.170.0110.00322.96
8.2.160.0040.01120.39
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0140.00026.16
8.2.120.0080.00022.10
8.2.110.0090.00921.03
8.2.100.0040.00717.75
8.2.90.0030.00519.13
8.2.80.0050.00317.97
8.2.70.0060.00317.61
8.2.60.0040.00417.80
8.2.50.0030.00618.07
8.2.40.0000.00718.28
8.2.30.0000.00818.13
8.2.20.0000.00817.82
8.2.10.0030.00518.12
8.2.00.0040.00417.71
8.1.280.0070.00725.92
8.1.270.0040.00423.97
8.1.260.0040.00426.35
8.1.250.0110.00428.09
8.1.240.0090.00023.84
8.1.230.0110.00019.14
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0070.00317.35
8.1.190.0050.00317.00
8.1.180.0070.00018.10
8.1.170.0030.00620.28
8.1.160.0000.00821.95
8.1.150.0040.00418.87
8.1.140.0000.00717.45
8.1.130.0000.00717.79
8.1.120.0070.00017.30
8.1.110.0040.00417.37
8.1.100.0000.00717.39
8.1.90.0040.00317.43
8.1.80.0050.00217.27
8.1.70.0000.00717.37
8.1.60.0050.00517.41
8.1.50.0050.00317.48
8.1.40.0000.00817.48
8.1.30.0050.00317.67
8.1.20.0000.00717.63
8.1.10.0040.00417.45
8.1.00.0000.00817.55
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0070.00018.44
8.0.270.0070.00017.30
8.0.260.0030.00317.22
8.0.250.0070.00017.08
8.0.240.0070.00017.03
8.0.230.0030.00317.02
8.0.220.0000.00816.95
8.0.210.0000.00717.02
8.0.200.0000.00616.86
8.0.190.0080.00017.02
8.0.180.0050.00316.97
8.0.170.0040.00416.88
8.0.160.0050.00217.00
8.0.150.0030.00516.92
8.0.140.0040.00416.93
8.0.130.0000.00613.40
8.0.120.0040.00415.16
8.0.110.0050.00215.14
8.0.100.0070.00015.08
8.0.90.0030.00515.03
8.0.80.0100.00315.18
8.0.70.0090.00015.11
8.0.60.0050.00315.10
8.0.50.0070.00215.16
8.0.30.0070.00915.91
8.0.20.0090.00816.08
8.0.10.0070.00315.21
8.0.00.0080.00915.56
7.4.330.0060.00015.02
7.4.320.0000.00616.43
7.4.300.0070.00016.60
7.4.290.0070.00016.50
7.4.280.0000.00716.50
7.4.270.0070.00016.50
7.4.260.0030.00316.51
7.4.250.0020.00614.84
7.4.240.0050.00515.47
7.4.230.0000.00714.90
7.4.220.0080.00514.83
7.4.210.0050.00614.84
7.4.200.0020.00514.94
7.4.190.0000.00713.41
7.4.180.0070.00013.39
7.4.160.0060.01315.06
7.4.150.0050.00715.33
7.4.140.0080.00816.29
7.4.130.0050.01015.38
7.4.120.0080.00615.35
7.4.110.0080.00514.90
7.4.100.0050.00914.95
7.4.90.0060.00714.95
7.4.80.0070.00716.26
7.4.70.0090.00514.78
7.4.60.0060.00614.92
7.4.50.0040.00514.79
7.4.40.0080.00414.82
7.4.30.0060.00814.79
7.4.20.0040.00413.23
7.4.10.0040.00413.17
7.4.00.0070.00313.96
7.3.330.0030.00313.23
7.3.320.0000.00613.25
7.3.310.0000.00714.81
7.3.300.0040.00414.68
7.3.290.0050.00815.50
7.3.280.0110.00615.51
7.3.270.0060.00715.22
7.3.260.0060.01114.78
7.3.250.0120.00415.43
7.3.240.0090.00314.74
7.3.230.0080.00514.87
7.3.220.0070.00312.98
7.3.210.0070.00514.84
7.3.200.0090.00414.87
7.3.190.0100.00614.80
7.3.180.0070.00514.85
7.3.170.0080.00614.74
7.3.160.0060.00614.58
7.3.150.0030.00513.11
7.3.140.0040.00413.01
7.3.130.0040.00212.96
7.3.120.0000.00613.00
7.3.110.0000.00613.03
7.3.100.0060.00312.91
7.3.90.0000.00713.43
7.3.80.0000.00613.06
7.3.70.0000.00613.20
7.3.60.0000.00613.19
7.3.50.0060.00013.38
7.3.40.0060.00013.33
7.3.30.0070.00013.26
7.3.20.0060.00014.99
7.3.10.0040.00214.83
7.3.00.0070.00014.95
7.2.340.0090.00313.02
7.2.330.0110.00614.85
7.2.320.0070.00814.79
7.2.310.0020.01314.83
7.2.300.0110.00514.73
7.2.290.0090.01014.84
7.2.280.0120.00013.06
7.2.270.0000.01213.14
7.2.260.0040.00812.98
7.2.250.0100.00212.96
7.2.240.0000.01212.97
7.2.230.0120.00012.97
7.2.220.0030.00913.13
7.2.210.0080.00412.98
7.2.200.0140.00013.33
7.2.190.0100.00313.09
7.2.180.0120.00013.27
7.2.170.0090.00313.26
7.2.160.0070.00513.31
7.2.150.0100.00314.97
7.2.140.0130.00015.05
7.2.130.0090.00315.02
7.2.120.0140.00014.96
7.2.110.0100.00315.05
7.2.100.0070.00715.02
7.2.90.0090.00415.07
7.2.80.0100.00314.99
7.2.70.0090.00314.95
7.2.60.0110.00315.94
7.2.50.0110.00415.14
7.2.40.0060.00915.04
7.2.30.0150.00015.16
7.2.20.0100.00515.00
7.2.10.0050.01015.03
7.2.00.0060.00717.03
7.1.330.0110.00213.92
7.1.320.0090.00614.02
7.1.310.0040.00813.93
7.1.300.0100.00314.02
7.1.290.0100.00314.05
7.1.280.0130.00014.11
7.1.270.0060.00614.00
7.1.260.0080.00413.91
7.1.250.0140.00013.84
7.1.240.0110.00214.05
7.1.230.0060.00714.11
7.1.220.0080.00514.08
7.1.210.0000.01214.05
7.1.200.0070.00614.69
7.1.190.0110.00313.89
7.1.180.0080.00513.85
7.1.170.0080.00413.98
7.1.160.0100.00214.05
7.1.150.0070.00713.93
7.1.140.0100.00314.00
7.1.130.0130.00014.05
7.1.120.0120.00013.96
7.1.110.0040.00813.95
7.1.100.0060.00615.91
7.1.90.0140.00013.88
7.1.80.0090.00313.92
7.1.70.0040.00615.33
7.1.60.0100.00816.65
7.1.50.0170.00924.39
7.1.40.0120.00013.93
7.1.30.0090.00414.04
7.1.20.0090.00513.98
7.1.10.0060.00613.98
7.1.00.0030.04118.20
7.0.330.0100.00313.91
7.0.320.0070.00413.94
7.0.310.0100.00313.77
7.0.300.0110.00013.82
7.0.290.0080.00413.74
7.0.280.0130.00013.77
7.0.270.0130.00013.94
7.0.260.0120.00013.82
7.0.250.0110.00213.97
7.0.240.0090.00313.93
7.0.230.0120.00014.09
7.0.220.0110.00014.09
7.0.210.0090.00314.02
7.0.200.0070.00315.36
7.0.190.0060.00614.07
7.0.180.0110.00013.88
7.0.170.0060.00614.13
7.0.160.0070.00513.95
7.0.150.0120.00014.02
7.0.140.0100.03518.03
7.0.130.0060.00613.85
7.0.120.0110.00014.01
7.0.110.0090.00213.85
7.0.100.0120.00013.84
7.0.90.0080.00413.82
7.0.80.0100.00213.94
7.0.70.0080.00413.92
7.0.60.0140.03216.96
7.0.50.0060.02415.90
7.0.40.0060.04617.04
7.0.30.0260.02317.01
7.0.20.0200.04517.03
7.0.10.0170.02617.12
7.0.00.0100.04316.95
5.6.400.0080.00412.18
5.6.390.0060.00612.23
5.6.380.0060.00612.40
5.6.370.0120.00012.35
5.6.360.0110.00012.22
5.6.350.0110.00012.46
5.6.340.0040.00712.50
5.6.330.0110.00012.37
5.6.320.0120.00012.36
5.6.310.0060.00612.36
5.6.300.0070.00412.15
5.6.290.0110.00012.25
5.6.280.0070.03716.70
5.6.270.0030.00712.34
5.6.260.0110.00012.42
5.6.250.0080.00412.47
5.6.240.0110.00012.32
5.6.230.0080.00312.28
5.6.220.0090.00312.33
5.6.210.0050.03316.52
5.6.200.0080.02015.31
5.6.190.0070.04016.40
5.6.180.0100.02616.52
5.6.170.0160.03516.53
5.6.160.0050.03016.53
5.6.150.0110.03715.46
5.6.140.0050.02415.34
5.6.130.0070.04215.28
5.6.120.0070.04416.74
5.6.110.0070.04316.76
5.6.100.0090.02316.71
5.6.90.0050.03616.68
5.6.80.0080.04216.39
5.6.70.0050.00512.62
5.6.60.0090.00312.63
5.6.50.0080.00412.25
5.6.40.0000.01112.26
5.6.30.0110.00012.56
5.6.20.0040.00712.30
5.6.10.0070.00312.29
5.6.00.0110.00012.35
5.5.380.0120.00012.36
5.5.370.0090.00212.48
5.5.360.0090.00212.35
5.5.350.0050.02216.45
5.5.340.0050.02315.06
5.5.330.0050.03916.25
5.5.320.0230.02316.24
5.5.310.0120.02116.37
5.5.300.0090.03815.08
5.5.290.0080.03515.18
5.5.280.0060.03016.44
5.5.270.0060.04716.58
5.5.260.0110.04116.65
5.5.250.0050.04616.57
5.5.240.0160.02016.22
5.5.230.0070.00512.40
5.5.220.0000.01112.23
5.5.210.0100.00012.61
5.5.200.0100.00012.27
5.5.190.0110.00012.24
5.5.180.0070.00412.42
5.5.170.0070.00312.42
5.5.160.0100.00012.42
5.5.150.0080.00312.18
5.5.140.0070.00512.29
5.5.130.0070.00412.15
5.5.120.0070.00411.98
5.5.110.0000.01012.01
5.5.100.0050.00512.32
5.5.90.0040.00712.21
5.5.80.0060.00612.34
5.5.70.0090.00212.17
5.5.60.0040.00812.24
5.5.50.0120.00012.25
5.5.40.0110.00012.27
5.5.30.0110.00012.28
5.5.20.0100.00012.16
5.5.10.0070.00412.27
5.5.00.0090.00212.32
5.4.450.0550.03015.72
5.4.440.0370.03315.88
5.4.430.0370.02915.93
5.4.420.0150.03015.99
5.4.410.0420.04215.86
5.4.400.0390.03015.54
5.4.390.0460.02815.54
5.4.380.0400.03015.78
5.4.370.0440.02915.77
5.4.360.0130.03515.70
5.4.350.0330.03115.81
5.4.340.0110.01512.07
5.4.330.0080.00212.25
5.4.320.0060.02112.49
5.4.310.0070.02112.40
5.4.300.0070.02112.34
5.4.290.0090.01912.49
5.4.280.0100.01612.36
5.4.270.0050.02112.35
5.4.260.0040.02312.30
5.4.250.0050.02112.32
5.4.240.0080.01812.40
5.4.230.0080.01912.31
5.4.220.0080.01812.15
5.4.210.0040.02312.21
5.4.200.0060.02112.20
5.4.190.0090.02012.16
5.4.180.0060.02012.16
5.4.170.0080.02212.27
5.4.160.0090.01812.35
5.4.150.0060.02012.23
5.4.140.0070.02112.17
5.4.130.0060.01912.17
5.4.120.0050.02112.23
5.4.110.0080.01712.19
5.4.100.0100.01612.09
5.4.90.0070.02012.14
5.4.80.0060.02112.12
5.4.70.0040.02212.12
5.4.60.0040.02312.20
5.4.50.0100.01812.23
5.4.40.0070.02012.08
5.4.30.0040.02212.13
5.4.20.0070.01912.24
5.4.10.0050.02112.13
5.4.00.0070.01911.77
5.3.290.0080.02012.80
5.3.280.0050.02112.64
5.3.270.0080.02212.66
5.3.260.0070.02212.83
5.3.250.0070.02012.73
5.3.240.0090.01812.67
5.3.230.0080.01912.64
5.3.220.0090.01912.74
5.3.210.0060.02112.78
5.3.200.0070.02012.68
5.3.190.0050.02212.81
5.3.180.0050.02212.85
5.3.170.0060.02012.77
5.3.160.0080.01912.77
5.3.150.0110.01612.71
5.3.140.0090.01912.65
5.3.130.0070.02212.72
5.3.120.0070.02112.84
5.3.110.0070.02012.72
5.3.100.0070.02012.40
5.3.90.0060.02012.42
5.3.80.0080.01812.33
5.3.70.0090.01612.33
5.3.60.0070.01912.40
5.3.50.0090.01812.44
5.3.40.0050.02212.31
5.3.30.0070.01912.42
5.3.20.0090.02012.21
5.3.10.0070.01912.04
5.3.00.0040.02212.05
5.2.170.0060.01610.45
5.2.160.0010.02010.56
5.2.150.0050.01610.50
5.2.140.0050.01610.43
5.2.130.0030.01810.43
5.2.120.0060.01410.42
5.2.110.0050.01610.39
5.2.100.0040.01610.43
5.2.90.0060.01510.53
5.2.80.0020.02010.48
5.2.70.0050.01710.43
5.2.60.0040.01810.44
5.2.50.0060.01510.35
5.2.40.0060.01510.36
5.2.30.0070.01410.40
5.2.20.0060.01410.26
5.2.10.0060.01410.21
5.2.00.0050.01710.03
5.1.60.0050.0139.34
5.1.50.0030.0169.38
5.1.40.0040.0169.54
5.1.30.0040.0159.66
5.1.20.0060.0139.65
5.1.10.0080.0109.61
5.1.00.0080.0129.38
5.0.50.0020.0148.57
5.0.40.0050.0108.50
5.0.30.0030.0188.41
5.0.20.0060.0098.39
5.0.10.0060.0098.38
5.0.00.0030.0168.38
4.4.90.0020.0087.64
4.4.80.0010.0107.63
4.4.70.0020.0087.62
4.4.60.0010.0107.62
4.4.50.0040.0077.63
4.4.40.0030.0137.60
4.4.30.0030.0097.63
4.4.20.0020.0097.67
4.4.10.0020.0087.67
4.4.00.0030.0137.63
4.3.110.0030.0087.58
4.3.100.0030.0077.58
4.3.90.0020.0107.56
4.3.80.0030.0127.54
4.3.70.0010.0097.56
4.3.60.0020.0137.56
4.3.50.0040.0077.56
4.3.40.0040.0127.51
4.3.30.0020.0076.90
4.3.20.0010.0096.89
4.3.10.0020.0076.87
4.3.00.0060.0138.74

preferences:
46.96 ms | 401 KiB | 5 Q