ZF-12194: Notice on casting in abstract class
Description
Hi,
since PHP 5.4 an E_NOTICE is thrown in Zend_Validate_Abstract on line 233 (and 268) because of this cast when $value is an array: ````
Could be please also say if this is going to be fixed in ZF 1.x or maybe only 2.x ?
Thanks in advance Rene
Comments
Posted by Rene Roesch (reneroesch) on 2012-09-27T16:01:40.000+0000
Hi,
I don't want to bump this, but altough the related issue is marked as fixed, this issue has not been solved yet. The mentioned array-to-string cast is still being performed.
Greetings Rene
Posted by Frank Brückner (frosch) on 2012-09-27T18:12:44.000+0000
We will fix this with the next mini release.
Posted by Frank Brückner (frosch) on 2012-10-26T07:50:22.000+0000
More infos: http://php.net/manual/en/…
Posted by Frank Brückner (frosch) on 2012-10-26T07:52:41.000+0000
Patch added.
Posted by Frank Brückner (frosch) on 2012-10-26T07:54:06.000+0000
Unit tests fixed in Validate. (Replace "assertType")
Posted by Rob Allen (rob) on 2012-11-07T20:33:26.000+0000
Applied patch to trunk (25104) and release-1.12 (25105)