Support the ongoing development of Laravel.io →
posted 5 years ago
Last updated 1 year ago.
0

You need to give the array_shift() the parameter! Look this example:

$stack = array("ora", "aghfg", "appe", "rab"); $fr = array_shift($stack); // Here you give the parameter print_r($fruit); You give the null parameter on array_shift() and you need to change it! also check syntax error like ; , "" line 40

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Quax quax82 Joined 14 May 2018

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.