3v4l.org

run code in 200+ PHP versions simultaneously
<?php class Walker { function walk( $elements, $max_depth, ...$args ) { echo 1; } } class My_Walker extends Walker { function walk( $elements, $max_depth ) { echo 2; } } $a = new My_Walker(); $a->walk( 1, 2 );

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)
7.4.00.0030.00614.64
7.3.70.0070.01314.54
7.3.60.0150.00614.75
7.3.50.0030.00914.64
7.3.40.0140.00014.70
7.3.30.0070.00714.62
7.3.20.0120.00614.72
7.3.10.0120.00614.68
7.3.00.0160.00314.42
7.2.200.0150.00914.75
7.2.190.0000.01315.04
7.2.180.0080.00314.99
7.2.170.0030.00814.82
7.2.160.0070.00714.98
7.2.150.0070.00715.16
7.2.140.0070.01415.00
7.2.130.0080.00814.90
7.2.120.0120.00414.96
7.2.110.0100.00914.77
7.2.100.0060.01314.91
7.2.90.0180.00915.07
7.2.80.0160.00714.98
7.2.70.0200.00614.98
7.2.60.0150.00915.12
7.2.50.0120.00614.91
7.2.40.0070.01115.06
7.2.30.0290.00315.10
7.2.20.0640.01015.22
7.2.10.0150.00914.90
7.2.00.0080.00814.70
7.1.300.0060.00713.75
7.1.290.0060.01113.48
7.1.280.0100.00313.71
7.1.270.0110.01113.85
7.1.260.0120.00913.94
7.1.250.0070.01113.77