Changeset 56969 for trunk/tests/phpunit/tests/compat/arrayKeyLast.php
- Timestamp:
- 10/18/2023 10:39:19 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/compat/arrayKeyLast.php
r54064 r56969 26 26 */ 27 27 public function test_array_key_last( $expected, $arr ) { 28 if ( ! function_exists( 'array_key_last' ) ) { 29 $this->markTestSkipped( 'array_key_last() is not available.' ); 30 } else { 31 $this->assertSame( $expected, array_key_last( $arr ) ); 32 } 28 $this->assertSame( $expected, array_key_last( $arr ) ); 33 29 } 34 30
Note: See TracChangeset
for help on using the changeset viewer.