Commit: df3d351cad7ecc2b6087e7f26edf6fa8b22cd960 Author: Anthony Ferrara <ircmax...@gmail.com> Tue, 12 Jun 2012 14:10:35 -0400 Parents: 4918acccc6bd23f907b6712bdd04fcd265a411b0 Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=df3d351cad7ecc2b6087e7f26edf6fa8b22cd960 Log: Update error messages to be more inline with PHP standards Changed paths: M ext/hash/hash.c Diff: diff --git a/ext/hash/hash.c b/ext/hash/hash.c index 71f3753..40023f7 100644 --- a/ext/hash/hash.c +++ b/ext/hash/hash.c @@ -629,12 +629,12 @@ PHP_FUNCTION(hash_pbkdf2) } if (iterations <= 0) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Iterations Must Be A Positive Integer: %ld", iterations); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Iterations must be a positive integer: %ld", iterations); RETURN_FALSE; } if (length < 0) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Length Must Be Greater Than Or Equal To 0: %ld", length); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Length must be greater than or equal to 0: %ld", length); RETURN_FALSE; } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php