The class allows developers to write server-side JavaScript components.
It basically allows JavaScript functions inside PHP arrays.
It wraps them in a thin class and then serialize the array.
Using the built-in json_encode PHP function, the class wraps it using PCRE regexps to recognize JavaScript functions and unquote and unescape them.
Requirements:
- PHP 5.3 or higher
- PCRE enabled in PHP
- json_encode support in PHP
Comments not found