3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'https://providers.cloudsoftphone.com/lib/prettyqr/createQR.php'; $fields = array( 'user'=> 123, 'pass'=> 321, 'cloudid'=> 'test', 'format'=> 'png' ); $options = array( 'http' => array( 'header' => 'Content-type: application/x-www-form-urlencoded', 'method' => 'GET', 'content' => http_build_query($fields) ) ); $context = stream_context_create($options); $result = file_get_contents($url, false, $context); var_dump($result);

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.0110.01122.05
8.3.40.0040.01418.97
8.3.30.0030.01019.00
8.3.20.0070.00020.25
8.3.10.0050.00322.10
8.3.00.0040.00422.46
8.2.180.0120.00316.88
8.2.170.0110.00422.96
8.2.160.0090.00620.77
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00417.75
8.2.110.0090.00019.20
8.2.100.0120.00017.84
8.2.90.0060.00319.07
8.2.80.0000.00817.97
8.2.70.0040.00417.48
8.2.60.0080.00017.93
8.2.50.0080.00018.07
8.2.40.0000.00818.34
8.2.30.0050.00517.96
8.2.20.0020.00517.55
8.2.10.0030.00519.47
8.2.00.0050.00317.69
8.1.280.0000.01425.92
8.1.270.0070.00322.23
8.1.260.0050.00226.35
8.1.250.0030.00528.09
8.1.240.0030.00622.20
8.1.230.0080.00418.99
8.1.220.0050.00317.78
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0030.00617.10
8.1.180.0040.00418.10
8.1.170.0040.00418.50
8.1.160.0000.00721.96
8.1.150.0050.00318.62
8.1.140.0080.00017.34
8.1.130.0000.00717.76
8.1.120.0000.00717.35
8.1.110.0000.00817.44
8.1.100.0020.00517.42
8.1.90.0050.00217.39
8.1.80.0030.00317.26
8.1.70.0070.00017.42
8.1.60.0080.00417.53
8.1.50.0040.00417.45
8.1.40.0070.00017.34
8.1.30.0080.00017.63
8.1.20.0040.00417.61
8.1.10.0050.00217.43
8.1.00.0000.00817.43
8.0.300.0090.00020.10
8.0.290.0040.00416.75
8.0.280.0000.00718.51
8.0.270.0000.00717.28
8.0.260.0000.00616.91
8.0.250.0000.00717.04
8.0.240.0050.00217.07
8.0.230.0040.00416.94
8.0.220.0000.00716.88
8.0.210.0030.00316.98
8.0.200.0000.00717.01
8.0.190.0030.00516.93
8.0.180.0000.00717.00
8.0.170.0040.00416.93
8.0.160.0030.00516.98
8.0.150.0000.00716.81
8.0.140.0050.00216.84
8.0.130.0000.00613.41
8.0.120.0040.00416.86
8.0.110.0040.00416.84
8.0.100.0000.00716.87
8.0.90.0040.00416.77
8.0.80.0070.00716.93
8.0.70.0000.00716.77
8.0.60.0070.00016.95
8.0.50.0030.00516.82
8.0.30.0100.00917.09
8.0.20.0110.00817.40
8.0.10.0000.00817.07
8.0.00.0110.00916.81
7.4.330.0030.00315.00
7.4.320.0060.00016.32
7.4.300.0060.00016.50
7.4.290.0070.00016.58
7.4.280.0000.00716.56
7.4.270.0000.00816.46
7.4.260.0070.00016.44
7.4.250.0040.00416.35
7.4.240.0000.00816.43
7.4.230.0000.00716.56
7.4.220.0000.01616.54
7.4.210.0030.01216.59
7.4.200.0070.00016.45
7.4.190.0030.00316.51
7.4.160.0130.00316.68
7.4.150.0030.01417.40
7.4.140.0110.01317.86
7.4.130.0080.01216.41
7.4.120.0090.00816.47
7.4.110.0070.01116.55
7.4.100.0130.01016.58
7.4.90.0060.01116.39
7.4.80.0030.01419.39
7.4.70.0080.01216.59
7.4.60.0110.00716.37
7.4.50.0050.00316.58
7.4.40.0120.00322.77
7.4.30.0140.00416.57
7.4.00.0110.00615.11
7.3.330.0020.00513.06
7.3.320.0000.00613.17
7.3.310.0030.00316.30
7.3.300.0000.00716.33
7.3.290.0030.01116.30
7.3.280.0100.01016.37
7.3.270.0120.00617.40
7.3.260.0030.01316.25
7.3.250.0080.00816.43
7.3.240.0060.01616.51
7.3.230.0070.01016.57
7.3.210.0100.00716.52
7.3.200.0060.01119.39
7.3.190.0070.01016.62
7.3.180.0110.00516.58
7.3.170.0090.00916.39
7.3.160.0070.01016.27
7.3.120.0090.00614.74
7.2.330.0000.01716.55
7.2.320.0070.01416.63
7.2.310.0070.01016.41
7.2.300.0030.01316.53
7.2.290.0060.01016.81
7.2.60.0100.00316.31
7.2.00.0070.00319.56
7.1.200.0170.00715.64
7.1.100.0030.00918.07
7.1.70.0080.00017.43
7.1.60.0040.02119.82
7.1.50.0060.01216.95
7.1.00.0000.08022.62
7.0.200.0030.00917.06
7.0.140.0070.07322.34
7.0.60.0030.06720.20
7.0.50.0070.08018.27
7.0.40.0000.06020.56
7.0.30.0370.06320.63
7.0.20.0400.06720.54
7.0.10.0100.08720.43
7.0.00.0070.09320.42
5.6.280.0130.06721.17
5.6.210.0170.06020.96
5.6.200.0030.04018.66
5.6.190.0030.04320.98
5.6.180.0500.06720.98
5.6.170.0370.06320.95
5.6.160.0170.08020.86
5.6.150.0130.05718.48
5.6.140.0070.07318.48
5.6.130.0130.07718.46
5.6.120.0200.03721.16
5.6.110.0000.04321.41
5.6.100.0070.08021.48
5.6.90.0070.06321.48
5.6.80.0100.07020.66
5.5.350.0130.07720.68
5.5.340.0070.03718.41
5.5.330.0030.04320.87
5.5.320.0330.07320.62
5.5.310.0230.05720.64
5.5.300.0000.05718.53
5.5.290.0200.04018.36
5.5.280.0030.09021.20
5.5.270.0100.04321.14
5.5.260.0070.07021.17
5.5.250.0030.08320.86
5.5.240.0200.07320.47
5.4.450.0500.05319.89
5.4.440.0330.08019.91
5.4.430.0400.07019.89
5.4.420.0400.06719.91
5.4.410.0400.05319.88
5.4.400.0270.04719.63
5.4.390.0300.03319.56
5.4.380.0270.03319.63
5.4.370.0330.03719.59
5.4.360.0270.04719.63
5.4.350.0230.03719.70
5.4.340.0230.04019.69
5.4.320.0270.03319.58
5.4.310.0270.04019.63
5.4.300.0230.03719.63
5.4.290.0270.03319.58
5.4.280.0330.03019.60
5.4.270.0200.04019.57
5.4.260.0300.03719.59
5.4.250.0230.03719.63
5.4.240.0230.05319.56
5.4.230.0200.04019.67
5.4.220.0300.06019.57
5.4.210.0300.03319.58
5.4.200.0270.05319.60
5.4.190.0370.04019.49
5.4.180.0430.06019.62
5.4.170.0470.06319.67
5.4.160.0370.03719.54
5.4.150.0470.06019.62
5.4.140.0400.06716.36
5.4.130.0470.05716.17
5.4.120.0430.05716.14
5.4.110.0400.05316.39
5.4.100.0370.06316.40
5.4.90.0330.03716.21
5.4.80.0330.05316.46
5.4.70.0370.06316.41
5.4.60.0400.03716.39
5.4.50.0330.03716.18
5.4.40.0470.03316.39
5.4.30.0400.06316.02
5.4.20.0470.04716.36
5.4.10.0400.06016.34
5.4.00.0370.03315.87
5.3.290.0300.03014.54
5.3.280.0370.03714.54
5.3.270.0430.06714.65
5.3.260.0370.03314.46
5.3.250.0470.06314.70
5.3.240.0330.04314.45
5.3.230.0400.07314.54
5.3.220.0330.04714.42
5.3.210.0370.07714.59
5.3.200.0400.04014.66
5.3.190.0300.04014.55
5.3.180.0270.04014.52
5.3.170.0430.06714.44
5.3.160.0400.03714.50
5.3.150.0500.05314.50
5.3.140.0370.04314.39
5.3.130.0370.07314.54
5.3.120.0270.08314.42
5.3.110.0370.05314.38
5.3.100.0300.07714.12
5.3.90.0400.06013.97
5.3.80.0370.05713.79
5.3.70.0500.06014.11
5.3.60.0330.06313.93
5.3.50.0470.06013.88
5.3.40.0400.06713.90
5.3.30.0400.06013.86
5.3.20.0470.05013.60
5.3.10.0330.04313.60
5.3.00.0330.04313.45
5.2.170.0400.05311.08
5.2.160.0300.05711.20
5.2.150.0370.06010.99
5.2.140.0230.05711.03
5.2.130.0370.07010.95
5.2.120.0400.01710.96
5.2.110.0300.03011.26
5.2.100.0330.04710.95
5.2.90.0400.05010.96
5.2.80.0300.03711.00
5.2.70.0370.03311.03
5.2.60.0270.03311.09
5.2.50.0330.06011.03
5.2.40.0230.05310.85
5.2.30.0400.04310.98
5.2.20.0230.03710.97
5.2.10.0230.05710.83
5.2.00.0300.05010.66
5.1.60.0300.0439.91
5.1.50.0270.02710.07
5.1.40.0230.0479.88
5.1.30.0270.05310.40
5.1.20.0230.05310.25
5.1.10.0300.04710.04
5.1.00.0300.04710.05
5.0.50.0170.0338.48
5.0.40.0170.0438.29
5.0.30.0170.0608.20
5.0.20.0170.0378.32
5.0.10.0100.0278.25
5.0.00.0100.0338.24
4.4.90.0200.0137.84
4.4.80.0130.0377.84
4.4.70.0100.0207.84
4.4.60.0130.0207.84
4.4.50.0170.0177.84
4.4.40.0100.0407.84
4.4.30.0130.0377.84
4.4.20.0170.0177.84
4.4.10.0100.0307.84
4.4.00.0100.0437.84
4.3.110.0170.0307.84
4.3.100.0130.0307.84
4.3.90.0170.0337.84
4.3.80.0170.0507.84
4.3.70.0200.0307.84
4.3.60.0170.0307.84
4.3.50.0130.0377.84
4.3.40.0130.0437.84
4.3.30.0070.0337.84
4.3.20.0130.0307.84
4.3.10.0070.0337.84
4.3.00.0070.0207.84

preferences:
45.28 ms | 401 KiB | 5 Q