Skip to content Skip to footer navigation
You are reading the Statamic 6 Alpha docs. πŸ‘€

Dump Modifier

Dump a variable to the browser and see under the hood with data types and array exportation. Definitely just for debugging when in development.

food:
delicious:
- bacon
- sushi
{{ food | dump }}
@dd($food)
array:2 [β–Ό
"delicious" => array:2 [β–Ά]
]
Hot Tip!

You can also use the dump tag to achieve a similar effect.

A troll pointing a teaching stick