Laravel

problem when i do dd() function

hi when i do a dd('test');

in the screen i see: ^ "test"

why i have"^" before the text i put in the dd() function.

thanks.

hizone
hizone
0
3
355
Haz
Haz
Moderator

Hello,

Welcome to the Codecourse forum!

Because it's a string that you are outputting. It's normal behaviour.

UPDATE: I just read your question again. Only the "test" is normal, it shouldn't have ^ in front of it. What exactly are you outputting? Can you show some code? Seems you are outputting something that isn't a string.

hizone
hizone

hi i get do in my controller dd('test');

and i how ^" before i didnt pass anything else jest 'test'