3v4l.org

run code in 500+ PHP versions simultaneously
<?php register_shutdown_function( function() { $error = error_get_last(); var_dump( $error ); } ); class A { public function test( $a, $b ) { } } class B extends A { public function test( $a, $b, $c ) { } } $b = new 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)
8.3.50.0130.00816.74
8.1.70.0050.00517.26
8.1.60.0100.00517.37
8.1.50.0080.00517.36
8.1.40.0100.00417.36
8.1.30.0090.00517.42
8.1.20.0090.00717.43
8.1.10.0110.00517.29
8.1.00.0090.00617.27
8.0.200.0060.00516.82
8.0.190.0050.00716.83
8.0.180.0110.00316.78
8.0.170.0080.00616.78
8.0.160.0110.00316.78
8.0.150.0100.00416.73
8.0.140.0090.00516.74
8.0.130.0120.00316.74
8.0.120.0110.00316.77
8.0.110.0080.00616.75
8.0.100.0070.00616.71
8.0.90.0090.00516.75
8.0.80.0060.00716.80
8.0.70.0090.00416.75
8.0.60.0100.00316.77
8.0.50.0080.00516.74
8.0.30.0090.00516.74
8.0.20.0110.00416.86
8.0.10.0100.00516.88
7.4.300.0090.00516.54
7.4.290.0120.00416.56
7.4.280.0140.00316.54
7.4.270.0100.00616.51
7.4.260.0100.00516.46
7.4.250.0090.00516.50
7.4.240.0100.00416.51
7.4.230.0080.00716.53
7.4.220.0080.00516.57
7.4.210.0070.00616.51
7.4.200.0080.00516.57
7.4.190.0110.00216.57
7.4.180.0100.00416.58
7.4.160.0070.00516.49
7.4.150.0070.00416.46
7.4.140.0060.00516.30
7.4.130.0070.00416.22
7.4.120.0070.00516.28
7.4.110.0090.00316.37
7.4.100.0030.00816.45
7.4.90.0100.00216.43
7.4.80.0090.00416.38
7.4.70.0080.00616.35
7.4.60.0070.00516.33
7.4.50.0070.00516.21
7.4.40.0050.00616.28
7.4.30.0040.00516.36
7.4.20.0060.00316.29
7.4.10.0080.00416.30
7.4.00.0080.00316.36

preferences:
42.36 ms | 734 KiB | 4 Q