Changeset 60729 for trunk/tests/phpunit/tests/functions/maybeSerialize.php
- Timestamp:
- 09/11/2025 02:45:56 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/maybeSerialize.php
r57735 r60729 218 218 $new_value = unserialize( $serialized ); 219 219 $property = ( new ReflectionClass( 'WpOrg\Requests\Utility\FilteredIterator' ) )->getProperty( 'callback' ); 220 $property->setAccessible( true ); 220 if ( PHP_VERSION_ID < 80100 ) { 221 $property->setAccessible( true ); 222 } 221 223 $callback_value = $property->getValue( $new_value ); 222 224
Note: See TracChangeset
for help on using the changeset viewer.