com php-src: Oops, forgot error parameter: Zend/zend_compile .c

From: Date: Thu, 07 Mar 2019 06:44:16 +0000
Subject: com php-src: Oops, forgot error parameter: Zend/zend_compile .c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-105039@lists.php.net to get a copy of this message
Commit: 7803cb32afbb932c5a56bf9071f7a3b4da35e250 Author: Stanislav Malyshev <stas@php.net> Wed, 6 Mar 2019 22:44:16 -0800 Parents: 0ef6c626859c365fcc89c27b4acd2c33454f98b4 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7803cb32afbb932c5a56bf9071f7a3b4da35e250 Log: Oops, forgot error parameter Changed paths: M Zend/zend_compile.c Diff: diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index b6ed8c9..75ce81a 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -5500,7 +5500,7 @@ static void zend_check_magic_method_attr(uint32_t attr, const char* method, zend { if (is_static) { if (!(attr & ZEND_ACC_PUBLIC) || !(attr & ZEND_ACC_STATIC)) { - zend_error(E_WARNING, "The magic method %s() must have public visibility and be static"); + zend_error(E_WARNING, "The magic method %s() must have public visibility and be static", method); } } else if (!(attr & ZEND_ACC_PUBLIC) || (attr & ZEND_ACC_STATIC)) { zend_error(E_WARNING,

« previous php.cvs (#105039) next »