__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 <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]... > From: [EMAIL PROTECTED] > 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 > Need backtrace: http://bugs.php.net/fix.php?id=15523&r=needtrace > Try newer version: 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 > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php