3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public static function test() { var_dump(func_get_args()); } } $callable = 'Test::test'; $callable('arg');

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.0070.00718.52
8.3.50.0130.00822.12
8.3.40.0120.00318.57
8.3.30.0060.00918.95
8.3.20.0040.00420.13
8.3.10.0090.00020.40
8.3.00.0000.00819.01
8.2.180.0120.00616.75
8.2.170.0070.01022.96
8.2.160.0070.00720.40
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00326.16
8.2.120.0040.00422.23
8.2.110.0090.00022.30
8.2.100.0060.00318.61
8.1.280.0070.00725.92
8.1.270.0050.00323.70
8.1.260.0000.00726.35
8.1.250.0050.00228.09
8.1.240.0030.00618.49
8.1.230.0060.00318.68
5.4.320.0040.03812.52
5.4.310.0060.03712.51
5.4.300.0080.03712.51
5.4.290.0030.04112.51
5.4.280.0060.03612.40
5.4.270.0080.03312.40
5.4.260.0090.04312.40
5.4.250.0060.04212.41
5.4.240.0080.03512.41
5.4.230.0080.03512.39
5.4.220.0060.04612.40
5.4.210.0090.03212.39
5.4.200.0080.04012.39
5.4.190.0080.03912.39
5.4.180.0040.04012.39
5.4.170.0050.03612.40
5.4.160.0060.03512.40
5.4.150.0090.03812.40
5.4.140.0060.03912.08
5.4.130.0060.03812.07
5.4.120.0050.03512.02
5.4.110.0040.03712.02
5.4.100.0050.03912.02
5.4.90.0100.04412.02
5.4.80.0080.04812.02
5.4.70.0040.03912.02
5.4.60.0040.03612.02
5.4.50.0060.03612.02
5.4.40.0040.03612.00
5.4.30.0060.03512.00
5.4.20.0080.03212.00
5.4.10.0050.03512.01
5.4.00.0040.03611.50
5.3.290.0050.04012.80
5.3.280.0050.04012.71
5.3.270.0020.04212.72
5.3.260.0040.04112.72
5.3.250.0030.04512.71
5.3.240.0050.04012.72
5.3.230.0040.04012.71
5.3.220.0090.03312.68
5.3.210.0070.03712.68
5.3.200.0060.03712.68
5.3.190.0080.04412.68
5.3.180.0060.04212.68
5.3.170.0090.04812.67
5.3.160.0090.04112.67
5.3.150.0120.04612.67
5.3.140.0080.03812.66
5.3.130.0050.04212.66
5.3.120.0100.04112.66
5.3.110.0080.03812.65
5.3.100.0080.03612.12
5.3.90.0110.04812.10
5.3.80.0090.04712.09
5.3.70.0080.03612.09
5.3.60.0060.03912.07
5.3.50.0060.04712.02
5.3.40.0070.03612.02
5.3.30.0110.04011.98
5.3.20.0050.04211.76
5.3.10.0120.03811.73
5.3.00.0050.04611.71
5.2.170.0020.0329.21
5.2.160.0080.0259.21
5.2.150.0040.0319.22
5.2.140.0070.0399.21
5.2.130.0090.0409.17
5.2.120.0060.0329.17
5.2.110.0070.0279.18
5.2.100.0020.0319.17
5.2.90.0040.0289.17
5.2.80.0060.0289.17
5.2.70.0060.0299.17
5.2.60.0020.0349.13
5.2.50.0080.0299.09
5.2.40.0040.0299.07
5.2.30.0050.0279.04
5.2.20.0080.0269.03
5.2.10.0060.0258.94
5.2.00.0060.0278.80
5.1.60.0060.0248.09
5.1.50.0040.0248.08
5.1.40.0040.0268.07
5.1.30.0040.0258.41
5.1.20.0030.0278.44
5.1.10.0070.0298.16
5.1.00.0040.0248.16
5.0.50.0050.0266.64
5.0.40.0030.0186.50
5.0.30.0020.0346.31
5.0.20.0040.0196.27
5.0.10.0080.0166.25
5.0.00.0040.0336.24
4.4.90.0030.0174.78
4.4.80.0050.0134.76
4.4.70.0010.0164.75
4.4.60.0050.0124.75
4.4.50.0030.0144.77
4.4.40.0040.0244.71
4.4.30.0020.0164.76
4.4.20.0040.0164.85
4.4.10.0010.0174.85
4.4.00.0030.0254.76
4.3.110.0030.0144.67
4.3.100.0040.0214.66
4.3.90.0030.0184.64
4.3.80.0040.0234.58
4.3.70.0010.0154.63
4.3.60.0030.0134.63
4.3.50.0010.0164.63
4.3.40.0020.0244.54
4.3.30.0010.0163.30
4.3.20.0000.0173.28
4.3.10.0010.0183.24
4.3.00.0000.01316.59

preferences:
37.71 ms | 401 KiB | 5 Q