ID: 14604 Updated by: jan Reported By: [EMAIL PROTECTED] Status: Open Bug Type: WDDX related Operating System: Windows NT 4 sp 6a PHP Version: 4.1.0 New Comment:
at least for me your code works in the same way under 4.0.6 and 4.1.0 on FreeBSD 4.4-STABLE (yes, I finally updated ;): bash-2.05a$ ./php test.php X-Powered-By: PHP/4.0.6 Content-type: text/html <wddxPacket version='1.0'><header/><data><struct></struct></data></wddxPacket>bash-2.05a$ bash-2.05a$ ./php test.php X-Powered-By: PHP/4.1.0 Content-type: text/html <wddxPacket version='1.0'><header/><data><struct></struct></data></wddxPacket>bash-2.05a$ bash-2.05a$ cat test.php <?php $nazwisko = "Zgoda"; $imie = "Jarek"; $tmp = wddx_packet_start(); wddx_add_vars($tmp, $nazwisko, $imie); $rs = wddx_packet_end($tmp); echo $rs; ?> Previous Comments: ------------------------------------------------------------------------ [2001-12-19 09:48:07] [EMAIL PROTECTED] $nazwisko = "Zgoda"; $imie = "Jarek"; $tmp = wddx_packet_start(); wddx_add_vars($tmp, $nazwisko, $imie); $rs = wddx_packet_end($tmp); echo $rs; This code produces empty packet (just structure definition - no data) in 4.1.0, while it worked in 4.0.6 ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14604&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]