3v4l.org

run code in 300+ PHP versions simultaneously
<?php header("Content-type: application/json"); $url = "http://ipinfo.io/" . $_SERVER['REMOTE_ADDR'] . "/json"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url ); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $output = curl_exec($ch); curl_close($ch); print json_encode($output); ?>

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.01218.68
8.3.60.0120.00316.75
8.3.50.0090.00921.06
8.3.40.0070.01518.84
8.3.30.0180.00418.80
8.3.20.0080.00020.18
8.3.10.0080.00021.73
8.3.00.0040.01123.56
8.2.190.0090.00616.75
8.2.180.0130.00916.63
8.2.170.0040.01122.96
8.2.160.0100.00320.52
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00019.77
8.2.120.0070.00026.35
8.2.110.0030.00721.08
8.2.100.0060.00618.15
8.2.90.0030.00519.22
8.2.80.0050.00317.97
8.2.70.0080.00017.62
8.2.60.0000.00817.93
8.2.50.0000.00818.07
8.2.40.0040.00422.15
8.2.30.0000.00819.46
8.2.20.0060.00317.75
8.2.10.0040.00418.12
8.2.00.0000.00718.16
8.1.280.0100.00625.92
8.1.270.0060.00323.85
8.1.260.0060.00328.09
8.1.250.0050.00328.09
8.1.240.0030.00722.45
8.1.230.0110.00019.17
8.1.220.0030.00517.79
8.1.210.0050.00318.77
8.1.200.0070.00317.38
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0080.00018.59
8.1.160.0000.00820.79
8.1.150.0000.00818.98
8.1.140.0050.00319.56
8.1.130.0000.00817.64
8.1.120.0000.00817.55
8.1.110.0040.00417.52
8.1.100.0030.00317.35
8.1.90.0040.00417.46
8.1.80.0040.00417.51
8.1.70.0030.00317.43
8.1.60.0040.00417.57
8.1.50.0080.00017.59
8.1.40.0080.00017.48
8.1.30.0040.00417.61
8.1.20.0040.00417.64
8.1.10.0040.00417.61
8.1.00.0060.00317.42
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0000.00718.52
8.0.270.0000.00817.19
8.0.260.0080.00017.13
8.0.250.0070.00016.95
8.0.240.0040.00417.04
8.0.230.0030.00317.04
8.0.220.0070.00016.98
8.0.210.0000.00717.01
8.0.200.0090.00317.08
8.0.190.0050.00317.01
8.0.180.0000.00817.01
8.0.170.0030.00616.90
8.0.160.0080.00016.87
8.0.150.0080.00016.80
8.0.140.0070.00016.83
8.0.130.0050.00013.40
8.0.120.0040.00416.96
8.0.110.0000.00716.96
8.0.100.0040.00416.93
8.0.90.0030.00517.05
8.0.80.0090.00916.95
8.0.70.0040.00416.86
8.0.60.0000.00817.04
8.0.50.0000.00716.95
8.0.30.0070.01217.23
8.0.20.0120.01117.41
8.0.10.0040.00416.94
8.0.00.0100.01016.70
7.4.330.0050.00016.69
7.4.320.0000.00716.48
7.4.300.0050.00316.55
7.4.290.0000.00716.55
7.4.280.0030.00616.50
7.4.270.0070.00016.49
7.4.260.0070.00416.58
7.4.250.0030.00516.46
7.4.240.0060.00216.55
7.4.230.0030.00316.49
7.4.220.0030.00316.25
7.4.210.0110.00316.63
7.4.200.0030.00316.43
7.4.160.0030.01716.57
7.4.150.0070.01117.40
7.4.140.0100.00917.86
7.4.130.0100.00716.55
7.4.120.0080.01216.60
7.4.110.0100.00716.64
7.4.100.0140.00316.55
7.4.90.0140.00316.72
7.4.80.0130.01919.39
7.4.70.0070.01016.61
7.4.60.0070.01016.55
7.4.50.0060.00916.66
7.4.40.0200.00316.52
7.4.30.0070.01016.48
7.4.00.0110.00614.78
7.3.330.0030.00313.16
7.3.320.0030.00313.12
7.3.310.0030.00316.17
7.3.300.0040.00416.23
7.3.290.0070.01316.34
7.3.280.0100.00816.35
7.3.270.0140.00317.40
7.3.260.0220.00016.34
7.3.240.0100.01116.43
7.3.230.0030.01616.43
7.3.210.0110.01116.48
7.3.200.0130.01019.39
7.3.190.0060.01716.42
7.3.180.0120.00316.52
7.3.170.0110.00716.37
7.3.160.0110.01016.38
7.3.120.0070.01014.96
7.3.110.0100.00714.38
7.3.100.0080.00514.89
7.3.90.0030.01014.82
7.3.80.0070.00714.98
7.3.70.0120.00414.88
7.3.60.0030.01014.91
7.3.50.0000.00914.93
7.3.40.0110.00414.58
7.3.30.0070.00414.40
7.3.20.0090.00316.74
7.3.10.0050.00916.54
7.3.00.0050.00916.50
7.2.330.0030.01416.65
7.2.320.0140.00616.68
7.2.310.0070.01016.72
7.2.300.0060.01016.41
7.2.290.0030.01316.38
7.2.250.0060.01315.25
7.2.240.0100.00715.21
7.2.230.0040.01115.18
7.2.220.0160.00015.00
7.2.210.0070.00714.88
7.2.200.0110.00314.97
7.2.190.0060.00315.12
7.2.180.0040.01114.98
7.2.170.0040.01114.93
7.2.130.0030.01016.95
7.2.120.0040.01216.88
7.2.110.0070.00316.80
7.2.100.0000.01416.72
7.2.90.0030.01316.93
7.2.80.0050.00516.79
7.2.70.0060.00916.50
7.2.60.0050.00916.86
7.2.50.0100.00717.02
7.2.40.0090.00316.82
7.2.30.0110.00416.99
7.2.20.0000.01016.86
7.2.10.0040.01116.60
7.2.00.0040.00918.13
7.1.330.0030.01315.81
7.1.320.0100.00715.90
7.1.310.0070.00715.58
7.1.300.0000.00915.52
7.1.290.0070.01015.50
7.1.280.0070.01015.94
7.1.270.0060.00615.80
7.1.260.0040.00815.88
7.1.250.0040.00715.92
7.1.200.0120.00315.81
7.1.100.0000.01518.12
7.1.70.0030.01016.88
7.1.60.0060.01619.28
7.1.50.0030.01017.11
7.1.00.0000.08022.47
7.0.200.0430.00014.71
7.0.90.0530.05719.88
7.0.80.0500.09019.96
7.0.70.0570.04719.90
7.0.60.0600.05319.91
7.0.50.0470.04020.33
7.0.40.0070.08019.96
7.0.30.0100.04720.00
7.0.20.0170.06720.08
7.0.10.0100.04720.17
7.0.00.0070.08020.07
5.6.280.0030.07321.07
5.6.240.0000.05020.59
5.6.230.0030.08720.62
5.6.220.0030.04320.61
5.6.210.0070.08020.77
5.6.200.0100.05021.11
5.6.190.0030.04321.10
5.6.180.0100.03721.00
5.6.170.0100.08721.08
5.6.160.0070.05320.92
5.6.150.0030.06321.10
5.6.140.0070.08320.91
5.6.130.0030.06021.09
5.6.120.0070.05721.16
5.6.110.0100.05321.05
5.6.100.0070.05721.04
5.6.90.0100.08020.97
5.6.80.0030.05020.32
5.6.70.0030.05020.42
5.6.60.0070.07720.45
5.6.50.0070.08320.46
5.6.40.0130.05720.46
5.6.30.0000.08320.30
5.6.20.0000.08720.45
5.6.10.0130.07020.52
5.6.00.0130.07720.38
5.5.380.0030.08320.35
5.5.370.0130.07320.32
5.5.360.0170.07320.41
5.5.350.0170.07020.45
5.5.340.0130.07720.80
5.5.330.0070.08720.81
5.5.320.0170.07320.87
5.5.310.0030.08720.80
5.5.300.0100.04020.92
5.5.290.0070.07720.87
5.5.280.0100.05720.88
5.5.270.0030.09020.91
5.5.260.0100.08320.91
5.5.250.0070.05320.64
5.5.240.0100.07020.13
5.5.230.0070.08020.15
5.5.220.0100.08020.26
5.5.210.0100.07020.23
5.5.200.0100.08020.24
5.5.190.0030.08020.13
5.5.180.0070.05320.23
5.5.160.0070.07720.23
5.5.150.0130.06720.17
5.5.140.0100.04720.21
5.5.130.0200.07020.12
5.5.120.0070.05020.05
5.5.110.0130.04019.97
5.5.100.0070.07720.15
5.5.90.0170.07019.97
5.5.80.0070.08020.06
5.5.70.0130.04720.15
5.5.60.0070.04720.06
5.5.50.0100.07320.05
5.5.40.0030.07720.15
5.5.30.0070.08320.09
5.5.20.0100.07320.13
5.5.10.0130.07720.03
5.5.00.0130.05320.11

preferences:
55.62 ms | 401 KiB | 5 Q