3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php trait T { public function __construct() { parent::__construct(42); } } class A { public function __construct($v) { var_dump($v); } }
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0