Skip to content

Commit 51856a7

Browse files
committed
Fixed bug #69152
1 parent 4c3b73b commit 51856a7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ext/soap/soap.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,12 @@ PHP_METHOD(SoapFault, __toString)
924924

925925
zend_call_function(&fci, NULL TSRMLS_CC);
926926

927+
convert_to_string(faultcode);
928+
convert_to_string(faultstring);
929+
convert_to_string(file);
930+
convert_to_long(line);
931+
convert_to_string(trace);
932+
927933
len = spprintf(&str, 0, "SoapFault exception: [%s] %s in %s:%ld\nStack trace:\n%s",
928934
Z_STRVAL_P(faultcode), Z_STRVAL_P(faultstring), Z_STRVAL_P(file), Z_LVAL_P(line),
929935
Z_STRLEN_P(trace) ? Z_STRVAL_P(trace) : "#0 {main}\n");

0 commit comments

Comments
 (0)