Changeset 56559 for trunk/tests/phpunit/tests/actions.php
- Timestamp:
- 09/12/2023 03:21:02 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/actions.php
r56548 r56559 388 388 public function test_action_closure() { 389 389 $hook_name = __FUNCTION__; 390 $closure = static function ( $a, $b ) {390 $closure = static function ( $a, $b ) { 391 391 $GLOBALS[ $a ] = $b; 392 392 }; … … 401 401 402 402 $hook_name2 = __FUNCTION__ . '_2'; 403 $closure2 = static function () {403 $closure2 = static function () { 404 404 $GLOBALS['closure_no_args'] = true; 405 405 };
Note: See TracChangeset
for help on using the changeset viewer.