[wp-trac] [WordPress Trac] #35058: PHP Fatal when map_deep tries to work on an object that has a property by reference

WordPress Trac noreply at wordpress.org
Wed Dec 16 20:35:29 UTC 2015


#35058: PHP Fatal when map_deep tries to work on an object that has a property by
reference
--------------------------+--------------------
 Reporter:  jeff@…        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.4.1
Component:  Formatting    |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+--------------------
Changes (by swissspidy):

 * keywords:   => needs-patch


Comment:

 Both patches don't pass the unit tests.

 The first one because it doesn't consider objects, the second one because
 only variables can be passed by reference (`&$value` triggers a fatal
 error)

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


More information about the wp-trac mailing list