[buddypress-trac] [BuddyPress Trac] #9313: Prepare for PHP 8.5

buddypress-trac noreply at wordpress.org
Tue Dec 16 16:24:11 UTC 2025


#9313: Prepare for PHP 8.5
-------------------------+---------------------
 Reporter:  espellcaste  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  15.0.0
Component:  Core         |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+---------------------

Comment (by espellcaste):

 In [changeset:"14149" 14149]:
 {{{
 #!CommitTicketReference repository="" revision="14149"
 Code Modernization: address the only, so far, two issues related to PHP
 8.5.

 - Instances of using `null` as an array offset.
 - `ArrayIterator::__construct()`: Using an object as a backing array for
 ArrayIterator is deprecated.

 Reference:
 https://wiki.php.net/rfc/deprecations_php_8_5\#deprecate_arrayobject_and_arrayiterator_with_objects

 Developed in https://github.com/buddypress/buddypress/pull/425

 Follow-up to [14147].

 Props espellcaste.

 See #9313 (trunk)
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9313#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list