3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare(ticks=1); declare(strict_types=1); declare(encoding='ISO-8859-1'); namespace Acme; class Foo {} new Foo;
based on fKLh9
Output for 7.0.0 - 7.2.0
Warning: declare(encoding=...) ignored because Zend multibyte feature is turned off by settings in /in/X0cMo on line 5
Output for 5.4.10 - 5.6.28
Warning: Unsupported declare 'strict_types' in /in/X0cMo on line 4 Warning: declare(encoding=...) ignored because Zend multibyte feature is turned off by settings in /in/X0cMo on line 5
Output for 5.3.20 - 5.3.29
Warning: Unsupported declare 'strict_types' in /in/X0cMo on line 4