S
S
suhuxa12018-02-17 12:25:00
Yii
suhuxa1, 2018-02-17 12:25:00

Is there an analogue of the dd function in Laravel in yii?

Let me explain: dd() - prints an array in a beautiful way in Laravel. It turns out a kind of mixture between print_r and var_dump. And an even easier explanation - dd( ) is like an xdebug extension. Is it possible to display data in yii?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Fedorov, 2018-02-17
@suhuxa1

Yii2 has its own dumper:
www.yiiframework.com/doc-2.0/yii-helpers-vardumper.html
And in Lark, this is the Symfony
The VarDumper Component
In Lark, they use it (see which classes are included):
https:// github.com/laravel/framework/blob/5.5/src/...

S
Shamil Khairulaev, 2021-12-29
@ComPUCKter

You can download the wardamper as a separate element and use it anywhere. https://symfony.com/doc/current/components/var_dum...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question