On 18-Mar-01 Steve Wardell wrote:
> Say you have index.php and 20 lines into index.php you include file.inc and
> there's an error on line 30 of file.inc, but I'm pretty sure PHP would say
> there was an error on line 50 of index.php and not like 30 of file.inc. It
> doesn't keep track of included files as separate files that are called but
> rather sort of merges it in memory into one file to run it seems.
> 

just tried it,

hitstats.php
------

require('secure.php');
    authuser("Statistics");
include('history.php');
include('fpstats.php');


if (isset($lint))
    error_reporting(31);
...

fpstats.php
-------
removed a semi-colon.

browser output
-------
<br>
<b>Parse error</b>:  parse error in <b>fpstats.php</b> on line <b>130</b><br>
--
PHP/3.0.18 (maybe a 4.0 thing ?)


Regards,
-- 
Don Read                                         [EMAIL PROTECTED]
-- If you are going to sin, sin against God, not the bureaucracy. 
                  God will forgive you but the bureaucrats won't. 

-- 
PHP General 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]

Reply via email to