Bug #16293 Updated: string returned from functions mismatch with variable
| From: | derick@php.net | Date: | Sun, 07 Jul 2002 17:12:35 +0000 |
| Subject: | Bug #16293 Updated: string returned from functions mismatch with variable | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-13404@lists.php.net to get a copy of this message | ||
ID: 16293
Updated by: derick@php.net
Reported By: nickv@shift2solutions.com
-Status: Open
+Status: Feedback
Bug Type: Strings related
Operating System: Slackware Linux 2.4.17
PHP Version: 4.1.1
New Comment:
Please try the latest snapshot
(http://snaps.php.net/php4-latest.tar.gz) and report back if this is
still an issue.
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-03-26 15:59:09] nickv@shift2solutions.com
Writing a script that POSTed XML query to a java servlet, the servlet
would crash, saying that the XML document didn't follow the DTD... the
call went something like this:
echo htmlspecialchars(td_msg_query($blah->MsgXML()));
This would always give an error.
However, whenever we did this:
$test = $blah->MsgXML();
echo htmlspecialchars(td_msg_query($test));
It would work just fine.
$blah is an XML string builder class and td_msg_query does HTTP POSTs
via php sockets. a string is returned from MsgXML containing an entire
XML document. td_msg_query returns the response from the server after
the POST.
System Linux major 2.4.17 #60 SMP Thu Jan 24 17:41:40 CST 2002 i686
unknown
Build Date Mar 6 2002
Configure Command './configure' '--prefix=/usr/local/php'
'--with-dom=/usr/local/libxml' '--with-apache=../apache_1.3.20'
'--with-openssl=/usr/local/ssl' '--enable-dbase' '--enable-ftp'
'--with-zlib-dir' '--with-mysql=/usr/local/mysql'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/php/lib/php.ini
ZEND_DEBUG disabled
Thread Safety disabled
Zend Optimizer 1.2.0
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16293&edit=1