Re: Bug #15523: Line Number
| From: | Tobias Schenck | Date: | Tue, 12 Feb 2002 15:22:47 +0000 |
| Subject: | Re: Bug #15523: Line Number | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-79977@lists.php.net to get a copy of this message | ||
__LINE__ (case-insensitive)
The number of the line within the current script file which is being parsed.
If used within a file which has been included or required, then the position
within the included file is given.
The documentation is on the Web-Site under the following URL:
http://www.php.net/manual/en/language.constants.predefined.php
Would you please be so kind to close the Bug-Report?
kind regards,
Tobias
<blanke@ddd.de> schrieb im Newsbeitrag news:bug-15523@bugs.php.net...
> From: blanke@ddd.de
> Operating system: Linux
> PHP version: 4.1.1
> PHP Bug Type: Feature/Change Request
> Bug description: Line Number
>
> Hi there !
>
> I think it would be great if it would be possible to find out from which
> line of a script a function has been called.
> example
>
> 1 function blah()
> 2 {
> 3 echo("Function blah has been called from line 6");
> 4 }
> 5
> 6 blah();
>
>
> --
> Edit bug report at http://bugs.php.net/?id=15523&edit=1
> --
> Fixed in CVS:
> http://bugs.php.net/fix.php?id=15523&r=fixedcvs
> Fixed in release: http://bugs.php.net/fix.php?id=15523&r=alreadyfixed-d
> GŸ±ëOнÀ†8
> Need backtrace:
> http://bugs.php.net/fix.php?id=15523&r=needtrace
> Try newer version: $
> V� H¤$ËdcTÿBÛÚhttp://bugs.php.net/fix.php?id=15523&r=oldversion
> Not developer issue:
> http://bugs.php.net/fix.php?id=15523&r=support
> Expected behavior:
> http://bugs.php.net/fix.php?id=15523&r=notwrong
> Not enough info:
> http://bugs.php.net/fix.php?id=15523&r=notenoughinfo
> Submitted twice:
> http://bugs.php.net/fix.php?id=15523&r=submittedtwice
>