Mantis - Quercus
Viewing Issue Advanced Details
2590 block always 04-10-08 08:04 05-09-08 17:49
mikebevz  
ferg  
normal  
closed 3.1.5  
fixed  
none    
none 3.1.7  
0002590: 'Array' is an unknown function with Zend Framework
Hi,

When I try to port my existing ZendFramework-based project to Resin 3.1.5 I've got the following error message:
/home/resin/www/webapps/ROOT/v3/library/Zend/Loader.php:212: Fatal Error: 'Array' is an unknown function. [spl_autoload_register]

Should I put additional configuration into php.ini? For now I've got no php.ini file at all and cannot find any requirements about that in the documentation.

Thanks in advance,
Mike

Notes
(0002966)
mtolmacs   
04-12-08 23:35   
The source code which generates the error:
spl_autoload_register(array($class, 'autoload'));

It seems that the parser does not recognize inline array definition in function arguments.
(0003042)
ferg   
05-09-08 17:49   
php/0970