3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare (encoding="UTF-8") { echo 1; } echo 2;
based on 4GDb2
Output for 5.4.0 - 7.2.0
Warning: declare(encoding=...) ignored because Zend multibyte feature is turned off by settings in /in/Tiuao on line 3 12
Output for 4.3.0 - 5.3.29
12