3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test extends SplFileInfo{ public function f(){} } $fit = new SplFileInfo(__FILE__); $fit->setInfoClass("test"); var_dump($fit->getFileInfo());

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.0100.00318.31
8.3.50.0090.00722.88
8.3.40.0140.00018.49
8.3.30.0100.00318.84
8.3.20.0000.00720.13
8.3.10.0030.00718.28
8.3.00.0080.00019.26
8.2.180.0030.01216.75
8.2.170.0120.00322.96
8.2.160.0080.00820.41
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0070.00021.16
8.2.110.0000.01022.25
8.2.100.0000.01117.78
8.2.90.0030.00619.14
8.2.80.0050.00317.97
8.2.70.0040.00417.63
8.2.60.0080.00017.78
8.2.50.0050.00318.07
8.2.40.0040.00418.03
8.2.30.0000.00719.38
8.2.20.0000.00717.50
8.2.10.0040.00417.95
8.2.00.0040.00417.67
8.1.280.0100.00325.92
8.1.270.0030.00623.76
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0070.00323.71
8.1.230.0070.00319.10
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0080.00317.13
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0030.00518.40
8.1.160.0000.00721.95
8.1.150.0080.00018.77
8.1.140.0040.00417.26
8.1.130.0030.00317.83
8.1.120.0030.00317.45
8.1.110.0030.00517.36
8.1.100.0000.00817.38
8.1.90.0000.00717.38
8.1.80.0000.00717.39
8.1.70.0030.00317.28
8.1.60.0000.00817.44
8.1.50.0040.00417.38
8.1.40.0000.00717.37
8.1.30.0050.00317.46
8.1.20.0040.00417.49
8.1.10.0060.00317.39
8.1.00.0040.00417.43
8.0.300.0080.00018.77
8.0.290.0050.00316.63
8.0.280.0030.00318.37
8.0.270.0070.00017.26
8.0.260.0060.00017.10
8.0.250.0070.00016.93
8.0.240.0050.00316.79
8.0.230.0030.00316.86
8.0.220.0030.00316.71
8.0.210.0000.00716.71
8.0.200.0040.00416.90
8.0.190.0040.00416.85
8.0.180.0000.00716.86
8.0.170.0030.00516.89
8.0.160.0000.00716.88
8.0.150.0000.00716.72
8.0.140.0000.00816.75
8.0.130.0030.00313.31
8.0.120.0000.00816.80
8.0.110.0000.00716.86
8.0.100.0040.00416.89
8.0.90.0000.00816.68
8.0.80.0040.01116.88
8.0.70.0060.00316.70
8.0.60.0040.00416.66
8.0.50.0000.00716.82
8.0.30.0100.00917.09
8.0.20.0090.00917.40
8.0.10.0040.00416.78
8.0.00.0140.00616.79
7.4.330.0000.00615.02
7.4.320.0060.00016.36
7.4.300.0030.00316.53
7.4.290.0030.00316.54
7.4.280.0000.00816.43
7.4.270.0000.00716.51
7.4.260.0060.00316.52
7.4.250.0000.00716.55
7.4.240.0050.00216.51
7.4.230.0030.00316.64
7.4.220.0070.01116.51
7.4.210.0070.01116.48
7.4.200.0000.00716.57
7.4.160.0130.00616.34
7.4.150.0150.00317.40
7.4.140.0110.00917.86
7.4.130.0070.01216.41
7.4.120.0120.00516.28
7.4.110.0080.00916.64
7.4.100.0090.00916.54
7.4.90.0100.00716.41
7.4.80.0070.01419.39
7.4.70.0150.00616.43
7.4.60.0030.01316.55
7.4.50.0040.00016.40
7.4.40.0070.01016.50
7.4.30.0130.00616.38
7.4.00.0030.01014.98
7.3.330.0030.00313.15
7.3.320.0000.00513.18
7.3.310.0070.00016.16
7.3.300.0030.00316.18
7.3.290.0030.01016.17
7.3.280.0080.00716.18
7.3.270.0140.00517.40
7.3.260.0110.00816.39
7.3.250.0110.00716.32
7.3.240.0080.00916.38
7.3.230.0030.01416.42
7.3.210.0080.00916.23
7.3.200.0060.00919.39
7.3.190.0130.01016.19
7.3.180.0030.01316.45
7.3.170.0060.01216.53
7.3.160.0100.00616.15
7.2.330.0030.01616.63
7.2.320.0080.00816.18
7.2.310.0190.00316.27
7.2.300.0160.00616.29
7.2.290.0110.00616.18
7.1.100.0030.01417.80
7.1.70.0030.00616.99
7.1.60.0060.01919.61
7.1.50.0060.01616.97
7.1.00.0030.07722.31
7.0.200.0030.00716.36
7.0.140.0070.06322.08
7.0.60.0000.08719.93
7.0.50.0030.08717.87
7.0.40.0030.07720.10
7.0.30.0300.03720.12
7.0.20.0270.08320.24
7.0.10.0270.04320.22
7.0.00.0130.07320.16
5.6.280.0030.07320.87
5.6.210.0100.07020.51
5.6.200.0000.05318.19
5.6.190.0130.06320.39
5.6.180.0430.06020.52
5.6.170.0300.06020.52
5.6.160.0170.04020.48
5.6.150.0100.05018.15
5.6.140.0100.05018.15
5.6.130.0170.07718.20
5.6.120.0170.07720.89
5.6.110.0230.07721.12
5.6.100.0070.08320.98
5.6.90.0030.04320.85
5.6.80.0170.07020.49
5.5.350.0270.07320.41
5.5.340.0170.06018.01
5.5.330.0070.07720.41
5.5.320.0400.07720.44
5.5.310.0230.04320.23
5.5.300.0070.08717.99
5.5.290.0100.07317.96
5.5.280.0000.04320.79
5.5.270.0100.08020.76
5.5.260.0030.04320.65
5.5.250.0200.06720.71
5.5.240.0370.05720.14
5.4.450.0300.04719.39
5.4.440.0170.03319.16
5.4.430.0800.04319.40
5.4.420.0200.05019.30
5.4.410.0130.04319.05
5.4.400.0330.04319.20
5.4.390.0370.03719.23
5.4.380.0230.06018.61
5.4.370.0230.05318.61
5.4.360.0230.06018.59
5.4.350.0530.06318.79
5.4.340.0370.04318.73
5.4.320.0040.04512.51
5.4.310.0080.04112.51
5.4.300.0090.03512.51
5.4.290.0040.04012.51
5.4.280.0030.03812.41
5.4.270.0060.03612.40
5.4.260.0080.03512.41
5.4.250.0060.03812.41
5.4.240.0110.03712.41
5.4.230.0070.04212.40
5.4.220.0070.03812.39
5.4.210.0090.03612.39
5.4.200.0100.04312.40
5.4.190.0050.03912.39
5.4.180.0120.04512.39
5.4.170.0110.03512.41
5.4.160.0100.03512.40
5.4.150.0080.04112.40
5.4.140.0070.03812.08
5.4.130.0070.03612.07
5.4.120.0060.04212.03
5.4.110.0110.04012.02
5.4.100.0040.03912.03
5.4.90.0060.04412.02
5.4.80.0090.04312.02
5.4.70.0060.03812.02
5.4.60.0070.03812.02
5.4.50.0070.04712.02
5.4.40.0120.05112.01
5.4.30.0100.04112.01
5.4.20.0090.03712.00
5.4.10.0080.03412.00
5.4.00.0070.04011.49
5.3.290.0090.04512.80
5.3.280.0100.04312.71
5.3.270.0090.03912.72
5.3.260.0090.04412.71
5.3.250.0070.03912.72
5.3.240.0080.04212.72
5.3.230.0080.04012.71
5.3.220.0060.04812.68
5.3.210.0070.03912.68
5.3.200.0110.03812.68
5.3.190.0070.04012.68
5.3.180.0070.03812.67
5.3.170.0070.03512.67
5.3.160.0070.03712.67
5.3.150.0060.03712.67
5.3.140.0050.03912.66
5.3.130.0080.04212.65
5.3.120.0050.04112.66
5.3.110.0090.04112.66
5.3.100.0100.03712.13
5.3.90.0070.03712.11
5.3.80.0080.03412.10
5.3.70.0060.03612.10
5.3.60.0080.03412.09
5.3.50.0060.03612.03
5.3.40.0070.03612.03
5.3.30.0110.03911.99
5.3.20.0090.04411.77
5.3.10.0030.03711.73
5.3.00.0030.04311.72
5.2.170.0060.0299.23
5.2.160.0060.0319.23
5.2.150.0090.0349.23
5.2.140.0060.0319.22
5.2.130.0050.0309.18
5.2.120.0050.0289.18
5.2.110.0030.0319.19
5.2.100.0030.0309.18
5.2.90.0070.0269.18
5.2.80.0050.0429.18
5.2.70.0080.0339.18
5.2.60.0040.0319.13
5.2.50.0070.0309.10
5.2.40.0060.0309.08
5.2.30.0070.0359.05
5.2.20.0070.0329.05
5.2.10.0060.0298.95
5.2.00.0050.0318.81
5.1.60.0050.0308.09
5.1.50.0030.0318.09
5.1.40.0050.0308.07
5.1.30.0080.0358.43
5.1.20.0020.0288.44
5.1.10.0070.0288.16
5.1.00.0050.0278.16
5.0.50.0080.0166.64
5.0.40.0040.0196.50
5.0.30.0040.0306.32
5.0.20.0020.0206.27
5.0.10.0030.0196.26
5.0.00.0050.0336.25
4.4.90.0030.0154.78
4.4.80.0040.0174.75
4.4.70.0060.0234.76
4.4.60.0020.0254.75
4.4.50.0030.0164.77
4.4.40.0010.0334.71
4.4.30.0030.0194.76
4.4.20.0020.0224.84
4.4.10.0020.0184.84
4.4.00.0030.0354.76
4.3.110.0040.0214.67
4.3.100.0030.0204.67
4.3.90.0050.0174.63
4.3.80.0040.0244.59
4.3.70.0030.0194.63
4.3.60.0030.0144.62
4.3.50.0030.0154.63
4.3.40.0020.0274.54
4.3.30.0050.0173.30
4.3.20.0030.0153.28
4.3.10.0010.0163.23
4.3.00.0030.01718.16

preferences:
38.4 ms | 401 KiB | 5 Q