3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface FileLoader { public function __construct(); public function load($file); } class YamlLoader implements FileLoader { public function load($file) { return yaml_parse_file($file); } }

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.0120.00918.55
8.3.50.0120.00821.27
8.3.40.0140.00718.81
8.3.30.0030.01018.95
8.3.20.0040.00420.27
8.3.10.0040.00423.70
8.3.00.0040.00419.26
8.2.180.0140.00716.75
8.2.170.0150.00622.96
8.2.160.0060.00920.52
8.2.150.0070.00724.18
8.2.140.0070.00024.66
8.2.130.0000.00826.16
8.2.120.0040.00422.23
8.2.110.0100.00022.26
8.2.100.0060.00617.63
8.2.90.0000.00818.85
8.2.80.0040.00417.97
8.2.70.0050.00317.50
8.2.60.0090.00017.90
8.2.50.0000.00818.07
8.2.40.0040.00418.16
8.2.30.0030.00617.92
8.2.20.0060.00317.68
8.2.10.0000.00717.86
8.2.00.0040.00417.67
8.1.280.0130.00625.92
8.1.270.0030.00623.86
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0090.00023.86
8.1.230.0050.00519.16
8.1.220.0000.00717.74
8.1.210.0080.00018.77
8.1.200.0040.00417.23
8.1.190.0080.00016.88
8.1.180.0000.00718.10
8.1.170.0050.00520.28
8.1.160.0040.00421.99
8.1.150.0070.00018.77
8.1.140.0070.00017.45
8.1.130.0030.00317.75
8.1.120.0000.00817.45
8.1.110.0060.00317.42
8.1.100.0020.00517.40
8.1.90.0040.00417.22
8.1.80.0040.00417.25
8.1.70.0030.00317.36
8.1.60.0040.00717.50
8.1.50.0060.00317.45
8.1.40.0040.00417.44
8.1.30.0000.00817.56
8.1.20.0070.00017.49
8.1.10.0050.00217.37
8.1.00.0050.00317.17
8.0.300.0080.00018.77
8.0.290.0000.00816.75
8.0.280.0000.00718.29
8.0.270.0030.00317.10
8.0.260.0000.00817.14
8.0.250.0040.00416.96
8.0.240.0000.00616.92
8.0.230.0040.00416.93
8.0.220.0040.00416.93
8.0.210.0040.00416.90
8.0.200.0030.00316.83
8.0.190.0050.00516.95
8.0.180.0000.00716.86
8.0.170.0040.00416.91
8.0.160.0030.00316.86
8.0.150.0030.00316.75
8.0.140.0000.00716.81
8.0.130.0030.00313.27
8.0.120.0060.00316.74
8.0.110.0040.00416.84
8.0.100.0000.00716.80
8.0.90.0040.00416.73
8.0.80.0060.01316.88
8.0.70.0000.00716.75
8.0.60.0050.00216.94
8.0.50.0000.00716.75
8.0.30.0130.01217.00
8.0.20.0090.01017.40
8.0.10.0040.00416.90
8.0.00.0080.01016.68
7.4.330.0050.00015.09
7.4.320.0000.00716.46
7.4.300.0070.00016.55
7.4.290.0080.00016.53
7.4.280.0050.00216.54
7.4.270.0040.00416.42
7.4.260.0000.00716.48
7.4.250.0040.00416.38
7.4.240.0000.00716.55
7.4.230.0000.00616.50
7.4.220.0110.00716.39
7.4.210.0080.00816.38
7.4.200.0030.00316.52
7.4.160.0130.00716.45
7.4.150.0150.00917.40
7.4.140.0110.00617.86
7.4.130.0060.01116.41
7.4.120.0100.00816.45
7.4.110.0060.01216.45
7.4.100.0090.00916.36
7.4.90.0090.00916.52
7.4.80.0070.01019.39
7.4.70.0090.00916.26
7.4.60.0040.01116.20
7.4.50.0040.00416.52
7.4.40.0110.00716.46
7.4.30.0070.01316.50
7.4.00.0030.01114.87
7.3.330.0040.00212.96
7.3.320.0000.00513.21
7.3.310.0000.00716.27
7.3.300.0060.00016.11
7.3.290.0080.00916.22
7.3.280.0100.00516.20
7.3.270.0060.01217.40
7.3.260.0070.01016.50
7.3.250.0110.00616.44
7.3.240.0170.00316.19
7.3.230.0040.01616.39
7.3.210.0130.00616.53
7.3.200.0100.00719.39
7.3.190.0120.00616.53
7.3.180.0060.01016.31
7.3.170.0100.00616.27
7.3.160.0100.00716.38
7.3.120.0030.01414.73
7.3.110.0140.00314.50
7.3.100.0000.01514.59
7.3.90.0000.01314.75
7.3.80.0100.00314.84
7.3.70.0060.00314.72
7.3.60.0030.01214.76
7.3.50.0000.00914.71
7.3.40.0030.00614.62
7.3.30.0060.00614.72
7.3.20.0000.01316.63
7.3.10.0040.00816.65
7.3.00.0030.00716.41
7.2.330.0110.00916.39
7.2.320.0110.00716.29
7.2.310.0090.00916.39
7.2.300.0080.00816.43
7.2.290.0060.01216.58
7.2.250.0100.01014.73
7.2.240.0100.01014.59
7.2.230.0030.01015.04
7.2.220.0000.01415.05
7.2.210.0060.00915.00
7.2.200.0070.00715.08
7.2.190.0070.00714.84
7.2.180.0090.00314.99
7.2.170.0030.01315.02
7.2.60.0240.01016.87
7.1.330.0040.01115.51
7.1.320.0060.00815.74
7.1.310.0000.01315.72
7.1.300.0000.01515.57
7.1.290.0030.00615.43
7.1.280.0100.00615.66
7.1.270.0100.00715.71
7.1.260.0100.00315.45
7.1.200.0040.01215.38
7.1.100.0040.01118.00
7.1.70.0060.00316.90
7.1.60.0170.00719.32
7.1.50.0070.01316.87
7.1.00.0030.07722.50
7.0.200.0000.01016.57
7.0.140.0030.07322.01
7.0.60.0130.07319.91
7.0.50.0100.03317.87
7.0.40.0100.05720.02
7.0.30.0570.05020.10
7.0.20.0200.04720.33
7.0.10.0170.08320.23
7.0.00.0070.08020.14
5.6.280.0030.06720.79
5.6.210.0070.08720.76
5.6.200.0100.07718.19
5.6.190.0030.04320.64
5.6.180.0230.04020.76
5.6.170.0170.06020.47
5.6.160.0070.04020.62
5.6.150.0070.08318.16
5.6.140.0100.08018.23
5.6.130.0070.09018.18
5.6.120.0030.09721.15
5.6.110.0030.07321.14
5.6.100.0070.08020.98
5.6.90.0100.06721.03
5.6.80.0030.03720.41
5.6.70.4200.04020.58
5.5.350.0300.07320.41
5.5.340.0070.08017.99
5.5.330.0070.04720.27
5.5.320.0330.05720.31
5.5.310.0200.04020.41
5.5.300.0130.04317.96
5.5.290.0030.04017.92
5.5.280.0070.06320.96
5.5.270.0130.08320.76
5.5.260.0070.08320.96
5.5.250.0130.07320.69
5.5.240.0230.06720.36
5.4.450.0730.06019.61
5.4.440.0870.09719.63
5.4.430.0700.06319.61
5.4.420.0170.05019.30
5.4.410.0870.05019.04
5.4.400.0770.05319.02
5.4.390.0530.04319.29
5.4.380.0700.05019.01
5.4.370.0870.05019.14
5.4.360.0830.05719.38
5.4.350.0570.06319.09
5.4.340.0060.03512.02
5.4.320.0090.03412.50
5.4.310.0110.03712.49
5.4.300.0050.03712.50
5.4.290.0070.04112.50
5.4.280.0090.03112.40
5.4.270.0080.03412.39
5.4.260.0040.04012.40
5.4.250.0030.04112.39
5.4.240.0050.03712.39
5.4.230.0030.04012.39
5.4.220.0070.03612.39
5.4.210.0090.03812.39
5.4.200.0090.04012.39
5.4.190.0100.03612.38
5.4.180.0090.03312.38
5.4.170.0060.03612.39
5.4.160.0040.03712.39
5.4.150.0050.03812.39
5.4.140.0050.04012.07
5.4.130.0050.03712.06
5.4.120.0050.03712.02
5.4.110.0050.03612.01
5.4.100.0070.03412.02
5.4.90.0020.04112.01
5.4.80.0060.03612.01
5.4.70.0050.04212.01
5.4.60.0080.03212.01
5.4.50.0050.03512.01
5.4.40.0070.03212.00
5.4.30.0070.03411.99
5.4.20.0060.03511.99
5.4.10.0050.03512.00
5.4.00.0050.03611.48
5.3.290.0070.03812.80
5.3.280.0040.03912.71
5.3.270.0070.03812.72
5.3.260.0050.04112.72
5.3.250.0050.03912.72
5.3.240.0060.03712.72
5.3.230.0060.04812.71
5.3.220.0060.03812.68
5.3.210.0070.04112.68
5.3.200.0060.03812.68
5.3.190.0050.04012.68
5.3.180.0080.03512.67
5.3.170.0070.03812.67
5.3.160.0080.03612.68
5.3.150.0070.03712.67
5.3.140.0050.03712.66
5.3.130.0060.03912.66
5.3.120.0070.03812.66
5.3.110.0050.04012.66
5.3.100.0050.03912.12
5.3.90.0060.03812.11
5.3.80.0060.03512.10
5.3.70.0080.03412.11
5.3.60.0070.03512.08
5.3.50.0150.02812.03
5.3.40.0030.04012.03
5.3.30.0040.03811.98
5.3.20.0070.03411.77
5.3.10.0030.03911.74
5.3.00.0070.03611.73
5.2.170.0050.0319.23
5.2.160.0060.0289.22
5.2.150.0020.0349.23
5.2.140.0040.0329.22
5.2.130.0040.0309.18
5.2.120.0050.0289.18
5.2.110.0060.0309.19
5.2.100.0040.0309.18
5.2.90.0040.0329.18
5.2.80.0080.0319.18
5.2.70.0040.0329.18
5.2.60.0080.0289.14
5.2.50.0070.0299.11
5.2.40.0060.0289.08
5.2.30.0030.0319.05
5.2.20.0070.0269.04
5.2.10.0040.0308.95
5.2.00.0050.0308.81
5.1.60.0050.0248.09
5.1.50.0040.0248.09
5.1.40.0050.0298.07
5.1.30.0040.0278.42
5.1.20.0050.0308.45
5.1.10.0040.0278.17
5.1.00.0050.0248.17
5.0.50.0030.0216.64
5.0.40.0070.0206.50
5.0.30.0030.0336.32
5.0.20.0030.0206.29
5.0.10.0050.0236.27
5.0.00.0060.0296.26
4.4.90.0020.0164.78
4.4.80.0050.0174.75
4.4.70.0020.0164.75
4.4.60.0040.0144.75
4.4.50.0010.0174.77
4.4.40.0040.0254.70
4.4.30.0030.0154.75
4.4.20.0040.0154.84
4.4.10.0060.0174.84
4.4.00.0020.0284.76
4.3.110.0010.0184.66
4.3.100.0030.0154.66
4.3.90.0020.0154.64
4.3.80.0040.0234.59
4.3.70.0030.0144.63
4.3.60.0050.0134.63
4.3.50.0050.0234.63
4.3.40.0020.0244.54
4.3.30.0020.0153.29
4.3.20.0000.0183.26
4.3.10.0020.0163.22
4.3.00.0070.0277.41

preferences:
50.15 ms | 401 KiB | 5 Q