0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-09-19 16:35:19 +00:00

Use PHPWRITE macro instead of php_output_write, refs #80

php_output_write is not available in PHP 5.3.
This commit is contained in:
Stefan Siegl 2014-03-23 00:54:15 +01:00
parent a7d5a0776c
commit c54b49d2a6

View File

@ -105,7 +105,7 @@ static void _php_v8js_dumper(v8::Isolate *isolate, v8::Local<v8::Value> var, int
if (var->IsString()) if (var->IsString())
{ {
php_printf("string(%zu) \"", valstr_len, valstr); php_printf("string(%zu) \"", valstr_len, valstr);
php_output_write(valstr, valstr_len TSRMLS_CC); PHPWRITE(valstr, valstr_len);
php_printf("\"\n"); php_printf("\"\n");
} }
else if (var->IsDate()) else if (var->IsDate())