Date: 07/22/00
- Next message: Zeev Suraski: "[PHP-DEV] Re: segfault on linux, crash on win *no* circular include with include_once()"
- Previous message: Olivier Cahagne: "[PHP-DEV] ./cconfigure --without-dbm would help"
- Next in thread: Zeev Suraski: "[PHP-DEV] Re: segfault on linux, crash on win *no* circular include with include_once()"
- Reply: Zeev Suraski: "[PHP-DEV] Re: segfault on linux, crash on win *no* circular include with include_once()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I´m getting a segfault and a crash with include_once(), actually it
results in a "parse error" (but it isn´t) if I place a die() after that
include_once(), if I don´t do that, PHP crashes
What I´m doing is the following:
file a (named class.php)
chdir('extension/');
include_once('class.ext.php');
chdir('../../db/');
file b:
include_once('../class.php');
*IF* I´d use include() (not include_once()) it should result in a
infinite loop, but include_once() shouldn´t do that.
Perhaps include_once() isn´t smart enough to know that it actually
parses the file it tries to include once again.
regards
-- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott <email protected> | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Zeev Suraski: "[PHP-DEV] Re: segfault on linux, crash on win *no* circular include with include_once()"
- Previous message: Olivier Cahagne: "[PHP-DEV] ./cconfigure --without-dbm would help"
- Next in thread: Zeev Suraski: "[PHP-DEV] Re: segfault on linux, crash on win *no* circular include with include_once()"
- Reply: Zeev Suraski: "[PHP-DEV] Re: segfault on linux, crash on win *no* circular include with include_once()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

