3v4l.org

run code in 300+ PHP versions simultaneously
<?php # Include http library include("LIB_http.php"); # Define the target and referrer web pages $target = "http://www.schrenk.com/publications.php"; $ref = "http://www.schrenk.com"; # Request the header $return_array = http_get_withheader($target, $ref); # Display the header echo "FILE CONTENTS \n"; var_dump($return_array['FILE']); echo "ERRORS \n"; var_dump($return_array['ERROR']); echo "STATUS \n"; var_dump($return_array['STATUS']); ?>

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.0090.00618.30
8.3.50.0100.01021.15
8.3.40.0150.00319.02
8.3.30.0060.00919.27
8.3.20.0070.00020.38
8.3.10.0040.00423.56
8.3.00.0040.00423.48
8.2.180.0200.00716.88
8.2.170.0070.00722.96
8.2.160.0030.01022.07
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0000.00817.75
8.2.110.0070.00419.38
8.2.100.0080.00317.75
8.2.90.0000.00819.25
8.2.80.0040.00417.97
8.2.70.0080.00017.75
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0040.00421.14
8.2.30.0000.00819.80
8.2.20.0070.00017.75
8.2.10.0040.00418.15
8.2.00.0000.00718.20
8.1.280.0140.00325.92
8.1.270.0040.00420.43
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0090.00023.79
8.1.230.0040.00817.64
8.1.220.0090.00017.75
8.1.210.0040.00418.77
8.1.200.0060.00317.38
8.1.190.0030.00617.35
8.1.180.0000.00718.10
8.1.170.0080.00018.71
8.1.160.0040.00422.04
8.1.150.0000.00718.95
8.1.140.0070.00017.35
8.1.130.0030.00317.64
8.1.120.0040.00417.48
8.1.110.0050.00317.44
8.1.100.0040.00417.36
8.1.90.0000.00717.37
8.1.80.0040.00417.46
8.1.70.0070.00017.36
8.1.60.0060.00317.66
8.1.50.0030.00517.52
8.1.40.0040.00417.57
8.1.30.0000.00817.63
8.1.20.0050.00317.72
8.1.10.0000.00717.63
8.1.00.0080.00017.55
8.0.300.0070.00018.77
8.0.290.0030.00616.88
8.0.280.0030.00318.43
8.0.270.0040.00417.03
8.0.260.0030.00317.33
8.0.250.0040.00417.02
8.0.240.0040.00417.07
8.0.230.0050.00317.08
8.0.220.0030.00317.00
8.0.210.0050.00317.02
8.0.200.0000.00717.10
8.0.190.0060.00317.02
8.0.180.0040.00417.07
8.0.170.0050.00217.11
8.0.160.0000.00717.10
8.0.150.0030.00616.92
8.0.140.0040.00417.03
8.0.130.0000.00613.51
8.0.120.0040.00417.04
8.0.110.0040.00416.99
8.0.100.0000.00716.94
8.0.90.0040.00416.86
8.0.80.0130.00917.01
8.0.70.0000.00716.95
8.0.60.0050.00216.93
8.0.50.0000.00716.92
8.0.30.0080.01417.12
8.0.20.0070.01217.40
8.0.10.0000.00817.13
8.0.00.0050.01216.95
7.4.330.0030.00315.08
7.4.320.0030.00316.45
7.4.300.0040.00416.64
7.4.290.0030.00316.44
7.4.280.0040.00416.66
7.4.270.0000.00816.63
7.4.260.0040.00716.65
7.4.250.0030.00316.58
7.4.240.0030.00316.62
7.4.230.0050.00316.34
7.4.220.0140.00716.71
7.4.210.0120.00316.64
7.4.200.0030.00316.52
7.4.160.0120.00416.69
7.4.150.0100.00717.40
7.4.140.0070.01317.86
7.4.130.0110.00916.53
7.4.120.0060.01416.52
7.4.110.0060.01116.70
7.4.100.0090.01216.48
7.4.90.0120.00616.54
7.4.80.0170.00619.39
7.4.70.0120.00616.58
7.4.60.0130.00316.61
7.4.50.0030.00616.53
7.4.40.0140.00316.58
7.4.30.0160.00616.48
7.4.00.0100.00915.09
7.3.330.0030.00313.09
7.3.320.0050.00013.28
7.3.310.0030.00316.39
7.3.300.0000.00616.39
7.3.290.0110.00816.37
7.3.280.0080.00916.31
7.3.270.0040.01317.40
7.3.260.0100.01016.43
7.3.250.0140.00316.29
7.3.240.0120.00616.33
7.3.230.0170.00316.53
7.3.210.0130.00316.29
7.3.200.0060.01116.32
7.3.190.0100.00716.44
7.3.180.0030.01816.52
7.3.170.0160.00616.42
7.3.160.0060.01116.36
7.3.120.0060.01314.86
7.3.110.0030.00914.80
7.3.100.0080.00614.61
7.3.90.0120.00414.98
7.3.80.0140.00014.76
7.3.70.0040.01114.89
7.3.60.0030.01014.88
7.3.50.0070.00714.91
7.3.40.0100.00614.70
7.3.30.0080.00814.89
7.3.20.0070.01016.61
7.3.10.0030.01316.54
7.3.00.0030.01016.57
7.2.330.0090.00816.64
7.2.320.0100.00716.68
7.2.310.0070.01016.42
7.2.300.0130.00316.43
7.2.290.0070.01016.73
7.2.250.0060.01314.95
7.2.240.0100.01015.19
7.2.230.0000.01615.28
7.2.220.0000.01915.12
7.2.210.0040.00814.80
7.2.200.0060.00915.02
7.2.190.0030.00914.96
7.2.180.0060.00615.14
7.2.170.0000.01614.92
7.2.60.0110.00416.94
7.2.00.0160.00319.18
7.1.330.0060.00615.49
7.1.320.0120.00315.34
7.1.310.0100.00015.65
7.1.300.0060.00615.84
7.1.290.0050.00515.55
7.1.280.0090.00015.60
7.1.270.0030.00715.41
7.1.260.0120.00315.54
7.1.200.0030.00715.64
7.1.100.0030.00717.67
7.1.70.0030.00516.78
7.1.60.0100.01419.42
7.1.50.0220.01634.77
7.1.00.0030.07722.45
7.0.200.0000.00916.32
7.0.60.0030.08721.74
7.0.50.0000.04717.86
7.0.40.0000.05320.24
7.0.30.0270.08720.13
7.0.20.0200.05020.13
7.0.10.0000.04720.21
7.0.00.0100.05320.19
5.6.210.0130.06720.59
5.6.200.0000.07318.13
5.6.190.0100.05020.50
5.6.180.0370.04720.58
5.6.170.0370.05020.38
5.6.160.0100.06720.38
5.6.150.0070.08018.20
5.6.140.0130.06318.19
5.6.130.0070.08318.12
5.6.120.0100.06720.99
5.6.110.0030.08020.98
5.6.100.0000.04720.95
5.6.90.0100.08020.98
5.6.80.0030.06320.38
5.5.350.2770.04720.46
5.5.340.0100.07318.03
5.5.330.0030.04720.57
5.5.320.0230.06320.29
5.5.310.0170.03720.51
5.5.300.0200.04317.99
5.5.290.0130.07017.88
5.5.280.0070.08320.97
5.5.270.0100.08720.85
5.5.260.0130.08020.87
5.5.250.0030.04720.68
5.5.240.0970.03320.13
5.4.450.0700.06019.48
5.4.440.0300.06319.53
5.4.430.0270.04719.48
5.4.420.0370.05319.48
5.4.410.0300.04319.12
5.4.400.0130.05718.80
5.4.390.0200.05019.00
5.4.380.0230.04719.23
5.4.370.0200.05019.13
5.4.360.0270.05018.82
5.4.350.0130.05719.23
5.4.340.0200.06719.18
5.4.320.0230.05018.93
5.4.310.0100.06018.96
5.4.300.0200.05019.26
5.4.290.0200.05019.31
5.4.280.0070.06319.20
5.4.270.0100.05718.80
5.4.260.0200.05018.95
5.4.250.0170.05019.22
5.4.240.0170.05018.95
5.4.230.0200.04719.30
5.4.220.0370.03718.80
5.4.210.0200.05318.83
5.4.200.0170.05016.68
5.4.190.0170.05319.11
5.4.180.0170.05318.82
5.4.170.0200.05318.83
5.4.160.0130.05319.07
5.4.150.0100.06019.07
5.4.140.0230.04716.45
5.4.130.0270.04016.38
5.4.120.0170.05016.44
5.4.110.0230.04716.26
5.4.100.0170.05716.46
5.4.90.0170.05016.47
5.4.80.0230.04316.22
5.4.70.0370.06016.25
5.4.60.0170.05016.20
5.4.50.0300.06316.30
5.4.40.0200.05016.45
5.4.30.0330.03716.57
5.4.20.0200.05016.30
5.4.10.0100.05316.48
5.4.00.0200.05715.95
5.3.290.0100.06014.53
5.3.280.0170.05014.45
5.3.270.0100.06314.50
5.3.260.0170.06314.42
5.3.250.0100.05314.71
5.3.240.0070.06014.54
5.3.230.0070.06314.48
5.3.220.0230.04314.46
5.3.210.0070.06314.53
5.3.200.0170.05714.42
5.3.190.0200.05014.53
5.3.180.0170.05014.51
5.3.170.0130.05314.67
5.3.160.0100.05714.61
5.3.150.0200.07014.55
5.3.140.0200.05014.53
5.3.130.0200.05014.42
5.3.120.0230.04714.49
5.3.110.0170.05314.54
5.3.100.0130.05713.89
5.3.90.0230.04013.86
5.3.80.0130.05314.12
5.3.70.0200.04713.80
5.3.60.0200.04713.89
5.3.50.0130.05713.82
5.3.40.0030.06313.79
5.3.30.0130.04713.80
5.3.20.0170.06313.54
5.3.10.0070.08013.49
5.3.00.0230.05013.63
5.2.170.0170.04011.00
5.2.160.0170.03711.09
5.2.150.0130.04311.09
5.2.140.0170.03711.29
5.2.130.0100.04310.94
5.2.120.0200.03311.15
5.2.110.0130.04311.04
5.2.100.0170.03710.95
5.2.90.0070.04710.94
5.2.80.0130.04011.25
5.2.70.0130.04311.03
5.2.60.0200.04010.84
5.2.50.0070.04710.86
5.2.40.0070.04710.93
5.2.30.0070.04711.13
5.2.20.0070.04311.05
5.2.10.0130.03710.95
5.2.00.0100.04010.80
5.1.60.0030.0409.97
5.1.50.0170.0309.88
5.1.40.0100.0439.95
5.1.30.0100.04310.31
5.1.20.0130.04010.40
5.1.10.0070.0409.97
5.1.00.0200.0279.96
5.0.50.0070.0278.53
5.0.40.0070.0308.35
5.0.30.0030.0478.20
5.0.20.0030.0308.22
5.0.10.0030.0308.25
5.0.00.0030.0438.18
4.4.90.0030.0235.76
4.4.80.0100.0175.78
4.4.70.0030.0235.81
4.4.60.0070.0205.75
4.4.50.0030.0235.87
4.4.40.0070.0375.83
4.4.30.0030.0235.79
4.4.20.0030.0235.90
4.4.10.0000.0275.90
4.4.00.0100.0305.78
4.3.110.0030.0235.75
4.3.100.0030.0235.77
4.3.90.0100.0175.77
4.3.80.0030.0375.72
4.3.70.0100.0175.65
4.3.60.0070.0205.77
4.3.50.0000.0305.69
4.3.40.0030.0335.64
4.3.30.0100.0134.51
4.3.20.0030.0234.44
4.3.10.0000.0234.41
4.3.00.0070.0277.00

preferences:
48.18 ms | 401 KiB | 5 Q