projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c3b73b
)
Fixed bug #69152
author
Dmitry Stogov
<dmitry@zend.com>
Thu, 19 Mar 2015 08:36:01 +0000
(11:36 +0300)
committer
Dmitry Stogov
<dmitry@zend.com>
Thu, 19 Mar 2015 08:36:01 +0000
(11:36 +0300)
ext/soap/soap.c
patch
|
blob
|
history
diff --git
a/ext/soap/soap.c
b/ext/soap/soap.c
index d460c1718f31e9c7361b6157a98b99e9805bab64..41aa1ad892a37ad5ce96ee9238cc8f4f0a2c7a15 100644
(file)
--- a/
ext/soap/soap.c
+++ b/
ext/soap/soap.c
@@
-924,6
+924,12
@@
PHP_METHOD(SoapFault, __toString)
zend_call_function(&fci, NULL TSRMLS_CC);
+ convert_to_string(faultcode);
+ convert_to_string(faultstring);
+ convert_to_string(file);
+ convert_to_long(line);
+ convert_to_string(trace);
+
len = spprintf(&str, 0, "SoapFault exception: [%s] %s in %s:%ld\nStack trace:\n%s",
Z_STRVAL_P(faultcode), Z_STRVAL_P(faultstring), Z_STRVAL_P(file), Z_LVAL_P(line),
Z_STRLEN_P(trace) ? Z_STRVAL_P(trace) : "#0 {main}\n");