Deprecated or not deprecated #33343
-
Hi all, I'm on my way to upgrade my application to Laravel 5.8.* version but I saw into the upgrade guide, https://laravel.com/docs/5.8/upgrade#support, that helpers like array_* are now trated as deprecated. I'm confused because the new method, Arr, internally is using the array_* helpers. Are really deprecated? So, my question is, can I still using the helpers array_* as a long term solution for my application? I can't find a replace for array_search... The change/pull on the framework: Laravel 5.8 - Arr |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The array_* helpers that you are seeing in Laravel 7 are actual php functions. These are not Laravel helpers. You can still use the helpers that once existed in Laravel by pulling in laravel/helpers. |
Beta Was this translation helpful? Give feedback.
The array_* helpers that you are seeing in Laravel 7 are actual php functions. These are not Laravel helpers. You can still use the helpers that once existed in Laravel by pulling in laravel/helpers.