Re: [PHP] PHP5 simpleXML bug or am i just being silly :)

2004-02-27 Thread William Bailey
To follow up my question from yesterday i have made a test script that will produce the problem that i am seeing. The attached script will produce the following output on both my windows box (which runs a 2 day old php5 snapshot) and my FreeBSD box which uses a version out of the ports. The

Re: [PHP] PHP5 simpleXML bug or am i just being silly :)

2004-02-27 Thread William Bailey
OK sonce the php example code attachment go nuked here it is... [[::PHP START::]] ?php header('Content-type: text/plain'); $xmlstr = '?xml version=1.0? access user loginuser1/login passwordletMeIn/password sitewww.pro-net.co.uk/site sitewww.example.com/site

[PHP] PHP5 simpleXML bug or am i just being silly :)

2004-02-26 Thread William Bailey
Hi All, I am currently working with PHP5 beta and have found something strange with the simplexml objects. It seems to be forgetting its values. Below is an example.. [[the PHP5 code]] snip print('pre'); print('p$this-user::/p'); print_r($this-user);