From: ckl at ecw dot de
Operating system: Windows XP SP 3
PHP version: 5.3.0alpha2
PHP Bug Type: Scripting Engine problem
Bug description: Could not find "Zend/Session.php" in Zend Framework
Description:
------------
My ZF application crashes, because "Zend/Session.php" could not be
located.
I assume this is not a ZF specific issue as the same Script already worked
with PHP 5.2.6.
There might (!) be a problem with the interpreter recognizing files with
the word "namespace" in file-, class- or function name.
Some information about the code:
* Zend_Session || Zend/Session.php *is* included
* require_once 'Zend/Session/Abstract.php' is included and throws no
error (Zend/Session.php line 32)
* require_once 'Zend/Session/Namespace.php' fails. The file is *not*
included
As I already mentioned, this code worked in PHP 5.2.6 and I don't think
that this is a problem of Zend Framwork.
Reproduce code:
---------------
function __autoload($clazzName)
{
Zend_Loader::loadClass($clazzName);
}
define('ROOT_DIR', dirname(dirname(__FILE__)));
// ...
// some trivial code that worked
// ...
Zend_Session::start();
Expected result:
----------------
I expected a working code...
Actual result:
--------------
"Could not find class Zend_Session in ... at line 0"
--
Edit bug report at http://bugs.php.net/?id=46000&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=46000&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=46000&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=46000&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46000&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=46000&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46000&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46000&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46000&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46000&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46000&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=46000&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=46000&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46000&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46000&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46000&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46000&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46000&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46000&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46000&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46000&r=mysqlcfg