Changeset 57011
- Timestamp:
- 10/26/2023 08:31:45 PM (12 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/php-compat/readonly.php
r54951 r57011 5 5 * 6 6 * In order to avoid PHP parser errors, this function was extracted 7 * to this separate file and is only included conditionally on PHP 8.1.7 * to this separate file and is only included conditionally on PHP < 8.1. 8 8 * 9 9 * Including this file on PHP >= 8.1 results in a fatal error. -
trunk/tests/phpunit/tests/general/template_CheckedSelectedHelper.php
r51586 r57011 57 57 * @ticket 53858 58 58 * @covers ::readonly 59 * @requires PHP < 8.1 59 60 */ 60 61 public function test_readonly_with_equal_values() { 61 if ( ! function_exists( 'readonly' ) ) {62 $this->markTestSkipped( 'readonly() function is not available on PHP 8.1' );63 }64 65 62 $this->setExpectedDeprecated( 'readonly' ); 66 63
Note: See TracChangeset
for help on using the changeset viewer.