3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo readfile("http://www.xhaus.com/headers"); //needs "Allow_url_include" enabled //OR echo include("http://www.xhaus.com/headers"); //needs "Allow_url_include" enabled //OR echo file_get_contents("http://www.xhaus.com/headers"); //OR echo stream_get_contents(fopen('http://www.xhaus.com/headers', "rb")); //you may use "r" instead of "rb" //needs "Allow_url_fopen" enabled ?>

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.55
8.3.60.0150.00617.00
8.3.50.0130.00821.15
8.3.40.0170.00319.34
8.3.30.0170.00319.04
8.3.20.0100.01020.68
8.3.10.0070.01122.28
8.3.00.0120.00624.03
8.2.180.0140.00717.13
8.2.170.0180.00422.96
8.2.160.0090.00920.64
8.2.150.0160.00324.18
8.2.140.0150.00324.66
8.2.130.0040.00420.87
8.2.120.0070.01326.35
8.2.110.0040.00419.57
8.2.100.0060.00618.17
8.2.90.0050.00319.30
8.2.80.0030.00617.97
8.2.70.0040.00417.75
8.2.60.0050.00317.93
8.2.50.0050.00518.09
8.2.40.0030.00622.43
8.2.30.0040.00419.55
8.2.20.0040.00417.95
8.2.10.0040.00418.14
8.2.00.0040.00418.14
8.1.280.0030.01425.92
8.1.270.0060.01322.34
8.1.260.0100.00728.09
8.1.250.0130.00728.09
8.1.240.0040.00422.78
8.1.230.0080.00317.96
8.1.220.0000.00817.80
8.1.210.0050.00518.77
8.1.200.0080.00317.60
8.1.190.0000.00817.35
8.1.180.0000.00818.10
8.1.170.0040.00418.78
8.1.160.0030.00620.97
8.1.150.0000.00718.95
8.1.140.0040.00419.63
8.1.130.0030.00617.77
8.1.120.0030.00617.63
8.1.110.0050.00217.51
8.1.100.0030.00317.54
8.1.90.0000.00717.51
8.1.80.0000.00817.52
8.1.70.0030.00317.45
8.1.60.0000.00917.69
8.1.50.0030.00617.62
8.1.40.0060.00617.68
8.1.30.0030.00617.75
8.1.20.0000.00917.65
8.1.10.0000.00717.71
8.1.00.0000.00817.65
8.0.300.0090.00019.03
8.0.290.0050.00316.88
8.0.280.0030.00618.71
8.0.270.0000.00717.52
8.0.260.0030.00317.52
8.0.250.0000.00717.17
8.0.240.0030.00617.32
8.0.230.0000.00717.26
8.0.220.0000.00717.14
8.0.210.0040.00417.25
8.0.200.0000.01017.17
8.0.190.0040.00417.19
8.0.180.0040.00417.22
8.0.170.0080.00017.20
8.0.160.0050.00317.12
8.0.150.0070.00017.07
8.0.140.0000.00717.01
8.0.130.0030.00313.86
8.0.120.0000.00917.29
8.0.110.0000.00817.19
8.0.100.0030.00517.24
8.0.90.0040.00417.14
8.0.80.0120.00617.20
8.0.70.0040.00417.08
8.0.60.0040.00417.21
8.0.50.0030.00617.13
8.0.30.0100.01117.29
8.0.20.0150.00717.43
8.0.10.0040.00417.30
8.0.00.0160.00717.04
7.4.330.0000.00517.17
7.4.320.0000.00616.77
7.4.300.0040.00416.73
7.4.290.0030.00316.73
7.4.280.0000.00716.70
7.4.270.0030.00316.67
7.4.260.0000.00816.61
7.4.250.0080.00016.68
7.4.240.0030.00616.80
7.4.230.0040.00416.91
7.4.220.0160.00316.85
7.4.210.0080.01016.79
7.4.200.0030.00516.84
7.4.160.0090.00916.64
7.4.150.0170.00417.40
7.4.140.0130.00817.86
7.4.130.0070.01216.73
7.4.120.0090.00916.66
7.4.110.0060.01316.81
7.4.100.0110.01116.72
7.4.90.0070.01116.62
7.4.80.0060.01219.39
7.4.70.0350.01616.64
7.4.60.0140.00416.57
7.4.50.0080.00816.40
7.4.40.0080.00816.68
7.4.30.0130.00616.75
7.4.10.0100.01015.26
7.4.00.0050.01215.15
7.3.330.0000.00513.54
7.3.320.0050.00013.29
7.3.310.0030.00516.61
7.3.300.0070.00016.48
7.3.290.0040.00416.47
7.3.280.0110.00816.51
7.3.270.0110.00617.40
7.3.260.0090.00916.52
7.3.250.0100.01016.52
7.3.240.0080.01316.71
7.3.230.0130.00716.71
7.3.210.0100.01016.52
7.3.200.0110.00619.39
7.3.190.0100.00716.70
7.3.180.0120.00616.54
7.3.170.0070.01116.62
7.3.160.0140.00316.52
7.3.130.0060.00914.98
7.3.120.0060.01015.09
7.3.110.0100.01014.80
7.3.100.0060.00914.96
7.3.90.0070.00714.88
7.3.80.0070.00715.04
7.3.70.0070.01014.82
7.3.60.0060.01014.97
7.3.50.0080.00614.73
7.3.40.0120.00314.71
7.3.30.0030.01315.06
7.3.20.0090.00916.95
7.3.10.0080.00316.85
7.3.00.0110.00316.72
7.2.330.0120.00816.63
7.2.320.0100.01316.89
7.2.310.0080.01116.57
7.2.300.0120.00616.58
7.2.290.0110.00616.64
7.2.260.0090.01214.84
7.2.250.0120.00715.09
7.2.240.0070.01114.85
7.2.230.0090.00615.02
7.2.220.0030.01415.14
7.2.210.0160.00315.28
7.2.200.0030.00814.96
7.2.190.0030.01015.06
7.2.180.0060.00915.14
7.2.170.0030.00615.09
7.2.160.0030.01215.35
7.2.150.0030.01017.24
7.2.140.0000.01516.97
7.2.130.0110.00316.90
7.2.120.0090.01216.80
7.2.110.0160.00017.20
7.2.100.0030.01416.95
7.2.90.0090.00917.23
7.2.80.0090.00916.61
7.2.70.0150.00417.24
7.2.60.0080.00817.05
7.2.50.0030.01316.95
7.2.40.0060.00917.24
7.2.30.0040.01116.88
7.2.20.0090.00616.98
7.2.10.0070.00716.84
7.2.00.0100.00316.86
7.1.330.0090.00615.82
7.1.320.0060.00616.14
7.1.310.0000.00916.00
7.1.300.0080.00016.02
7.1.290.0060.00915.64
7.1.280.0070.00715.91
7.1.270.0060.00615.69
7.1.260.0060.00815.92
7.1.250.0040.00715.91
7.1.240.0030.01315.91
7.1.230.0120.00815.93
7.1.220.0030.00615.58
7.1.210.0060.00915.95
7.1.200.0040.00615.91
7.1.190.0080.01215.65
7.1.180.0000.01715.86
7.1.170.0000.01316.09
7.1.160.0040.00815.89
7.1.150.0090.00315.68
7.1.140.0130.00016.05
7.1.130.0030.01215.72
7.1.120.0110.00015.92
7.1.110.0060.00616.22
7.1.100.0030.00817.18
7.1.90.0060.00315.97
7.1.80.0100.00716.07
7.1.70.0030.01116.69
7.1.60.0110.00617.63
7.1.50.0020.01316.50
7.1.40.0060.00916.09
7.1.30.0070.00415.83
7.1.20.0040.00815.70
7.1.10.0100.00315.96
7.1.00.0030.04519.38
7.0.330.0030.00915.62
7.0.320.0040.00715.27
7.0.310.0000.01215.71
7.0.300.0090.00015.52
7.0.290.0070.01115.71
7.0.280.0070.00415.39
7.0.270.0060.00915.57
7.0.260.0030.00815.77
7.0.250.0000.01515.84
7.0.240.0000.00915.45
7.0.230.0080.00815.61
7.0.220.0070.00815.76
7.0.210.0000.01515.55
7.0.200.0210.00515.01
7.0.190.0070.01015.68
7.0.180.0090.00615.23
7.0.170.0000.01215.62
7.0.160.0070.00715.62
7.0.150.0110.00415.48
7.0.140.0030.01315.55
7.0.130.0130.00315.54
7.0.120.0070.00715.77
7.0.110.0070.00415.16
7.0.100.0040.01215.27
7.0.90.0100.00615.65
7.0.80.0110.00415.46
7.0.70.0000.01415.52
7.0.60.0220.04217.99
7.0.50.0120.03216.97
7.0.40.0040.04417.08
7.0.30.0230.03817.12
7.0.20.0190.03217.05
7.0.10.0080.03717.16
7.0.00.0050.03516.93
5.6.400.0000.01414.43
5.6.390.0060.00914.19
5.6.380.0110.00314.29
5.6.370.0030.00614.65
5.6.360.0110.00614.33
5.6.350.0110.00714.59
5.6.340.0060.01014.37
5.6.330.0060.00914.63
5.6.320.0030.01014.61
5.6.310.0040.01114.36
5.6.300.0060.00614.17
5.6.290.0070.01014.48
5.6.280.0050.03117.87
5.6.270.0030.01014.30
5.6.260.0100.00714.56
5.6.250.0030.01314.56
5.6.240.0070.01014.54
5.6.230.0100.00714.56
5.6.220.0030.00914.45
5.6.210.0050.03717.66
5.6.200.0100.04616.51
5.6.190.0060.02617.71
5.6.180.0190.02117.79
5.6.170.0150.04717.54
5.6.160.0070.02417.59
5.6.150.0080.02516.57
5.6.140.0030.02616.50
5.6.130.0100.02216.48
5.6.120.0070.04417.85
5.6.110.0080.02717.72
5.6.100.0050.04517.86
5.6.90.0080.04717.80
5.6.80.0110.03917.63
5.6.70.0030.01014.27
5.6.60.0030.00914.09
5.6.50.0030.00614.30
5.6.40.0060.01214.67
5.6.30.0030.01214.66
5.6.20.0070.00714.43
5.6.10.0030.00914.11
5.6.00.0040.01114.36
5.5.380.0060.00914.16
5.5.370.0070.01014.54
5.5.360.0030.01614.13
5.5.350.0200.03917.44
5.5.340.0110.03516.48
5.5.330.0080.02817.73
5.5.320.0270.02917.39
5.5.310.0100.02717.47
5.5.300.0020.02716.47
5.5.290.0080.03516.46
5.5.280.0010.05117.86
5.5.270.0030.03017.67
5.5.260.0080.04517.79
5.5.250.0060.04117.65
5.5.240.0090.03717.53
5.5.230.0030.01014.34
5.5.220.0000.01714.57
5.5.210.0080.01214.16
5.5.200.0100.00314.29
5.5.190.0070.00314.53
5.5.180.0030.00614.46
5.5.170.0030.01314.25
5.5.160.0060.00914.52
5.5.150.0130.00314.25
5.5.140.0150.00314.34
5.5.130.0090.00014.09
5.5.120.0100.00314.10
5.5.110.0030.00714.32
5.5.100.0000.01313.94
5.5.90.0060.00914.24
5.5.80.0080.00514.13
5.5.70.0040.01514.11
5.5.60.0080.00714.25
5.5.50.0030.01314.31
5.5.40.0030.00914.41
5.5.30.0030.01013.99
5.5.20.0060.00913.80
5.5.10.0060.00314.18
5.5.00.0070.00714.19

preferences:
60.95 ms | 401 KiB | 5 Q