Sacharski Bartłomiej bfb28df9a1
[issue-2178] within() passes through $callback return value (#2185)
The `within()` function has been modified to pass-through the
return value of the callback function.

It is now possible to write code like:

```php
$out = within('/foo', function () {
  return 'bar';
});
```

The `$out` variable will now contain the value `'bar'`.

If the callback function returns nothing, then the return of
`within()` call will be `null`.

Fixes #2178
2020-10-03 20:49:42 +02:00
..
2018-09-06 13:03:38 +07:00
wip
2020-07-22 19:17:25 +03:00