Changeset 51657 for trunk/tests/phpunit/tests/actions/closures.php
- Timestamp:
- 08/26/2021 12:57:08 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/actions/closures.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/actions/closures.php
r46586 r51657 13 13 function test_action_closure() { 14 14 $tag = 'test_action_closure'; 15 $closure = function( $a, $b ) {15 $closure = static function( $a, $b ) { 16 16 $GLOBALS[ $a ] = $b; 17 17 }; … … 26 26 27 27 $tag2 = 'test_action_closure_2'; 28 $closure2 = function() {28 $closure2 = static function() { 29 29 $GLOBALS['closure_no_args'] = true; 30 30 };
Note: See TracChangeset
for help on using the changeset viewer.