note 46320 added to language.oop5.exceptions

From: Date: Thu, 07 Oct 2004 01:16:30 +0000
Subject: note 46320 added to language.oop5.exceptions
Groups: php.notes 
Request: Send a blank email to php-notes+get-78104@lists.php.net to get a copy of this message
The base exception class, which is build in PHP5 has also a function getLine(). This is as expected if you look at the class define. But it is not noticed there. I had just this code: <?php try { throw new Exception("test") } catch (Exception $e) { echo $e->getLine() } ?> And this worked. ---- Manual Page -- http://www.php.net/manual/en/language.oop5.exceptions.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+46320 Delete -- http://master.php.net/manage/user-notes.php?action=delete+46320&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+46320&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#78104) next »