3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Dumb{ function __construct() { echo "I'm dumb!"; } } class Idiot extends Dumb{ function __construct() { echo "I'm dumb!"; } function method() { parent::__construct(); } }
based on shKq4
Output for 4.3.0 - 7.2.0