浏览代码

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())
 	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())