Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

Re: [PHP] weird parser error messages since PHP4 From: Faisal Nasim (faisal <email protected>)
Date: 07/14/00

Hi,

require() is different from include(). If you require()
a file, that file is now the current file and the line numbers
don't start from 0. Read the documentation about require().

Enjoy!

Faisal

At 01:08 AM 7/15/2000 +0100, Adam Charnock wrote:
>Yeah, I get that to. I think it could well be a bug.
>
>Adam
>
>At 13:39 14-07-00 -0700, you wrote:
>>Hi,
>>
>>Since I upgraded to PHP4 the parser error messages seem to be messed up. I
>>do not get the actual file name and proper line number but instead the name
>>of a file I included with require and a big line number (maybe everything is
>>added up).
>>Does anybody else know this problem? Or is this a bug, which should be
>>submitted?
>>
>>Plattform: PHP 4.0.1-Dev (from download.swwwing.com) as ISAPI module on
>>WinNT 4, SP6a, IIS4 with the OCI8 and GD extensions.
>>
>>Thanks,
>>
>>BTW: PHP4 is really great. Running as ISAPI it is just as fast as you can
>>imagine. Great work!
>>
>>Florian Clever
>>
>>USA 503 977-0480 (Office)
>>USA 503 246-2803 (home)
>>
>>http://www.Clever-Software-Solutions.de
>>
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, e-mail: php-general-unsubscribe <email protected>
>>For additional commands, e-mail: php-general-help <email protected>
>>To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe <email protected>
>For additional commands, e-mail: php-general-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>