Bug #15397 Updated: include_once bombing on passed value by variable vs string

From: Date: Wed, 06 Feb 2002 07:36:36 +0000
Subject: Bug #15397 Updated: include_once bombing on passed value by variable vs string
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-79319@lists.php.net to get a copy of this message
ID: 15397 Updated by: derick@php.net Reported By: dev@thebinarylab.com -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: win2k PHP Version: 4.1.1 New Comment: I could not reproduce this at all with 4.2.0-dev. Can you please post a full script that reproduces the problem, the errors/warnings you get, and what you expected you would get? Derick Previous Comments: ------------------------------------------------------------------------ [2002-02-06 00:54:38] dev@thebinarylab.com On win2k, interesting bit: class barFly{ func IaintDrinkinNoMilkHanibal($somefile) { include($somefile); //works fine include_once($somefile); //blows } } any ideas? I can verify that the "somefile" infact exist or doesnt exist, either way I should get it included or get a warning, and with include() I do, but with include_once() I get a fatal error which suxors... dank je well! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15397&edit=1

« previous php.dev (#79319) next »