note 101502 added to function.set-exception-handler

From: Date: Tue, 21 Dec 2010 13:44:30 +0000
Subject: note 101502 added to function.set-exception-handler
Groups: php.notes 
Request: Send a blank email to php-notes+get-175095@lists.php.net to get a copy of this message
In my case solution was simple for "exception thrown without a stack frame in Unknown on line 0" - just added "(string)" before simpleXML value: $url = "http://myUrl"; $data = file_get_contents($url); $xml = new SimpleXMLElement($data); $myValue = (string)$xml->myValue; ---- Server IP: 69.147.83.197 Probable Submitter: 93.72.51.170 ---- Manual Page -- http://www.php.net/manual/en/function.set-exception-handler.php Edit -- https://master.php.net/note/edit/101502 Del: integrated -- https://master.php.net/note/delete/101502/integrated Del: useless -- https://master.php.net/note/delete/101502/useless Del: bad code -- https://master.php.net/note/delete/101502/bad+code Del: spam -- https://master.php.net/note/delete/101502/spam Del: non-english -- https://master.php.net/note/delete/101502/non-english Del: in docs -- https://master.php.net/note/delete/101502/in+docs Del: other reasons-- https://master.php.net/note/delete/101502 Reject -- https://master.php.net/note/reject/101502 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#175095) next »