3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(error_reporting()); // Turn off all error reporting error_reporting(0); var_dump(error_reporting()); // Report simple running errors error_reporting(E_ERROR | E_WARNING | E_PARSE); var_dump(error_reporting()); // Reporting E_NOTICE can be good too (to report uninitialized // variables or catch variable name misspellings ...) error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); var_dump(error_reporting()); // Report all errors except E_NOTICE error_reporting(E_ALL & ~E_NOTICE); var_dump(error_reporting()); // Report all PHP errors (see changelog) error_reporting(E_ALL); var_dump(error_reporting()); // Report all PHP errors error_reporting(-1); var_dump(error_reporting());
Output for git.master, git.master_jit, rfc.property-hooks
int(-1) int(0) int(7) int(15) int(32759) int(32767) int(-1)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
31.91 ms | 401 KiB | 8 Q