3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public static function who() { echo __CLASS__; } public static function test() { echo get_class(static); // Here comes Late Static Bindings } } class B extends A { public static function who() { echo __CLASS__; } } B::who(); ?>

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.220.0160.04412.38
5.4.210.0150.04612.38
5.4.200.0140.04912.39
5.4.190.0220.03612.38
5.4.180.0200.06912.38
5.4.170.0190.04112.39
5.4.160.0140.04812.38
5.4.150.0100.05212.38
5.4.140.0190.04012.07
5.4.130.0190.04012.05
5.4.120.0270.06112.02
5.4.110.0120.04612.01
5.4.100.0170.04112.02
5.4.90.0200.04112.02
5.4.80.0190.04212.01
5.4.70.0110.04812.01
5.4.60.0160.04412.01
5.4.50.0390.08412.01
5.4.40.0130.04412.00
5.4.30.0150.04512.00
5.4.20.0180.04111.98
5.4.10.0160.04512.00
5.4.00.0130.04411.49
5.3.270.0170.04612.73
5.3.260.0150.04512.72
5.3.250.0190.04212.72
5.3.240.0150.04712.72
5.3.230.0220.04212.71
5.3.220.0510.07612.68
5.3.210.0190.04612.68
5.3.200.0150.04512.68
5.3.190.0160.04612.68
5.3.180.0300.09112.67
5.3.170.0140.05012.67
5.3.160.0190.04312.67
5.3.150.0160.04412.67
5.3.140.0210.07012.66
5.3.130.0170.04312.66
5.3.120.0210.04112.66
5.3.110.0180.04212.66
5.3.100.0170.04512.11
5.3.90.0340.08612.09
5.3.80.0190.04312.08
5.3.70.0180.04212.07
5.3.60.0150.04812.07
5.3.50.0200.04212.00
5.3.40.0270.06612.00
5.3.30.0140.04911.97
5.3.20.0190.04711.75
5.3.10.0130.04411.71
5.3.00.0370.08511.71

preferences:
133.57 ms | 1394 KiB | 7 Q