3v4l.org

run code in 300+ PHP versions simultaneously
<?php $constants = array( 'INI_USER' => INI_USER, 'INI_PERDIR' => INI_PERDIR, 'INI_SYSTEM' => INI_SYSTEM, 'INI_ALL' => INI_ALL, ); var_dump($constants); $ini_options = ini_get_all(); var_dump(($ini_options['allow_url_fopen']['access'] & INI_SYSTEM) === INI_SYSTEM); var_dump(($ini_options['allow_url_fopen']['access'] & INI_PERDIR) === INI_PERDIR);

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.0040.01118.30
8.3.50.0120.00921.95
8.3.40.0180.00418.89
8.3.30.0030.01019.04
8.3.20.0000.00820.13
8.3.10.0030.00620.57
8.3.00.0030.00619.32
8.2.180.0140.00318.18
8.2.170.0120.00922.96
8.2.160.0120.00320.56
8.2.150.0000.00924.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00322.03
8.2.110.0090.00020.51
8.2.100.0080.00818.28
8.2.90.0040.00419.38
8.2.80.0030.00517.97
8.2.70.0060.00317.88
8.2.60.0050.00318.16
8.2.50.0080.00018.07
8.2.40.0030.00518.34
8.2.30.0040.00419.32
8.2.20.0050.00317.66
8.2.10.0040.00418.11
8.2.00.0000.00817.82
8.1.280.0040.01425.92
8.1.270.0000.00822.23
8.1.260.0000.00826.35
8.1.250.0030.00528.09
8.1.240.0030.00623.79
8.1.230.0060.00719.28
8.1.220.0000.00917.78
8.1.210.0000.01218.77
8.1.200.0060.00317.22
8.1.190.0000.00817.22
8.1.180.0090.00018.10
8.1.170.0110.00518.39
8.1.160.0040.00421.99
8.1.150.0040.00418.96
8.1.140.0080.00017.48
8.1.130.0040.00417.83
8.1.120.0040.00417.35
8.1.110.0000.00817.41
8.1.100.0070.00017.51
8.1.90.0040.00417.47
8.1.80.0000.00717.55
8.1.70.0070.00017.45
8.1.60.0040.00417.63
8.1.50.0030.00917.57
8.1.40.0040.00417.50
8.1.30.0040.00417.58
8.1.20.0030.00517.67
8.1.10.0040.00417.57
8.1.00.0000.00817.56
8.0.300.0040.00418.77
8.0.290.0050.00216.75
8.0.280.0070.00018.50
8.0.270.0060.00317.20
8.0.260.0050.00317.26
8.0.250.0030.00316.93
8.0.240.0030.00317.00
8.0.230.0070.00016.88
8.0.220.0000.00816.88
8.0.210.0070.00016.96
8.0.200.0000.00716.90
8.0.190.0000.00716.88
8.0.180.0080.00016.98
8.0.170.0040.00416.98
8.0.160.0000.00716.87
8.0.150.0000.00716.91
8.0.140.0070.00316.92
8.0.130.0030.00313.21
8.0.120.0050.00316.82
8.0.110.0000.00816.87
8.0.100.0040.00416.95
8.0.90.0040.00416.87
8.0.80.0120.00316.87
8.0.70.0000.00716.79
8.0.60.0050.00316.79
8.0.50.0040.00416.74
8.0.30.0120.00617.21
8.0.20.0150.00817.40
8.0.10.0030.00616.92
8.0.00.0110.01116.79
7.4.330.0030.00315.07
7.4.320.0000.00616.56
7.4.300.0000.00716.55
7.4.290.0000.00716.62
7.4.280.0070.00316.68
7.4.270.0040.00416.61
7.4.260.0070.00016.57
7.4.250.0000.00816.64
7.4.240.0050.00216.67
7.4.230.0040.00416.67
7.4.220.0110.00716.61
7.4.210.0070.00716.71
7.4.200.0040.00416.45
7.4.160.0060.00916.55
7.4.150.0090.01017.40
7.4.140.0120.01017.86
7.4.130.0130.00516.58
7.4.120.0110.00816.53
7.4.110.0100.01416.63
7.4.100.0090.01216.57
7.4.90.0090.00916.43
7.4.80.0030.01418.80
7.4.70.0090.00916.66
7.4.60.0040.01416.44
7.4.50.0050.00016.26
7.4.40.0070.01016.64
7.4.30.0050.01116.59
7.4.00.0090.00615.27
7.3.330.0030.00413.23
7.3.320.0000.00513.32
7.3.310.0040.00416.43
7.3.300.0000.00716.37
7.3.290.0090.01016.32
7.3.280.0070.00916.37
7.3.270.0040.01317.40
7.3.260.0090.00916.61
7.3.250.0060.01116.31
7.3.240.0060.01116.39
7.3.230.0090.00916.43
7.3.210.0110.00716.57
7.3.200.0030.01519.39
7.3.190.0070.01416.24
7.3.180.0060.01016.48
7.3.170.0100.01116.48
7.3.160.0100.00616.31
7.2.330.0090.00916.52
7.2.320.0110.00616.70
7.2.310.0100.00716.82
7.2.300.0040.01216.71
7.2.290.0100.00616.72
7.2.80.0030.00616.59
7.2.60.0060.00616.96
7.2.50.0090.00716.86
7.1.200.0030.00615.67
7.1.70.0030.00317.09
7.1.60.0070.01719.32
7.1.50.0070.02116.88
7.1.00.0070.07322.31
7.0.200.0040.00416.78
7.0.140.0030.07022.07
7.0.60.0070.08319.85
7.0.50.0130.07717.96
7.0.40.0030.06320.04
7.0.30.0230.06320.21
7.0.20.0200.07020.13
7.0.10.0000.09320.38
7.0.00.0130.05720.32
5.6.280.0030.07021.10
5.6.210.0030.05320.74
5.6.200.0130.03018.22
5.6.190.0000.04720.45
5.6.180.0400.05020.49
5.6.170.0100.05020.49
5.6.160.0100.08720.70
5.6.150.0070.07718.09
5.6.140.0030.05318.26
5.6.130.0100.05318.12
5.6.120.0130.08320.99
5.6.110.0000.06721.02
5.6.100.0070.06321.04
5.6.90.0130.08721.15
5.6.80.0030.03720.45
5.5.350.0130.08320.44
5.5.340.0130.04317.93
5.5.330.0130.04320.37
5.5.320.0500.06020.18
5.5.310.0370.06720.27
5.5.300.0030.07017.89
5.5.290.0170.06317.99
5.5.280.0030.08720.90
5.5.270.0130.07020.97
5.5.260.0100.03720.92
5.5.250.0070.08020.83
5.5.240.0130.06720.10
5.4.450.0270.04019.41
5.4.440.0970.06019.14
5.4.430.0970.05019.31
5.4.420.0670.00019.68
5.4.410.0670.00019.14
5.4.400.0630.00018.85
5.4.390.0630.00019.07
5.4.380.0370.07318.84
5.4.370.0400.04318.82
5.4.360.0330.06318.81
5.4.350.0330.05318.75
5.4.340.0400.05718.75
5.4.320.0090.03412.59
5.4.310.0080.03712.59
5.4.300.0050.03912.59
5.4.290.0110.03512.59
5.4.280.0060.03612.48
5.4.270.0040.03712.48
5.4.260.0060.03712.48
5.4.250.0060.03912.48
5.4.240.0070.03312.48
5.4.230.0120.03012.47
5.4.220.0050.03612.47
5.4.210.0090.03112.48
5.4.200.0060.03712.47
5.4.190.0050.03812.47
5.4.180.0090.04012.47
5.4.170.0050.03712.48
5.4.160.0030.03812.47
5.4.150.0100.03412.47
5.4.140.0050.03712.15
5.4.130.0100.03112.14
5.4.120.0040.03712.10
5.4.110.0060.03512.10
5.4.100.0040.03612.10
5.4.90.0040.03812.10
5.4.80.0030.04012.10
5.4.70.0050.03412.09
5.4.60.0090.03112.09
5.4.50.0060.03512.09
5.4.40.0030.03712.08
5.4.30.0120.02912.08
5.4.20.0030.03712.08
5.4.10.0060.03312.08
5.4.00.0030.03711.57
5.3.290.0030.04212.84
5.3.280.0040.03912.77
5.3.270.0070.03712.78
5.3.260.0060.03812.78
5.3.250.0060.03712.78
5.3.240.0050.03812.78
5.3.230.0060.03712.77
5.3.220.0070.03612.74
5.3.210.0080.03612.74
5.3.200.0040.03812.73
5.3.190.0070.03612.74
5.3.180.0100.03112.73
5.3.170.0080.03312.74
5.3.160.0070.03512.75
5.3.150.0060.03712.74
5.3.140.0060.03512.73
5.3.130.0080.03612.72
5.3.120.0060.03812.72
5.3.110.0040.04212.72
5.3.100.0050.03712.21
5.3.90.0070.03612.19
5.3.80.0030.03812.19
5.3.70.0050.03912.18
5.3.60.0070.04012.18
5.3.50.0050.03712.12
5.3.40.0080.03412.12
5.3.30.0030.03912.08
5.3.20.0060.03711.86
5.3.10.0050.03511.82
5.3.00.0050.03711.81
5.2.170.0080.0339.30
5.2.160.0050.0299.30
5.2.150.0050.0329.30
5.2.140.0020.0339.29
5.2.130.0040.0319.25
5.2.120.0060.0339.25
5.2.110.0020.0349.26
5.2.100.0060.0349.26
5.2.90.0040.0299.26
5.2.80.0040.0339.26
5.2.70.0030.0349.25
5.2.60.0050.0309.21
5.2.50.0040.0339.18
5.2.40.0030.0319.15
5.2.30.0060.0319.13
5.2.20.0060.0299.12
5.2.10.0080.0269.04
5.2.00.0030.0328.89
5.1.60.0060.0228.21
5.1.50.0040.0288.21
5.1.40.0050.0278.18
5.1.30.0030.0318.54
5.1.20.0060.0248.56
5.1.10.0010.0298.28
5.1.00.0060.0248.28
5.0.50.0020.0226.75
5.0.40.0040.0206.61
5.0.30.0050.0386.43
5.0.20.0040.0216.40
5.0.10.0050.0196.38
5.0.00.0030.0326.36
4.4.90.0050.0144.77
4.4.80.0030.0154.76
4.4.70.0050.0134.75
4.4.60.0020.0164.76
4.4.50.0030.0154.77
4.4.40.0050.0234.74
4.4.30.0020.0164.76
4.4.20.0040.0144.85
4.4.10.0050.0214.85
4.4.00.0030.0274.77
4.3.110.0060.0134.68
4.3.100.0020.0224.67
4.3.90.0020.0154.66
4.3.80.0030.0244.65
4.3.70.0020.0154.64
4.3.60.0030.0154.65
4.3.50.0040.0164.64
4.3.40.0030.0234.60
4.3.30.0010.0193.41
4.3.20.0040.0173.38
4.3.10.0060.0133.34
4.3.00.0200.01716.39

preferences:
48.47 ms | 401 KiB | 5 Q