Class Helpers
PHP code generator utils.
Methods summary
public static
string
|
#
dump( $var )
Returns a PHP representation of a variable.
Returns a PHP representation of a variable.
Returns
string
|
public static
string
|
#
format( $statement )
Generates PHP statement.
Returns
string
|
public static
string
|
#
formatArgs( $statement, array $args )
Generates PHP statement.
Returns
string
|
public static
string
|
#
formatMember( $name )
Returns a PHP representation of a object member.
Returns a PHP representation of a object member.
Returns
string
|
public static
boolean
|
|
Constants summary
string |
PHP_IDENT
|
'[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*' |
|
integer |
MAX_DEPTH
|
50 |
|