We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<?php $v8js = new V8Js(); $foo = $v8js->executeString("String.fromCharCode(65)"); var_dump($foo); $foo = $v8js->executeString("String.fromCharCode(0)"); var_dump($foo);
Since both JS and PHP can handle strings with NULL-bytes I would expect even the latter to return a string of one byte length, ... well but:
string(1) "A" string(0) ""
The text was updated successfully, but these errors were encountered:
Fix passing of null bytes from V8 to PHP (github issue phpv8#80).
3b6390b
This should fix this issue: rosmo@3b6390b
Sorry, something went wrong.
fd80163
Use PHPWRITE macro instead of php_output_write, refs #80
c54b49d
php_output_write is not available in PHP 5.3.
No branches or pull requests
Since both JS and PHP can handle strings with NULL-bytes I would expect even the latter to return a string of one byte length, ... well but:
The text was updated successfully, but these errors were encountered: