ID: 32609 Updated by: [EMAIL PROTECTED] Reported By: mlovett at morpace dot com Status: Open Bug Type: SimpleXML related Operating System: Windows XP PHP Version: 5.0.4 New Comment:
Cannot reproduce with HEAD, no 5.0.4 here on windows, anybody? And it workds fine on *nix. Previous Comments: ------------------------------------------------------------------------ [2005-04-06 17:24:09] mlovett at morpace dot com Description: ------------ Trying to load a simple xml file. PHP crashes (see the dialog box "Sorry, the CLI needs to close now" Reproduce code: --------------- <?php $xml = simplexml_load_file("my.xml"); if ($xml == false) throw new Exception("Problem loading file"); ?> /// here's the input file: <?xml version="1.0" encoding="iso-8859-1"?> <universe> <planet>mars</planet> <planet>jupiter</planet> </universe> Expected result: ---------------- I expected the file to load, or FALSE to be returned Actual result: -------------- CLI crashes ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32609&edit=1