3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function belette() { echo "Belette !\n"; return 'belette'; } class A { } class B { public function __construct($value) { } } new A(belette()); new B(belette());
Output for 7.1.0 - 7.2.0
Belette ! Belette !
Output for 5.3.21 - 7.0.20
Belette !