3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface truc { const OK = 'OK'; } abstract class A implements truc { } class B extends A { const OK = 'PAS OK'; } echo B::OK;
based on RKKM4
Output for 5.3.18 - 7.2.0
PAS OK