Changeset 46214 for trunk/tests/phpunit/tests/functions.php
- Timestamp:
- 09/20/2019 10:01:36 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions.php
r45755 r46214 919 919 */ 920 920 function test_wp_json_encode_depth() { 921 if ( version_compare( PHP_VERSION, '5.5', '<' ) ) {922 $this->markTestSkipped( 'json_encode() supports the $depth parameter in PHP 5.5+' );923 };924 925 921 $data = array( array( array( 1, 2, 3 ) ) ); 926 922 $json = wp_json_encode( $data, 0, 1 );
Note: See TracChangeset
for help on using the changeset viewer.