3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { const NAME = 'A'; public static function test() { $args = func_get_args( ); echo static::NAME, " ".join(',', $args)." \n"; } } class B extends A { const NAME = 'B'; public static function test() { echo self::NAME, "\n"; forward_static_call(array('A', 'test')'more', 'args'); forward_static_call( 'test', 'other', 'args'); } } B::test(); function test() { $args = func_get_args(); echo "C ".join(',', $args)." \n"; } ?>

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.190.0080.03912.40
5.4.180.0050.03612.40
5.4.170.0080.04312.41
5.4.160.0070.03912.40
5.4.150.0080.04112.40
5.4.140.0060.04712.09
5.4.130.0040.04412.07
5.4.120.0120.06512.04
5.4.110.0090.03812.03
5.4.100.0040.03612.03
5.4.90.0080.03612.04
5.4.80.0080.03612.03
5.4.70.0050.03612.03
5.4.60.0040.03612.03
5.4.50.0070.03612.03
5.4.40.0080.03412.02
5.4.30.0080.04212.02
5.4.20.0130.03912.01
5.4.10.0070.04212.01
5.4.00.0040.04211.51
5.3.270.0050.04512.72
5.3.260.0070.04212.72
5.3.250.0060.04212.72
5.3.240.0080.04312.72
5.3.230.0080.04212.71
5.3.220.0060.05212.68
5.3.210.0090.04312.68
5.3.200.0090.04012.68
5.3.190.0070.04212.67
5.3.180.0070.03812.67
5.3.170.0190.05312.67
5.3.160.0070.04412.67
5.3.150.0090.05212.68
5.3.140.0080.04212.66
5.3.130.0070.04512.65
5.3.120.0080.04612.66
5.3.110.0080.04012.66
5.3.100.0060.03912.13
5.3.90.0100.04112.11
5.3.80.0050.04112.10
5.3.70.0070.03512.09
5.3.60.0070.03512.09
5.3.50.0070.03512.03
5.3.40.0040.03912.03
5.3.30.0040.03811.99
5.3.20.0060.03611.77
5.3.10.0070.03911.74
5.3.00.0050.03911.72

preferences:
168.31 ms | 1394 KiB | 7 Q