php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6877 require_once cant handle variables
Submitted: 2000-09-25 06:22 UTC Modified: 2000-09-25 19:06 UTC
From: voudras at NOSPAM dot swiftslayer dot org Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.2 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: voudras at NOSPAM dot swiftslayer dot org
New email:
PHP Version: OS:

 

 [2000-09-25 06:22 UTC] voudras at NOSPAM dot swiftslayer dot org
<?php
$file = "dingy.inc";
require_once($file); // fails
require_once("$file); // fails
require($file); // works
include_once($file); // works
?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-25 19:06 UTC] stas@php.net
Fixed in CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 24 03:01:33 2024 UTC