php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15397 include_once bombing on passed value by variable vs string
Submitted: 2002-02-06 00:54 UTC Modified: 2002-04-15 00:00 UTC
From: dev at thebinarylab dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4.1.1 OS: win2k
Private report: No CVE-ID: None
 [2002-02-06 00:54 UTC] dev at thebinarylab dot 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!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-06 02:36 UTC] derick@php.net
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
 [2002-04-15 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 05:01:30 2024 UTC