Somebody has posted me a bug. The error they're getting is this.Strict Standards: Implicit cloning object of class 'Swift_DependencyContainer' because of 'zend.ze1_compatibility_mode' in /path/to/web/webroot/swift/lib/classes/Swift/DependencyContainer.php on line 66
Should I be concerned? The PHP install is the "hardened" PHP project with the Suhosin patch.
What on earth is zend.ze1_compatibility_mode and why is it choosing to make copies for all of the object references? It sounds like it's some "mode" to make PHP5 behave more like PHP4 but I don't know.
Here's the line it's fatal dying on in this case. It emits the same error for any other line that instantiates an object.
Code: Select all
/**
* Returns a singleton of the DependencyContainer.
* @return Swift_DependencyContainer
*/
public static function getInstance()
{
if (!isset(self::$_instance))
{
self::$_instance = new self(); // <--- THIS LINE
}
return self::$_instance;
}