ZF2-432: Constructor Zend\Stdlib\Glob::glob() cannot be static

Description

Even when using the skeleton I still have this issue. Noticed after updating to RC1/beta5. Complete error:

Fatal error: Constructor Zend\Stdlib\Glob::glob() cannot be static in /Blah/zf2/library/Zend/Stdlib/Glob.php on line 197

Will try to install xdebug step trace the error.

Update: XDEBUG output

( ! ) Fatal error: Constructor Zend\Stdlib\Glob::glob() cannot be static in /Users/ruud/Documents/Projects/zf2/library/Zend/Stdlib/Glob.php on line 197 Call Stack

Time Memory Function Location

1 0.0021 325428 {main}( ) ../index.php:0 2 0.0078 507780 Zend\Mvc\Application::init( ) ../index.php:12 3 0.0332 1599744 Zend\ModuleManager\ModuleManager->loadModules( ) ../Application.php:250 4 0.0333 1599792 Zend\EventManager\EventManager->trigger( ) ../ModuleManager.php:100 5 0.0333 1599868 Zend\EventManager\EventManager->triggerListeners( ) ../EventManager.php:209 6 0.0358 1637228 call_user_func ( ) ../EventManager.php:469 7 0.0358 1637244 Zend\ModuleManager\Listener\ConfigListener->onLoadModulesPost( ) ../EventManager.php:0 8 0.0358 1637244 Zend\ModuleManager\Listener\ConfigListener->addConfigByPath( ) ../ConfigListener.php:164 9 0.0358 1637460 Zend\Loader\StandardAutoloader->autoload( ) ../StandardAutoloader.php:0 10 0.0358 1637508 Zend\Loader\StandardAutoloader->loadClass( ) ../StandardAutoloader.php:215

Comments

What version of PHP are you using? This should not be an issue for PHP versions 5.3.3 and up...

Using 5.3.13

php --version PHP 5.3.13 with Suhosin-Patch (cli) (built: Jun 20 2012 17:05:20) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

What OS?

OSX Mountain Lion

Daim, sorry cli is somehow running different then my local devel server. I'm running under PHP Version 5.3.1. Upgrading now

Yeah, was about to close as cannot reproduce anyways -- I've tried on 5.3.3, 5.3.11, and 5.4.1, and have no errors. :)

Upgrade to mountain lion caused to load some old config. Confirmed that issue doesn't occur under 5.3.13. Please close the bug.