Issues

ZF-3417: protected magic functions

Issue Type: Bug Created: 2008-06-09T04:34:07.000+0000 Last Updated: 2008-09-02T10:39:18.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Daniel Hartmann (danielmitd) Assignee: Stanislav Malyshev (stas) Tags: Related issues: Attachments:

Description

current php 5.3 snapshot throws the following fatal errors:

[09-Jun-2008 14:26:08] PHP Fatal error: The magic method __get() must have public visibility and can not be static in /usr/local/lib/php/Zend/Session/Namespace.php on line 247 [09-Jun-2008 14:27:14] PHP Fatal error: The magic method __set() must have public visibility and can not be static in /usr/local/lib/php/Zend/Session/Namespace.php on line 269 [09-Jun-2008 14:27:39] PHP Fatal error: The magic method __isset() must have public visibility and can not be static in /usr/local/lib/php/Zend/Session/Namespace.php on line 354 [09-Jun-2008 14:28:07] PHP Fatal error: The magic method __isset() must have public visibility and can not be static in /usr/local/lib/php/Zend/Session/Namespace.php on line 354 [09-Jun-2008 14:28:33] PHP Fatal error: The magic method __unset() must have public visibility and can not be static in /usr/local/lib/php/Zend/Session/Namespace.php on line 374 [09-Jun-2008 14:28:50] PHP Fatal error: The magic method __isset() must have public visibility and can not be static in /usr/local/lib/php/Zend/Config.php on line 181 [09-Jun-2008 14:29:33] PHP Fatal error: The magic method __unset() must have public visibility and can not be static in /usr/local/lib/php/Zend/Config.php on line 193

perhaps there are more of them

Comments

Posted by Daniel Hartmann (danielmitd) on 2008-06-09T05:05:27.000+0000

an other one is located in:

PHP Fatal error: The magic method __call() must have public visibility and can not be static in /usr/local/lib/php/Zend/Db/Select.php on line 1162

its a general issue

Posted by Wil Sinclair (wil) on 2008-06-09T09:48:56.000+0000

Re-assigning to Matthew as he is more familiar with the PHP 5.3-related issues.

Posted by julien PAULI (doctorrock83) on 2008-06-12T10:10:33.000+0000

I'm wondering why did the PHPGroup take such a decision ?

Posted by Matthew Weier O'Phinney (matthew) on 2008-06-16T08:57:17.000+0000

Julien -- I have no idea why; probably to be present a more "pure" implementation.

Posted by Matthew Weier O'Phinney (matthew) on 2008-06-16T08:58:24.000+0000

Stas corrected all places this occurred during the week of 9 June 2008.

Posted by julien PAULI (doctorrock83) on 2008-06-16T09:16:51.000+0000

That could help : http://wiki.php.net/rfc/protectedlookup http://marc.info//…

Posted by Wil Sinclair (wil) on 2008-09-02T10:39:18.000+0000

Updating for the 1.6.0 release.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts