3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare(strict_types=1); class fubar { public function __construct() { $this->abc = 'asd'; } } $a = new fubar; echo $a->abc;
based on rYALH
Output for hhvm-3.15.4, 7.0.0 - 7.3.0rc3
asd
Output for 5.6.0 - 5.6.30
Warning: Unsupported declare 'strict_types' in /in/VE8m6 on line 2 asd