summaryrefslogtreecommitdiff
path: root/ext/soap/php_xml.c
diff options
context:
space:
mode:
authorGustavo Lopes <glopes@nebm.ist.utl.pt>2013-01-19 16:21:26 +0100
committerGustavo Lopes <glopes@nebm.ist.utl.pt>2013-01-22 11:33:29 +0100
commitaa0adce47d9b8ead59efede63a769e395e27bcd5 (patch)
treec24043df71456c3c84619c5b27dfbd3a72f23391 /ext/soap/php_xml.c
parent33b104c778c5c0e5446671397aaddd66efa4a7bc (diff)
downloadphp-git-aa0adce47d9b8ead59efede63a769e395e27bcd5.tar.gz
Fix bug #64023 (__toString() & SplFileInfo)
Defining a __toString() method was having no effect when concatenating the object. This was because the cast_object() handler would ignore __toString(). Using echo() directly would actually use __toString(), but this was a bug: the ECHO handler would try zend_std_cast_object_tostring() before cast_object(), but cast_object() should have priority as zend_std_cast_object_tostring() assumes an object with a zend_class_entry.
Diffstat (limited to 'ext/soap/php_xml.c')
0 files changed, 0 insertions, 0 deletions