Advertising
Paste Description for rewbs
Patch for http://bugs.php.net/45622
- rewbs
- Friday, July 25th, 2008 at 2:59:48am MDT
- Index: ext/spl/spl_array.c
- ===================================================================
- RCS file: /repository/php-src/ext/spl/spl_array.c,v
- retrieving revision 1.71.2.17.2.13.2.18
- diff -u -w -p -r1.71.2.17.2.13.2.18 spl_array.c
- --- ext/spl/spl_array.c 24 Jul 2008 15:54:41 -0000 1.71.2.17.2.13.2.18
- +++ ext/spl/spl_array.c 25 Jul 2008 08:36:12 -0000
- @@ -699,7 +699,6 @@ static int spl_array_has_property(zval *
- if (!std_object_handlers.has_property(object, member, 2 TSRMLS_CC)) {
- return spl_array_has_dimension(object, member, has_set_exists TSRMLS_CC);
- }
- - return 0; /* if prop doesn't exist at all mode 0/1 cannot return 1 */
- }
- return std_object_handlers.has_property(object, member, has_set_exists TSRMLS_CC);
- } /* }}} */
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.