ソースを参照

Use PHPWRITE macro instead of php_output_write, refs #80

php_output_write is not available in PHP 5.3.
Stefan Siegl 11 年 前
コミット
c54b49d2a6
1 ファイル変更1 行追加1 行削除
  1. 1 1
      v8js_methods.cc

+ 1 - 1
v8js_methods.cc

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