Re: Line of execution
| From: | Salman AS | Date: | Wed, 05 Jul 2000 06:20:30 +0000 |
| Subject: | Re: Line of execution | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4879@lists.php.net to get a copy of this message | ||
use build-in constant __FILE__ for filename and __LINE__ for the line
Cheers
SaS
Cristopher Daniluk wrote:
> For debugging/logging purposes, is there a way to get the current line of
> execution (or roundabout neighborhood) of a script? I believe there is but I
> can't remember the constant name.
>
> Thanks,
>
> Cris Daniluk
> Digital Services Network, Inc.