[wp-trac] [WordPress Trac] #47704: PHP 7.4: Fix issues regarding accessing null/bool/etc as if they were an array
WordPress Trac
noreply at wordpress.org
Thu Sep 19 14:29:40 UTC 2019
#47704: PHP 7.4: Fix issues regarding accessing null/bool/etc as if they were an
array
--------------------------------------------+---------------------
Reporter: jrf | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.3
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests php74 | Focuses:
--------------------------------------------+---------------------
Comment (by desrosj):
In [changeset:"46185" 46185]:
{{{
#!CommitTicketReference repository="" revision="46185"
PHP 7.4: Fix another instance of array access on a datatype that cannot be
accessed as an array.
PHP 7.4 adds a warning when trying access a null/bool/int/float/resource
(everything but array, string and object) as if it were an array.
Follow up of [45639].
Props desrosj, jrf.
See #47704.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47704#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list