2017 © Pedro Peláez
 

library rad

RAD Module

image

xp-framework/rad

RAD Module

  • Thursday, February 12, 2015
  • by thekid
  • Repository
  • 2 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

RAD Module

Build Status on TravisCI XP Framework Module BSD Licence Required PHP 5.4+ Required HHVM 3.4+ Latest Stable Version, (*1)

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., (*2)

Example

$ 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:, (*3)

$ xp -cp ../rad/src/main/php/ -w '$a++'
null

The Versions

12/02 2015

dev-master

9999999-dev http://xp-framework.net/

RAD Module

  Sources   Download

BSD-3-Clause

The Requires

 

module xp

12/02 2015

v0.1.1

0.1.1.0 http://xp-framework.net/

RAD Module

  Sources   Download

BSD-3-Clause

The Requires

 

module xp

11/01 2015

v0.1.0

0.1.0.0 http://xp-framework.net/

RAD Module

  Sources   Download

BSD-3-Clause

The Requires

 

module xp