3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class T { function delete($a = '') {} } class S extends T { function delete() {} } new S();
based on RYYE9
Output for 7.0.0 - 7.1.0
Warning: Declaration of S::delete() should be compatible with T::delete($a = '') in /in/HYNTe on line 9
Output for 4.3.0 - 4.4.9, hhvm-3.10.0 - 3.13.2
Output for 5.4.0 - 5.6.28
Strict Standards: Declaration of S::delete() should be compatible with T::delete($a = '') in /in/HYNTe on line 9
Output for 5.0.0 - 5.3.29
Strict Standards: Declaration of S::delete() should be compatible with that of T::delete() in /in/HYNTe on line 9