3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); var_dump(error_reporting()); error_reporting(-1); var_dump(error_reporting());
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
int(32767) int(-1)
Output for 5.3.0 - 5.3.29
int(30719) int(-1)
Output for 5.2.0 - 5.2.17
int(6143) int(-1)
Output for 4.3.0 - 5.1.6
int(2047) int(-1)