3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function column() { $header = 'Foo'; var_dump(get_class($header), get_class_methods($header), method_exists($header, 'column')); } } (new Foo())->column();

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.00316.49
8.3.50.0140.00221.97
8.3.40.0140.00018.61
8.3.30.0090.00619.04
8.3.20.0060.00320.04
8.3.10.0080.00023.49
8.3.00.0040.00418.87
8.2.180.0150.00018.29
8.2.170.0000.01422.96
8.2.160.0070.00720.38
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00420.76
8.2.110.0180.00022.10
8.2.100.0000.01217.91
8.2.90.0050.00219.18
8.2.80.0000.00817.97
8.2.70.0090.00017.50
8.2.60.0030.00617.93
8.2.50.0040.00718.07
8.2.40.0070.00018.03
8.2.30.0000.00718.15
8.2.20.0000.00717.68
8.2.10.0070.00017.92
8.2.00.0000.00717.84
8.1.280.0100.00625.92
8.1.270.0060.00323.92
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00022.20
8.1.230.0040.00719.15
8.1.220.0030.00517.74
8.1.210.0000.00918.77
8.1.200.0060.00317.23
8.1.190.0040.00417.23
8.1.180.0060.00318.10
8.1.170.0080.00018.57
8.1.160.0000.00721.93
8.1.150.0070.00018.56
8.1.140.0070.00017.38
8.1.130.0000.00717.85
8.1.120.0040.00417.44
8.1.110.0000.00717.39
8.1.100.0040.00417.28
8.1.90.0050.00217.29
8.1.80.0070.00017.32
8.1.70.0000.00817.25
8.1.60.0050.00317.54
8.1.50.0040.00417.51
8.1.40.0000.00817.47
8.1.30.0050.00317.61
8.1.20.0000.00817.70
8.1.10.0000.00717.57
8.1.00.0000.00917.38
8.0.300.0000.00718.77
8.0.290.0000.00717.18
8.0.280.0040.00418.29
8.0.270.0000.00817.23
8.0.260.0060.00017.18
8.0.250.0000.00716.88
8.0.240.0000.00716.91
8.0.230.0030.00316.99
8.0.220.0030.00316.90
8.0.210.0070.00016.84
8.0.200.0070.00016.83
8.0.190.0040.00416.93
8.0.180.0040.00416.80
8.0.170.0040.00416.95
8.0.160.0040.00416.89
8.0.150.0040.00416.80
8.0.140.0040.00416.81
8.0.130.0050.00013.31
8.0.120.0000.00816.86
8.0.110.0000.00716.86
8.0.100.0040.00416.89
8.0.90.0040.00416.84
8.0.80.0110.00416.91
8.0.70.0000.00716.88
8.0.60.0000.00816.95
8.0.50.0080.00016.90
8.0.30.0120.00717.05
8.0.20.0090.01017.40
8.0.10.0000.00816.81
8.0.00.0150.00716.88
7.4.330.0020.00215.03
7.4.320.0000.00616.53
7.4.300.0040.00416.44
7.4.290.0000.00716.50
7.4.280.0000.01116.50
7.4.270.0020.00516.35
7.4.260.0030.00316.37
7.4.250.0040.00416.61
7.4.240.0050.00216.48
7.4.230.0030.00316.61
7.4.220.0030.01516.66
7.4.210.0040.01216.63
7.4.200.0030.00316.68
7.4.190.0000.00716.67
7.4.160.0140.00916.50
7.4.150.0090.00917.40
7.4.140.0120.00617.86
7.4.130.0130.01216.52
7.4.120.0110.00816.53
7.4.110.0100.00716.50
7.4.100.0070.01116.42
7.4.90.0090.00816.59
7.4.80.0100.01019.39
7.4.70.0080.01316.37
7.4.60.0110.01016.28
7.4.50.0000.00816.40
7.4.40.0120.00616.29
7.4.30.0100.00616.61
7.4.00.0060.01015.03
7.3.330.0060.00013.14
7.3.320.0000.00513.35
7.3.310.0030.00316.36
7.3.300.0040.00416.30
7.3.290.0090.00616.43
7.3.280.0080.01016.31
7.3.270.0120.00617.40
7.3.260.0090.00916.21
7.3.250.0120.00816.43
7.3.240.0110.00616.40
7.3.230.0170.00316.39
7.3.210.0120.00616.26
7.3.200.0070.01419.39
7.3.190.0040.01816.36
7.3.180.0100.00616.37
7.3.170.0090.00616.33
7.3.160.0090.00916.62
7.3.120.0070.01014.99
7.3.110.0070.00914.82
7.3.100.0050.01214.80
7.3.90.0070.00814.91
7.3.80.0060.01114.98
7.3.70.0070.00714.83
7.3.60.0060.00914.80
7.3.50.0060.00714.98
7.3.40.0050.00714.91
7.3.30.0040.00814.82
7.3.20.0080.00516.52
7.3.10.0060.00616.63
7.3.00.0060.00816.63
7.2.330.0120.00616.61
7.2.320.0180.01116.57
7.2.310.0120.00416.53
7.2.300.0100.00716.54
7.2.290.0130.00616.38
7.2.250.0060.01114.94
7.2.240.0090.01115.02
7.2.230.0080.00914.99
7.2.220.0070.00714.97
7.2.210.0070.00815.05
7.2.200.0100.00314.85
7.2.190.0050.01014.96
7.2.180.0050.00914.97
7.2.170.0040.00715.04
7.2.00.0030.01218.84
7.1.330.0070.00615.73
7.1.320.0070.00615.69
7.1.310.0050.01015.72
7.1.300.0050.01015.67
7.1.290.0050.00415.77
7.1.280.0060.00715.73
7.1.270.0060.00615.79
7.1.260.0080.00515.67
7.1.100.0070.00718.10
7.1.70.0000.00816.99
7.1.60.0070.01419.70
7.1.50.0100.01316.88
7.1.00.0030.07322.35
7.0.200.0070.00716.35
7.0.140.0030.07022.11
7.0.60.0070.06719.79
7.0.50.0070.08317.91
7.0.40.0130.06720.21
7.0.30.0370.07320.09
7.0.20.0070.05020.34
7.0.10.0230.07320.24
7.0.00.0130.08020.30
5.6.280.0000.07720.91
5.6.210.0070.06020.67
5.6.200.0000.07318.15
5.6.190.0030.06320.64
5.6.180.3230.05020.36
5.6.170.0230.04320.50
5.6.160.0070.04320.56
5.6.150.0100.05018.15
5.6.140.0000.07318.30
5.6.130.0100.07718.17
5.6.120.0070.04721.14
5.6.110.0100.07721.01
5.6.100.0100.08020.89
5.6.90.0100.07721.12
5.6.80.0100.06720.47
5.6.70.0200.03020.40
5.5.350.0130.03720.43
5.5.340.0070.07718.02
5.5.330.0000.04720.42
5.5.320.0430.07020.25
5.5.310.0070.04720.50
5.5.300.0170.07017.97
5.5.290.0070.04018.14
5.5.280.0070.04020.68
5.5.270.0100.08720.87
5.5.260.0030.07020.72
5.5.250.0030.08720.67
5.5.240.0030.04020.26
5.4.450.0900.04719.48
5.4.440.0930.04719.55
5.4.430.0900.05319.47
5.4.420.0630.00019.46
5.4.410.0170.05718.97
5.4.400.0270.07718.81
5.4.390.0370.04718.81
5.4.380.0100.05718.78
5.4.370.0030.04318.89
5.4.360.0100.03718.59
5.4.350.0080.05012.02
5.4.340.0080.04212.02
5.4.320.0070.03812.50
5.4.310.0060.04712.50
5.4.300.0100.04912.50
5.4.290.0080.05512.50
5.4.280.0060.05312.39
5.4.270.0060.05212.39
5.4.260.0110.04412.39
5.4.250.0090.04212.39
5.4.240.0070.04612.40
5.4.230.0100.04412.39
5.4.220.0080.04712.39
5.4.210.0070.04612.39
5.4.200.0090.04912.39
5.4.190.0090.04412.39
5.4.180.0080.05112.39
5.4.170.0090.04612.39
5.4.160.0100.04512.39
5.4.150.0150.04312.39
5.4.140.0150.04312.07
5.4.130.0070.05012.06
5.4.120.0100.04512.02
5.4.110.0060.04312.02
5.4.100.0010.04912.01
5.4.90.0080.04812.01
5.4.80.0100.05412.01
5.4.70.0100.04912.01
5.4.60.0080.05012.01
5.4.50.0070.05712.01
5.4.40.0130.05012.00
5.4.30.0090.03811.99
5.4.20.0030.04412.00
5.4.10.0050.04212.00
5.4.00.0080.04311.48
5.3.290.0070.05212.80
5.3.280.0120.04112.71
5.3.270.0090.04512.73
5.3.260.0070.04512.72
5.3.250.0060.04512.72
5.3.240.0130.03812.72
5.3.230.0080.04312.71
5.3.220.0040.04512.68
5.3.210.0050.04512.68
5.3.200.0080.04112.68
5.3.190.0090.04212.68
5.3.180.0090.03712.67
5.3.170.0060.04412.67
5.3.160.0090.04312.68
5.3.150.0060.04912.67
5.3.140.0090.04212.66
5.3.130.0110.04512.66
5.3.120.0160.04212.66
5.3.110.0100.05112.66
5.3.100.0120.04612.13
5.3.90.0070.05012.10
5.3.80.0130.04412.10
5.3.70.0090.05012.10
5.3.60.0090.04412.08
5.3.50.0100.04212.03
5.3.40.0100.04212.03
5.3.30.0110.05211.98
5.3.20.0100.03711.77
5.3.10.0050.03911.73
5.3.00.0180.09111.72
5.2.170.0120.0659.22
5.2.160.0090.0449.22
5.2.150.0060.0469.22
5.2.140.0060.0459.21
5.2.130.0070.0379.18
5.2.120.0080.0299.17
5.2.110.0040.0359.19
5.2.100.0050.0329.18
5.2.90.0140.0519.18
5.2.80.0120.0439.17
5.2.70.0050.0329.17
5.2.60.0060.0569.13
5.2.50.0060.0459.10
5.2.40.0090.0319.08
5.2.30.0090.0429.05
5.2.20.0120.0409.04
5.2.10.0080.0678.94
5.2.00.0080.0848.81
5.1.60.0080.0728.09
5.1.50.0090.0488.09
5.1.40.0080.0308.07
5.1.30.0080.0408.42
5.1.20.0140.0418.44
5.1.10.0070.0268.16
5.1.00.0040.0298.16
5.0.50.0060.0246.64
5.0.40.0030.0206.50
5.0.30.0090.0326.32
5.0.20.0050.0236.28
5.0.10.0070.0186.26
5.0.00.0100.0276.25
4.4.90.0030.0194.78
4.4.80.0040.0174.76
4.4.70.0040.0164.76
4.4.60.0060.0144.76
4.4.50.0030.0184.77
4.4.40.0020.0314.71
4.4.30.0050.0154.76
4.4.20.0040.0154.84
4.4.10.0010.0184.85
4.4.00.0040.0254.76
4.3.110.0050.0144.67
4.3.100.0060.0134.66
4.3.90.0030.0154.63
4.3.80.0100.0464.58
4.3.70.0030.0214.63
4.3.60.0040.0184.63
4.3.50.0050.0144.63
4.3.40.0070.0264.54
4.3.30.0060.0203.30
4.3.20.0040.0213.28
4.3.10.0030.0303.24
4.3.00.0100.0237.43

preferences:
37.23 ms | 401 KiB | 5 Q