Level 80
@petrogromovo It’s just a function. Use it if it makes sense to use it.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I found a blank function at https://laravel.com/docs/10.x/helpers#method-blank, which seems replacement of php methods !empty and set. Is using of blanc function preferable now inlaravel code?
The same question as for the rest laravel helper methods, many of them are replacement of php native functions?
What do you prefer ?
"laravel/framework": "^10.48.7",
Thanks in advance!
@petrogromovo It’s just a function. Use it if it makes sense to use it.
Please or to participate in this conversation.