At 08:34 25-6-2001 +0000, [EMAIL PROTECTED] wrote: >From: [EMAIL PROTECTED] >Operating system: Linux 5.2 >PHP version: 4.0.5 >PHP Bug Type: Feature/Change Request >Bug description: Need something like a __LINE__ constant to show the line >in *main* file. > >When some error happens in function within included file it is sometimes >very hard to find from which line in the main script (containing include >function) this function was called. It would be much better if there were >a way to get the number of the line within the main script file which is >being parsed. __FILE__ >file1: > >include ("file2"); >some_function(); > > >file2: > >function some_function() { >... >} > > > > >-- >Edit Bug report at: http://bugs.php.net/?id=11651&edit=1 > > > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]