3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public static function test() { echo __CLASS__ . ' ' . get_class(static); } } class_alias('A', 'B'); B::test();

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.350.0080.03912.04
5.4.340.0060.04612.03
5.4.320.0100.04312.52
5.4.310.0090.05412.52
5.4.300.0100.04812.51
5.4.290.0130.07912.51
5.4.280.0050.07712.41
5.4.270.0050.04912.41
5.4.260.0060.05312.41
5.4.250.0110.06412.41
5.4.240.0080.05612.41
5.4.230.0070.04312.40
5.4.220.0060.04512.40
5.4.210.0070.03912.40
5.4.200.0100.04012.40
5.4.190.0090.04012.40
5.4.180.0080.04112.40
5.4.170.0100.03512.40
5.4.160.0080.03912.40
5.4.150.0050.04012.40
5.4.140.0060.04112.09
5.4.130.0060.04512.07
5.4.120.0070.03612.03
5.4.110.0140.03812.03
5.4.100.0030.04012.03
5.4.90.0100.03712.03
5.4.80.0090.04212.03
5.4.70.0060.04412.03
5.4.60.0100.03412.03
5.4.50.0050.03912.03
5.4.40.0060.03612.02
5.4.30.0100.03312.01
5.4.20.0120.02912.01
5.4.10.0080.04112.01
5.4.00.0030.04511.50
5.3.290.0080.04012.80
5.3.280.0120.03712.71
5.3.270.0050.04412.73
5.3.260.0090.03712.72
5.3.250.0050.03812.72
5.3.240.0040.04312.72
5.3.230.0080.04012.71
5.3.220.0060.04512.68
5.3.210.0060.04212.68
5.3.200.0070.03712.68
5.3.190.0100.03812.68
5.3.180.0050.04712.67
5.3.170.0100.03912.66
5.3.160.0050.03912.67
5.3.150.0070.04012.68
5.3.140.0060.04112.66
5.3.130.0020.04712.66
5.3.120.0080.04212.66
5.3.110.0090.04112.66
5.3.100.0090.03612.13
5.3.90.0080.03712.10
5.3.80.0080.04212.10
5.3.70.0040.04412.09
5.3.60.0100.04012.08
5.3.50.0110.03512.03
5.3.40.0110.03812.03
5.3.30.0120.04011.98
5.3.20.0040.05011.78
5.3.10.0050.03911.73
5.3.00.0070.04011.72
5.2.170.0070.0329.22
5.2.160.0070.0309.22
5.2.150.0040.0349.22
5.2.140.0090.0309.22
5.2.130.0040.0319.18
5.2.120.0050.0339.18
5.2.110.0010.0439.18
5.2.100.0050.0419.18
5.2.90.0100.0369.18
5.2.80.0040.0309.17
5.2.70.0050.0349.18
5.2.60.0040.0319.13
5.2.50.0050.0309.10
5.2.40.0060.0319.07
5.2.30.0070.0389.05
5.2.20.0030.0319.04
5.2.10.0020.0318.95
5.2.00.0050.0298.80
5.1.60.0060.0228.10
5.1.50.0050.0268.09
5.1.40.0090.0258.07
5.1.30.0050.0338.42
5.1.20.0080.0348.44
5.1.10.0090.0308.17
5.1.00.0050.0358.17
5.0.50.0050.0216.64
5.0.40.0050.0226.50
5.0.30.0050.0406.31
5.0.20.0040.0266.28
5.0.10.0040.0276.26
5.0.00.0030.0396.25
4.4.90.0030.0224.78
4.4.80.0040.0224.76
4.4.70.0040.0214.75
4.4.60.0050.0184.75
4.4.50.0050.0204.77
4.4.40.0050.0234.71
4.4.30.0030.0174.76
4.4.20.0030.0174.84
4.4.10.0010.0194.85
4.4.00.0050.0244.75
4.3.110.0020.0164.67
4.3.100.0020.0174.66
4.3.90.0030.0164.63
4.3.80.0020.0274.59
4.3.70.0030.0164.63
4.3.60.0020.0164.62
4.3.50.0020.0154.63
4.3.40.0020.0284.54
4.3.30.0010.0233.30
4.3.20.0030.0213.28
4.3.10.0030.0153.23
4.3.00.0230.0206.88

preferences:
138.76 ms | 1394 KiB | 7 Q