This module allows rapid application development as PHP warnings are not raised as exceptions, which is the framework's default behaviour since RFC #291 was implemented.
$ xp -w '$a++'
Uncaught exception: Exception lang.reflect.TargetInvocationException (xp\runtime\Evaluate::main)
at lang.reflect.Method::invoke(NULL, array[1]) [line 248 of class-main.php]
Caused by Exception lang.NullPointerException (Undefined variable: a)
at <main>::__error(8, (0x15)'Undefined variable: a', (0x60)'...', 1, array[5]) [line 1 of Evaluate.class.php(37) : eval()'d code]
at <main>::eval() [line 37 of Evaluate.class.php]
at xp.runtime.Evaluate::main(array[1]) [line 0 of StackTraceElement.class.php]
... 2 more
Simply add this module to your class path to enable the RAD mode:
$ xp -cp ../rad/src/main/php/ -w '$a++'
null