Hi!
> My recommendation would be to just borrow Rust's keyword:
>
> $result = match ($var) {
> $expression => $expression;
> $expression => $expression;
> $expression => $expression;
> default => $expression;
> }Yes, this would be much better idea. -- Stas Malyshev [email protected] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
