summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/wddx/wddx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c
index 95c437cbaa..7d0151ca8f 100644
--- a/ext/wddx/wddx.c
+++ b/ext/wddx/wddx.c
@@ -1284,8 +1284,7 @@ PHP_FUNCTION(wddx_deserialize)
payload_len = php_stream_copy_to_mem(stream, &payload, PHP_STREAM_COPY_ALL, 0 TSRMLS_CC);
}
} else {
- php_error(E_WARNING, "%s() expects parameter 1 to be a string or a stream",
- get_active_function_name());
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Expecting parameter 1 to be a string or a stream");
return;
}