[wp-trac] [WordPress Trac] #60190: Drop PHP 4 support for arrays with 1 object element

WordPress Trac noreply at wordpress.org
Wed Feb 7 18:28:54 UTC 2024


#60190: Drop PHP 4 support for arrays with 1 object element
--------------------------------------+------------------------------
 Reporter:  kkmuffme                  |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Plugins                   |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by swissspidy):

 > This will fail with a fatal error in PHP 7+

 Can you elaborate on that? The existing
 `test_action_args_with_php4_syntax` test seems to work just fine without
 triggering errors.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60190#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list