|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-04-06 18:41 UTC] helly@php.net
[2005-04-06 20:55 UTC] rrichards@php.net
[2005-04-16 12:50 UTC] sniper@php.net
[2005-04-16 13:26 UTC] rrichards@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 07:00:01 2025 UTC |
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