#22167 [Csd->Bgs]: require syntax changed
| From: | sniper@php.net | Date: | Tue, 11 Feb 2003 14:36:17 +0000 |
| Subject: | #22167 [Csd->Bgs]: require syntax changed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32769@lists.php.net to get a copy of this message | ||
ID: 22167
Updated by: sniper@php.net
Reported By: s.birkhoff@liwest.at
-Status: Closed
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Windows
PHP Version: 4.3.0
New Comment:
yes, leave this in bogus status..thanks.
Previous Comments:
------------------------------------------------------------------------
[2003-02-11 08:31:35] s.birkhoff@liwest.at
sorry
same error is allready open for solaris and true 64
seems to be a general problem of the 4.3.0 Version,
4.2.3 works fine
------------------------------------------------------------------------
[2003-02-11 08:15:42] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.
Thank you for your interest in PHP.
There's only one change..and it's how the paths work.
The syntax is not changed.
And there is already bug report about the path issue.
------------------------------------------------------------------------
[2003-02-11 07:54:15] s.birkhoff@liwest.at
What won't work is:
require ("/mypath/thisfile.php");
require ($mypath."thisfile.php");
what work is:
require '/mypath/thisfile.php';
------------------------------------------------------------------------
[2003-02-11 07:41:08] sniper@php.net
This really hasn't changed...WHAT works and what doesn't?
------------------------------------------------------------------------
[2003-02-11 07:40:31] s.birkhoff@liwest.at
sorry last 2 lines should be:
$classpath = "./mypath/";
require($classpath."thisfile.php");
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22167
--
Edit this bug report at http://bugs.php.net/?id=22167&edit=1