3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php trigger_error("Kann nicht durch 0 teilen", E_WARNING );
based on Jkb0o
Output for 7.3.0 - 7.3.1
Warning: Use of undefined constant  E_WARNING  - assumed ' E_WARNING ' (this will throw an Error in a future version of PHP) in /in/nOp5B on line 2 Warning: trigger_error() expects parameter 2 to be int, string given in /in/nOp5B on line 2
Output for 7.2.0 - 7.2.13
Warning: Use of undefined constant  E_WARNING  - assumed ' E_WARNING ' (this will throw an Error in a future version of PHP) in /in/nOp5B on line 2 Warning: trigger_error() expects parameter 2 to be integer, string given in /in/nOp5B on line 2
Output for 7.0.0 - 7.1.25
Notice: Use of undefined constant  E_WARNING  - assumed ' E_WARNING ' in /in/nOp5B on line 2 Warning: trigger_error() expects parameter 2 to be integer, string given in /in/nOp5B on line 2
Output for 5.3.0 - 5.6.28
Notice: Use of undefined constant  E_WARNING  - assumed ' E_WARNING ' in /in/nOp5B on line 2 Warning: trigger_error() expects parameter 2 to be long, string given in /in/nOp5B on line 2
Output for 4.3.0 - 5.2.17
Notice: Use of undefined constant  E_WARNING  - assumed ' E_WARNING ' in /in/nOp5B on line 2 Warning: Invalid error type specified in /in/nOp5B on line 2