3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'qrng.anu.edu.au/API/jsonI.php?length=5&type=uint16'; $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_HEADER, false); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_AUTOREFERER, true); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false); $auth = curl_exec($curl); print curl_error($curl); echo $auth; if($auth) { $obj = json_decode($auth); print_r($obj); }

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.0070.00716.63
8.3.50.0160.00416.22
8.3.40.0140.00718.98
8.3.30.0040.01118.61
8.3.20.0050.00318.76
8.3.10.0040.00418.60
8.3.00.0040.00419.26
8.2.180.0160.00316.50
8.2.170.0100.00722.96
8.2.160.0110.00421.07
8.2.150.0000.00724.18
8.2.140.0100.00324.66
8.2.130.0070.00026.16
8.2.120.0000.00820.57
8.2.110.0120.00019.25
8.2.100.0080.00417.75
8.2.90.0000.00819.07
8.2.80.0030.00617.97
8.2.70.0040.00417.75
8.2.60.0060.00317.80
8.2.50.0060.00318.07
8.2.40.0040.00418.03
8.2.30.0040.00417.97
8.2.20.0040.00417.53
8.2.10.0050.00217.67
8.2.00.0000.00717.86
8.1.280.0090.00925.92
8.1.270.0040.00424.66
8.1.260.0090.00026.35
8.1.250.0030.00528.09
8.1.240.0060.00321.37
8.1.230.0060.00617.42
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0000.00917.35
8.1.180.0040.00418.10
8.1.170.0040.00418.73
8.1.160.0070.00018.72
8.1.150.0050.00218.50
8.1.140.0000.00717.39
8.1.130.0030.00317.71
8.1.120.0040.00317.32
8.1.110.0040.00417.29
8.1.100.0000.00717.41
8.1.90.0070.00017.37
8.1.80.0040.00317.41
8.1.70.0000.00717.35
8.1.60.0040.00417.50
8.1.50.0000.00817.43
8.1.40.0000.00717.43
8.1.30.0040.00417.59
8.1.20.0000.00817.67
8.1.10.0000.00717.57
8.1.00.0030.00517.49
8.0.300.0050.00318.77
8.0.290.0040.00416.63
8.0.280.0040.00418.31
8.0.270.0030.00317.26
8.0.260.0030.00316.89
8.0.250.0000.00716.92
8.0.240.0040.00416.87
8.0.230.0030.00316.86
8.0.220.0030.00316.80
8.0.210.0030.00316.92
8.0.200.0000.00616.98
8.0.190.0040.00417.00
8.0.180.0030.00516.83
8.0.170.0060.00316.84
8.0.160.0000.00716.90
8.0.150.0030.00616.91
8.0.140.0000.01016.73
8.0.130.0050.00013.32
8.0.120.0040.00416.75
8.0.110.0040.00416.80
8.0.100.0080.00016.86
8.0.90.0030.00516.73
8.0.80.0120.00316.81
8.0.70.0000.00816.84
8.0.60.0040.00416.95
8.0.50.0050.00316.80
8.0.30.0160.00317.19
8.0.20.0150.00817.00
8.0.10.0030.00516.79
8.0.00.0070.01416.72
7.4.330.0000.00513.05
7.4.320.0000.00616.47
7.4.300.0030.00316.48
7.4.290.0040.00416.51
7.4.280.0050.00316.54
7.4.270.0070.00016.41
7.4.260.0030.00313.40
7.4.250.0000.00716.55
7.4.240.0020.00516.53
7.4.230.0030.00316.64
7.4.220.0070.01716.58
7.4.210.0080.00816.57
7.4.200.0040.00416.71
7.4.190.0040.00416.58
7.4.160.0040.01216.68
7.4.150.0040.01416.37
7.4.140.0120.00616.51
7.4.130.0130.00516.60
7.4.120.0100.01016.57
7.4.110.0090.00916.64
7.4.100.0100.01016.50
7.4.90.0060.01216.65
7.4.80.0060.01316.46
7.4.70.0060.01016.51
7.4.60.0120.00316.51
7.4.50.0080.00416.38
7.4.40.0070.01016.47
7.4.30.0070.00916.45
7.4.00.0070.01015.21
7.3.330.0030.00413.14
7.3.320.0000.00513.19
7.3.310.0000.00716.29
7.3.300.0030.00316.29
7.3.290.0050.00916.33
7.3.280.0050.01016.29
7.3.270.0120.01216.52
7.3.260.0060.01316.55
7.3.250.0100.00916.42
7.3.240.0060.00916.24
7.3.230.0090.01216.23
7.3.210.0130.01016.32
7.3.200.0100.00719.39
7.3.190.0030.01416.50
7.3.180.0040.01516.55
7.3.170.0040.01316.52
7.3.160.0040.01116.30
7.3.120.0070.01014.86
7.2.330.0070.01116.54
7.2.320.0110.00616.61
7.2.310.0100.01016.29
7.2.300.0140.00416.41
7.2.290.0160.00016.35
7.2.60.0060.00916.45
7.2.00.0030.01018.89
7.1.200.0030.00515.74
7.1.100.0070.00417.85
7.1.70.0040.00417.16
7.1.60.0070.01719.40
7.1.50.0030.02016.94
7.1.00.0030.04722.51
7.0.200.0000.00716.71
7.0.140.0070.07022.13
7.0.120.0000.07721.96
7.0.60.0170.03721.63
7.0.50.0070.03717.91
7.0.40.3530.04320.00
7.0.30.4130.04720.09
7.0.20.3870.03720.00
7.0.10.3830.04719.99
7.0.00.3300.03719.96
5.6.210.0070.08020.54
5.6.200.0070.06018.13
5.6.190.3330.03720.71
5.6.180.3330.04020.41
5.6.170.3970.05020.38
5.6.160.3430.04320.50
5.6.150.3230.04020.25
5.6.140.3170.04320.25
5.6.130.3030.04720.25
5.6.120.1800.04020.29
5.6.110.0000.04320.20
5.6.100.3400.04020.21
5.6.90.3930.04720.29
5.6.80.3900.04019.63
5.6.70.3370.04319.62
5.6.60.3400.04319.63
5.6.50.4070.03319.53
5.6.40.3930.04719.57
5.6.30.3230.03019.61
5.6.20.3470.03319.56
5.6.10.3430.03719.61
5.6.00.3200.03719.64
5.5.350.0230.07020.44
5.5.340.0170.07317.93
5.5.330.2030.06320.32
5.5.320.3930.04720.16
5.5.310.4000.04320.16
5.5.300.3200.05720.01
5.5.290.3170.04020.04
5.5.280.0070.04020.26
5.5.270.0100.05320.06
5.5.260.3800.04320.08
5.5.250.4200.03019.88
5.5.240.4070.04319.43
5.5.230.4100.03319.38
5.5.220.3470.03319.55
5.5.210.3100.04019.39
5.5.200.3700.04019.36
5.5.190.4330.05319.42
5.5.180.4030.04019.40
5.5.160.3930.03719.36
5.5.150.4170.03719.38
5.5.140.4100.04019.50
5.5.130.3200.03719.38
5.5.120.3600.03719.39
5.5.110.3800.04019.39
5.5.100.4100.04319.34
5.5.90.3730.04019.29
5.5.80.3300.03719.44
5.5.70.3630.04019.29
5.5.60.3170.03319.44
5.5.50.3370.04319.38
5.5.40.0070.07719.43
5.5.30.0200.06019.34
5.5.20.3300.03719.46
5.5.10.3770.04019.29
5.5.00.4330.04319.28
5.4.450.3230.03319.47
5.4.440.0000.04319.36
5.4.430.1830.05019.45
5.4.420.3370.03319.29
5.4.410.4100.04019.18
5.4.400.3870.03718.96
5.4.390.4070.04318.83
5.4.380.3670.03318.89
5.4.370.3470.03318.99
5.4.360.4230.03719.02
5.4.350.3370.04019.14
5.4.340.3230.03018.99
5.4.320.3700.04318.89
5.4.310.4170.03319.09
5.4.300.4130.03719.11
5.4.290.3730.03718.99
5.4.280.4100.03718.91
5.4.270.3970.04019.03
5.4.260.3930.04019.09
5.4.250.3800.03719.03
5.4.240.3170.03319.09
5.4.230.4100.02318.98
5.4.220.3500.04719.09
5.4.210.3370.04018.89
5.4.200.1330.04019.12
5.4.190.0800.03719.02
5.4.180.3730.04019.07
5.4.170.3970.03319.07
5.4.160.3230.04018.80
5.4.150.3330.04018.87
5.4.140.3300.03316.17
5.4.130.3530.04016.24
5.4.120.3430.04016.45
5.4.110.3870.03016.28
5.4.100.3570.03716.26
5.4.90.0670.05716.17
5.4.80.1330.03016.41
5.4.70.3570.03716.21
5.4.60.3600.04016.34
5.4.50.3770.04016.23
5.4.40.3870.03316.29
5.4.30.4100.04016.27
5.4.20.3500.03316.25
5.4.10.3570.04016.30
5.4.00.3600.02715.72
5.3.290.4030.04014.59
5.3.280.3170.03714.54
5.3.270.4070.03314.43
5.3.260.3630.04314.57
5.3.250.3530.04314.55
5.3.240.3430.04014.54
5.3.230.3530.03714.43
5.3.220.3570.04014.40
5.3.210.3270.03314.64
5.3.200.3730.03714.52
5.3.190.0170.06714.34
5.3.180.0130.05714.54
5.3.170.3400.03014.49
5.3.160.3570.03714.49
5.3.150.3970.03314.49
5.3.140.4030.03714.52
5.3.130.4170.03014.50
5.3.120.4230.04314.48
5.3.110.3500.04014.33
5.3.100.3170.04014.03
5.3.90.3530.04013.97
5.3.80.3600.03714.00
5.3.70.3530.04313.96
5.3.60.3600.03713.93
5.3.50.3700.03713.93
5.3.40.5230.03713.80
5.3.30.3830.03313.99
5.3.20.3330.03013.47
5.3.10.3300.03313.43
5.3.00.3300.03313.40
5.2.170.3130.02710.96
5.2.160.2970.02011.14
5.2.150.3530.03011.09
5.2.140.3230.02710.92
5.2.130.4170.04011.07
5.2.120.2930.03711.07
5.2.110.2530.02711.25
5.2.100.2770.03010.94
5.2.90.2500.02311.09
5.2.80.2500.03011.09
5.2.70.2700.03011.12
5.2.60.2900.03010.97
5.2.50.2770.02310.80
5.2.40.2230.02711.14
5.2.30.2200.02710.96
5.2.20.2170.03010.93
5.2.10.2230.02010.88
5.2.00.1930.02710.69
5.1.60.2170.0209.93
5.1.50.2130.02310.03
5.1.40.2270.02710.01
5.1.30.2330.02710.39
5.1.20.2630.03010.31
5.1.10.2570.02710.15
5.1.00.2270.03010.01
5.0.50.1300.0208.61
5.0.40.1230.0208.36
5.0.30.1230.0308.22
5.0.20.1200.0208.15
5.0.10.1500.0208.01
5.0.00.1500.0338.21
4.4.90.1130.0135.92
4.4.80.1100.0135.92
4.4.70.1270.0205.80
4.4.60.1330.0135.83
4.4.50.1130.0105.86
4.4.40.1130.0205.80
4.4.30.1230.0175.90
4.4.20.1100.0205.86
4.4.10.1230.0235.91
4.4.00.1370.0305.84
4.3.110.1330.0205.68
4.3.100.1130.0135.73
4.3.90.1100.0175.79
4.3.80.1470.0305.80
4.3.70.1400.0135.73
4.3.60.1300.0175.72
4.3.50.1230.0135.70
4.3.40.1400.0305.77
4.3.30.0830.0235.05
4.3.20.0870.0135.05
4.3.10.0830.0235.05
4.3.00.0630.0105.05

preferences:
51.66 ms | 401 KiB | 5 Q