diff options
Diffstat (limited to 'ext/standard/uniqid.c')
| -rw-r--r-- | ext/standard/uniqid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/uniqid.c b/ext/standard/uniqid.c index c7a6bd58a7..feff29949c 100644 --- a/ext/standard/uniqid.c +++ b/ext/standard/uniqid.c @@ -57,7 +57,7 @@ PHP_FUNCTION(uniqid) /* Do some bounds checking since we are using a char array. */ if (prefix_len > 114) { - php_error(E_WARNING, "The prefix to uniqid should not be more than 114 characters."); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "The prefix to uniqid should not be more than 114 characters."); return; } #if HAVE_USLEEP && !defined(PHP_WIN32) |
