Skip to content

[5.4] Make blade 'or' keyword case insensitive - #20425

Merged
taylorotwell merged 1 commit into
laravel:5.4from
4refael:blade_or
Aug 4, 2017
Merged

[5.4] Make blade 'or' keyword case insensitive#20425
taylorotwell merged 1 commit into
laravel:5.4from
4refael:blade_or

Conversation

@4refael

@4refael 4refael commented Aug 4, 2017

Copy link
Copy Markdown
Contributor

This will make the 'or' keyword case insensitive.
So {{ $email or old('email') }} will work the same as {{ $email OR old('email') }}.
Currently, the latter is evaluated to boolean.

@taylorotwell
taylorotwell merged commit 383c482 into laravel:5.4 Aug 4, 2017
@browner12

Copy link
Copy Markdown
Contributor

we are removing this in 5.5, correct?

@4refael
4refael deleted the blade_or branch August 14, 2017 05:56
@LucaRed

LucaRed commented Aug 15, 2017

Copy link
Copy Markdown
Contributor

Yes, because it's been replaced by the new PHP ?? operator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants