3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public static function __callStatic() { var_dump(func_get_args()); } } class B extends A {} B::foo('a', 'b');

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)
5.4.340.0080.04712.02
5.4.320.0070.05312.51
5.4.310.0090.04912.51
5.4.300.0090.05612.51
5.4.290.0160.04912.51
5.4.280.0110.03612.40
5.4.270.0110.04612.40
5.4.260.0080.04512.40
5.4.250.0130.06512.41
5.4.240.0050.03912.40
5.4.230.0110.06512.40
5.4.220.0120.06512.39
5.4.210.0130.03712.40
5.4.200.0110.03912.39
5.4.190.0090.04312.39
5.4.180.0150.05012.39
5.4.170.0060.04412.41
5.4.160.0050.03812.40
5.4.150.0110.06812.39
5.4.140.0060.05512.08
5.4.130.0070.04712.07
5.4.120.0120.04612.02
5.4.110.0050.06112.02
5.4.100.0110.04312.02
5.4.90.0070.04812.02
5.4.80.0080.05212.02
5.4.70.0060.04112.02
5.4.60.0110.06912.02
5.4.50.0050.04012.02
5.4.40.0090.03612.00
5.4.30.0100.04712.00
5.4.20.0090.03312.00
5.4.10.0080.03312.00
5.4.00.0100.04311.50
5.3.290.0080.05212.80
5.3.280.0110.03812.71
5.3.270.0140.08412.72
5.3.260.0190.06512.72
5.3.250.0080.03812.71
5.3.240.0080.05112.72
5.3.230.0100.04812.71
5.3.220.0070.05312.68
5.3.210.0070.06512.68
5.3.200.0140.05112.68
5.3.190.0110.05212.68
5.3.180.0060.04312.67
5.3.170.0120.03812.67
5.3.160.0140.06312.68
5.3.150.0090.05612.68
5.3.140.0110.05412.66
5.3.130.0110.04312.66
5.3.120.0090.06112.66
5.3.110.0120.05212.65
5.3.100.0110.04912.12
5.3.90.0130.06112.10
5.3.80.0070.08312.09
5.3.70.0120.03912.09
5.3.60.0070.03912.08
5.3.50.0020.04512.02
5.3.40.0070.03912.02
5.3.30.0100.04811.98
5.3.20.0100.03911.77
5.3.10.0070.04611.73
5.3.00.0050.04011.72
5.2.170.0060.0339.22
5.2.160.0070.0319.22
5.2.150.0070.0419.21
5.2.140.0100.0389.21
5.2.130.0080.0329.18
5.2.120.0070.0299.18
5.2.110.0080.0299.18
5.2.100.0080.0339.18
5.2.90.0040.0349.18
5.2.80.0050.0329.17
5.2.70.0120.0729.18
5.2.60.0080.0329.13
5.2.50.0040.0339.10
5.2.40.0060.0309.08
5.2.30.0090.0549.05
5.2.20.0050.0309.03
5.2.10.0070.0278.94
5.2.00.0060.0308.80
5.1.60.0080.0278.09
5.1.50.0050.0268.09
5.1.40.0050.0288.06
5.1.30.0060.0268.42
5.1.20.0060.0408.43
5.1.10.0110.0318.17
5.1.00.0050.0368.17
5.0.50.0030.0296.64
5.0.40.0060.0236.50
5.0.30.0040.0446.31
5.0.20.0090.0346.28
5.0.10.0060.0296.25
5.0.00.0030.0406.25
4.4.90.0040.0244.78
4.4.80.0130.0434.75
4.4.70.0050.0154.75
4.4.60.0050.0184.75
4.4.50.0070.0174.77
4.4.40.0060.0304.71
4.4.30.0050.0134.76
4.4.20.0040.0224.84
4.4.10.0050.0204.85
4.4.00.0060.0234.76
4.3.110.0050.0184.67
4.3.100.0070.0284.67
4.3.90.0030.0234.63
4.3.80.0120.0424.58
4.3.70.0100.0224.63
4.3.60.0020.0164.62
4.3.50.0020.0214.63
4.3.40.0030.0304.54
4.3.30.0030.0183.30
4.3.20.0080.0253.28
4.3.10.0050.0183.23
4.3.00.0000.0308.18

preferences:
182.41 ms | 1398 KiB | 7 Q