Version: v0.8.1 - Beta.  We welcome contributors & feedback.

Php.options

Php.options($string) -> number

Description

Convert a String to a PHP bitmask of one or more constants.

$options = Php.options('ABC_THIS|ABC_OTHER'))

Php.call('abc_do_something', $options)

See Also