mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
12 lines
216 B
PHP
12 lines
216 B
PHP
<?php
|
|
|
|
dataset('bound.closure', function () {
|
|
yield function () { return 1; };
|
|
yield function () { return 2; };
|
|
});
|
|
|
|
dataset('bound.array', [
|
|
function () { return 1; },
|
|
function () { return 2; },
|
|
]);
|