Example 2
PHP Script Debugger ExamplesThis example demonstrates the Message Panel. It shows PHP notices, warnings, errors and your own messages. This PHP code generates for you:
- PHP Notice (Undefined variable $x)
- PHP Assertion (assert($x === null))
- PHP Warning (Division by zero)
- User Notice (trigger_error with E_USER_NOTICE)
- User Error (trigger_error with E_USER_ERROR)
