>
> Sent: Thursday, November 22, 2001 4:15 PM
> Subject: [PHP] error handling and __LINE__
>
>
> | Hi,
> | I wonder if there's a way to find the line number of the calling script
> | from a function, like the error messages PHP generates. An example:
> |
>
<[EMAIL PROTECTED]>
Sent: Thursday, November 22, 2001 4:15 PM
Subject: [PHP] error handling and __LINE__
| Hi,
| I wonder if there's a way to find the line number of the calling script
| from a function, like the error messages PHP generates. An example:
|
| In an included
Hi,
I wonder if there's a way to find the line number of the calling script
from a function, like the error messages PHP generates. An example:
In an included file I have a function and want to do something similar to:
function foo($obj) {
if (!is_object($obj)) {
echo "Error: suppli
3 matches
Mail list logo