3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = tempnam('.', 'test'); $fh = fopen($file, 'w+'); fwrite($fh, '[first_section] one = 1 five = 5 animal = BIRD [second_section] path = "/usr/local/bin" URL = "http://www.example.com/~username" [third_section] phpversion[0] = "5.0" phpversion[1] = "5.1" phpversion[2] = "5.2" phpversion[3] = "5.3" '); fclose($fh); // Parse with sections $ini_array = parse_ini_file($file, true); print_r($ini_array);

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.0160.00016.63
8.3.50.0180.00018.05
8.3.40.0190.00318.96
8.3.30.0000.01419.04
8.3.20.0030.00620.25
8.3.10.0030.00520.56
8.3.00.0080.00019.25
8.2.180.0100.00716.63
8.2.170.0110.00322.96
8.2.160.0080.00619.25
8.2.150.0000.00724.18
8.2.140.0050.00324.66
8.2.130.0050.00226.16
8.2.120.0030.00522.14
8.2.110.0080.00022.21
8.2.100.0090.00317.59
8.2.90.0030.00619.27
8.2.80.0040.00417.97
8.2.70.0030.00517.50
8.2.60.0060.00317.91
8.2.50.0070.00318.07
8.2.40.0030.00917.91
8.2.30.0070.00019.43
8.2.20.0040.00417.63
8.2.10.0040.00418.01
8.2.00.0040.00417.56
8.1.280.0170.00325.92
8.1.270.0030.00622.04
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0000.01023.84
8.1.230.0080.00319.17
8.1.220.0030.00517.74
8.1.210.0090.00018.77
8.1.200.0090.00017.13
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0000.00818.54
8.1.160.0050.00221.95
8.1.150.0000.00918.77
8.1.140.0040.00417.32
8.1.130.0000.00717.71
8.1.120.0030.00417.45
8.1.110.0030.00517.39
8.1.100.0000.00717.42
8.1.90.0000.00717.36
8.1.80.0040.00417.29
8.1.70.0030.00617.28
8.1.60.0000.00817.50
8.1.50.0040.00417.54
8.1.40.0000.00817.42
8.1.30.0040.00417.57
8.1.20.0040.00417.67
8.1.10.0040.00417.46
8.1.00.0030.00617.54
8.0.300.0080.00018.77
8.0.290.0070.00016.88
8.0.280.0030.00318.36
8.0.270.0030.00317.35
8.0.260.0030.00317.26
8.0.250.0070.00017.06
8.0.240.0000.00717.02
8.0.230.0000.00717.04
8.0.220.0070.00017.05
8.0.210.0030.00316.86
8.0.200.0040.00416.95
8.0.190.0000.00717.08
8.0.180.0000.00716.94
8.0.170.0040.00417.01
8.0.160.0040.00416.90
8.0.150.0000.00716.81
8.0.140.0050.00216.82
8.0.130.0030.00313.45
8.0.120.0080.00016.80
8.0.110.0000.00816.97
8.0.100.0050.00317.01
8.0.90.0050.00316.96
8.0.80.0080.00816.93
8.0.70.0040.00416.84
8.0.60.0040.00416.98
8.0.50.0040.00416.95
8.0.30.0110.00816.97
8.0.20.0140.01117.40
8.0.10.0000.00716.91
8.0.00.0110.00616.71
7.4.330.0000.00615.21
7.4.320.0030.00316.45
7.4.300.0030.00316.54
7.4.290.0000.00716.59
7.4.280.0030.00516.36
7.4.270.0000.00816.43
7.4.260.0030.00316.52
7.4.250.0000.00816.51
7.4.240.0040.00416.44
7.4.230.0030.00316.57
7.4.220.0090.00916.44
7.4.210.0100.01016.37
7.4.200.0000.00716.36
7.4.160.0160.00016.49
7.4.150.0170.00017.40
7.4.140.0070.01117.86
7.4.130.0050.01116.59
7.4.120.0100.00916.38
7.4.110.0080.00916.39
7.4.100.0030.01316.48
7.4.90.0100.00616.44
7.4.80.0090.00919.39
7.4.70.0030.01316.32
7.4.60.0110.00416.56
7.4.50.0000.00816.07
7.4.40.0070.01716.46
7.4.30.0080.00816.44
7.4.00.0070.01014.78
7.3.330.0000.00513.17
7.3.320.0030.00313.09
7.3.310.0030.00316.34
7.3.300.0070.00016.27
7.3.290.0100.00316.28
7.3.280.0070.00816.31
7.3.270.0090.01217.40
7.3.260.0100.00716.29
7.3.250.0090.00716.17
7.3.240.0070.01016.45
7.3.230.0030.01416.39
7.3.210.0000.01716.33
7.3.200.0120.00619.39
7.3.190.0060.01216.38
7.3.180.0030.01416.30
7.3.170.0120.00316.36
7.3.160.0060.00916.14
7.2.330.0210.00016.38
7.2.320.0130.00616.55
7.2.310.0090.01316.46
7.2.300.0130.01016.55
7.2.290.0060.00916.45
7.2.80.0060.00616.63
7.2.60.0130.00316.84
7.2.00.0040.00819.22
7.1.200.0100.00315.55
7.1.100.0040.00418.20
7.1.70.0000.01017.21
7.1.60.0070.01819.12
7.1.50.0090.01517.05
7.1.00.0070.07322.54
7.0.200.0070.00316.73
7.0.140.0100.06722.16
7.0.60.0130.07019.79
7.0.50.0030.09017.88
7.0.40.0070.07720.11
7.0.30.0270.04720.18
7.0.20.0300.07320.08
7.0.10.0170.05020.16
7.0.00.0130.07320.16
5.6.280.0100.06720.82
5.6.210.0070.08020.71
5.6.200.0070.04718.16
5.6.190.0130.06320.48
5.6.180.0130.05320.64
5.6.170.0130.08720.55
5.6.160.0070.08020.64
5.6.150.0130.07318.29
5.6.140.0070.05318.23
5.6.130.0100.08018.25
5.6.120.0030.04721.01
5.6.110.0030.07320.99
5.6.100.0030.05021.05
5.6.90.0070.08321.12
5.6.80.0200.07020.41
5.6.70.4370.03720.25
5.5.350.0330.07020.44
5.5.340.0100.07718.11
5.5.330.0030.05020.28
5.5.320.0100.07320.28
5.5.310.0230.07320.28
5.5.300.0100.04317.99
5.5.290.0070.03718.15
5.5.280.0170.07320.97
5.5.270.0070.07020.84
5.5.260.0030.09020.65
5.5.250.0070.07320.61
5.5.240.0330.07020.16
5.4.450.0470.05019.45
5.4.440.0230.05019.64
5.4.430.0400.03319.54
5.4.420.0300.04319.52
5.4.410.0230.04319.45
5.4.400.0200.04319.45
5.4.390.0600.04719.45
5.4.380.0330.05718.56
5.4.370.0530.04318.50
5.4.360.0230.05718.84
5.4.350.0400.04718.82
5.4.340.0470.05018.80
5.4.320.0070.03512.51
5.4.310.0080.03712.51
5.4.300.0060.03712.51
5.4.290.0090.03912.50
5.4.280.0060.03612.41
5.4.270.0090.03412.40
5.4.260.0030.04112.40
5.4.250.0070.03712.41
5.4.240.0100.03312.40
5.4.230.0040.04012.39
5.4.220.0080.03412.40
5.4.210.0070.03412.40
5.4.200.0040.04112.40
5.4.190.0100.04512.39
5.4.180.0110.03512.39
5.4.170.0050.03712.41
5.4.160.0070.03512.40
5.4.150.0070.03512.39
5.4.140.0080.03512.08
5.4.130.0070.03512.07
5.4.120.0070.04112.03
5.4.110.0070.03612.02
5.4.100.0080.03312.02
5.4.90.0060.03612.02
5.4.80.0080.03812.03
5.4.70.0070.03712.02
5.4.60.0090.03412.02
5.4.50.0080.04112.02
5.4.40.0080.03312.00
5.4.30.0080.03312.00
5.4.20.0080.03412.00
5.4.10.0040.03612.00
5.4.00.0070.03511.49
5.3.290.0070.05212.80
5.3.280.0090.03512.70
5.3.270.0080.03812.73
5.3.260.0080.03812.72
5.3.250.0080.03612.72
5.3.240.0060.03712.72
5.3.230.0060.03812.71
5.3.220.0070.03712.68
5.3.210.0090.03612.68
5.3.200.0080.03612.68
5.3.190.0060.04212.68
5.3.180.0090.05112.67
5.3.170.0070.03712.67
5.3.160.0080.03512.67
5.3.150.0070.04012.67
5.3.140.0060.04512.66
5.3.130.0110.05112.66
5.3.120.0080.03912.66
5.3.110.0070.04012.66
5.3.100.0080.03512.14
5.3.90.0110.03812.11
5.3.80.0080.03612.10
5.3.70.0080.03712.11
5.3.60.0080.03912.09
5.3.50.0080.04212.04
5.3.40.0090.04612.04
5.3.30.0080.03511.99
5.3.20.0060.03611.77
5.3.10.0070.04211.74
5.3.00.0070.03711.73
5.2.170.0060.0309.26
5.2.160.0050.0309.26
5.2.150.0040.0359.26
5.2.140.0050.0309.25
5.2.130.0060.0289.21
5.2.120.0100.0349.21
5.2.110.0030.0329.22
5.2.100.0020.0319.21
5.2.90.0050.0319.22
5.2.80.0020.0339.21
5.2.70.0020.0349.21
5.2.60.0050.0309.17
5.2.50.0080.0289.14
5.2.40.0070.0279.11
5.2.30.0050.0299.09
5.2.20.0070.0279.08
5.2.10.0070.0278.98
5.2.00.0060.0298.84
5.1.60.0100.0318.13
5.1.50.0080.0278.12
5.1.40.0040.0248.11
5.1.30.0030.0278.46
5.1.20.0040.0268.48
5.1.10.0040.0348.20
5.1.00.0070.0338.20
5.0.50.0070.0276.67
5.0.40.0060.0206.53
5.0.30.0030.0376.35
5.0.20.0060.0176.31
5.0.10.0040.0196.29
5.0.00.0040.0306.29
4.4.90.0030.0164.78
4.4.80.0060.0124.75
4.4.70.0020.0174.75
4.4.60.0060.0124.75
4.4.50.0010.0174.77
4.4.40.0060.0224.71
4.4.30.0040.0144.76
4.4.20.0040.0144.84
4.4.10.0040.0144.85
4.4.00.0030.0254.76
4.3.110.0050.0134.67
4.3.100.0010.0174.66
4.3.90.0060.0114.63
4.3.80.0050.0224.58
4.3.70.0020.0154.63
4.3.60.0030.0184.63
4.3.50.0040.0204.63
4.3.40.0050.0264.53
4.3.30.0010.0173.30
4.3.20.0000.0183.28
4.3.10.0030.0173.23
4.3.00.0100.01019.45

preferences:
27.43 ms | 400 KiB | 5 Q