Comments (1)
I'm sorry but we no longer recommend using inline PHP statements, just block like:
@php
$language = 'abcd';
@endphp
There's been too many issues with the Blade compiler in the past which lead us to remove this usage from the docs. Please use native opening and closing tags if you need this.
from framework.
Related Issues (20)
- about FormRequest bail HOT 1
- Unescaped Reserverd keyword on Postgres HOT 2
- Custom route binding for backed enums doesn't work
- Bulk Update and Creation Report HOT 1
- Query building is failing if using '->having()' method HOT 2
- Xdebug infinite loop error HOT 1
- Unexpected behaviour creating through HasOne HOT 6
- Create method returns always first record with related internal model HOT 2
- BackedEnum on Route already resolved HOT 3
- Things break if you mix the @php(...) inline directive with @php and @endphp HOT 2
- isRelation checks only if a method exists but not if a relation is returned HOT 5
- Booted in a trait with trait name does not work HOT 2
- When the Laravel session key is' 123 ', obtaining data is empty
- Model::preventLazyLoading() not working HOT 2
- Model retrieved event fires before eager loaded relationships are populated HOT 2
- SQLiteGrammar.php compileColumns failing on quotes around table name HOT 2
- [11.9.0] Event appears to be fired twice in test HOT 1
- Reopening: Queue priorities & block_for shouldn't be used together HOT 2
- BelongsToMany relation withoutGlobalScope() is not being applied HOT 1
- Out of memory when sending large disk attachments HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.