Error "default 16" with PHP 5.1b3
| From: | Jeff Norton | Date: | Tue, 26 Jul 2005 05:21:25 +0000 |
| Subject: | Error "default 16" with PHP 5.1b3 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-219365@lists.php.net to get a copy of this message | ||
I upgraded from PHP 5.0.4 to 5.1b3 yesterday and all my scripts die the only
trace being a lone line:
default 16
written to the command window. There are a few Notice's that preceed that
look like:
Notice: Only variable references should be returned by reference in
c:\Programs\php\php-5.1b3\extras
\log4php\LoggerManager.php on line 92
Call Stack:
0.0043 1. {main}()
c:\cvs\ag1\eng\src\php\activegrid\data\test\mysqldataservicetest.php:0
0.0374 2.
require_once('C:\cvs\ag1\eng\src\php\activegrid\agunittest.php')
c:\cvs\ag1\eng\src\
php\activegrid\data\test\mysqldataservicetest.php:6
11.3656 3.
require_once('C:\cvs\ag1\eng\src\php\activegrid\util\xmlutils.php')
C:\cvs\ag1\eng\s
rc\php\activegrid\agunittest.php:13
11.3915 4.
require_once('C:\cvs\ag1\eng\src\php\activegrid\util\xmlmarshaller.php')
C:\cvs\ag1\
eng\src\php\activegrid\util\xmlutils.php:8
11.4067 5. LoggerManager::getLogger()
C:\cvs\ag1\eng\src\php\activegrid\util\xmlmarshaller.php:
15
PHP 5.1 doesn't seem to like Log4PHPs use of the reference operator. I'm
not sure if they're related
though. I took all the offending reference operators out of Log4PHP which
got rid of the notices. Now
it just with that one enigmatic error "default 16".