note 46320 deleted from language.exceptions by bjori
| From: | bjori@php.net | Date: | Fri, 28 Nov 2008 17:22:49 +0000 |
| Subject: | note 46320 deleted from language.exceptions by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147076@lists.php.net to get a copy of this message | ||
Note Submitter: php5 at grapio dot nl
----
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.