Laravel - Views and Blade Templates
Given a Laravel controller passes $user = ['name' => 'Anna'] to a Blade template, what will this Blade code output?
<h1>Hello, {{ $user['name'] }}!</h1><h1>Hello, {{ $user['name'] }}!</h1>15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions