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
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community