[wp-trac] [WordPress Trac] #26153: test_json_encode_decode fails in PHP 5.4

WordPress Trac noreply at wordpress.org
Fri Nov 22 01:20:06 UTC 2013


#26153: test_json_encode_decode fails in PHP 5.4
-----------------------------+------------------------------
 Reporter:  georgestephanis  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  low              |   Milestone:  Awaiting Review
Component:  Unit Tests       |     Version:  trunk
 Severity:  minor            |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------

Comment (by georgestephanis):

 And in 5.2, it would test that, because it would be included and called by
 [http://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/compat.php#L64 json_encode() and json_decode()].

 If we mean to test the library in a version of php that I don't believe it
 would ever need to be included on, would you be okay with updating it by
 adding a `static` keyword so that it runs cleanly on 5.4?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26153#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list