File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ PHP NEWS
18
18
. Fixed bug GH-8466 (ini_get() is optimized out when the option does not
19
19
exist). (Arnaud)
20
20
21
+ - Soap:
22
+ . Fixed bug GH-8578 (Error on wrong parameter on SoapHeader constructor).
23
+ (robertnisipeanu)
24
+
21
25
- SPL:
22
26
. Fixed bug GH-8235 (iterator_count() may run indefinitely). (cmb)
23
27
Original file line number Diff line number Diff line change @@ -580,7 +580,7 @@ PHP_METHOD(SoapHeader, __construct)
580
580
if (ZSTR_LEN (actor_str ) > 2 ) {
581
581
add_property_stringl (this_ptr , "actor" , ZSTR_VAL (actor_str ), ZSTR_LEN (actor_str ));
582
582
} else {
583
- zend_argument_value_error (2 , "must be longer than 2 characters" );
583
+ zend_argument_value_error (5 , "must be longer than 2 characters" );
584
584
RETURN_THROWS ();
585
585
}
586
586
} else if (!actor_is_null ) {
You can’t perform that action at this time.
0 commit comments