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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dev at thebinarylab dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Mon Jul 06 03:01:28 2020 UTC