Php Can't Use Function Return Value In Write Context
![Php Php](https://secure.gravatar.com/avatar/2ba49c9f47527be1f434c2fce97cdc4f?d=https://www.prestashop.com/forums/uploads/monthly_2017_10/A.png.48b1472957b1b0f4785ff7acbf0fc983.png)
![Php Can Php Can](https://www.php.net/manual/en/images/befd863081615f539082d9ff76bf7b39-zend.05-reference-test.png)
![Php Can Php Can](https://diarioescola.com.br/wp-content/uploads/2017/11/blackfridayDE_facebook_1200x628px.jpg)
Php Can't Use Function Return Value In Write Context In Word
HiNo errors, but why dosen't this work when I run it: foreach($children as $child) arrayslice($children, 1, 2);I still get about 40 items returned, it does nothing.And if I try: foreach($children as $child) arrayslice($child, 1, 2);arrayslice expects parameter 1 to be array, object givenAlso with the multisort, been trying everything, just can't get anything to work.WARNINGarraymultisort function.array-multisort: Array sizes are inconsistent. $pages = new TFWNavigation($pageNav);$pages = $pages-getNavigation;foreach ($pages as $index = $topPage)$children = $topPage-getChildren(null,true);//Extract the last Modified Column$lastModified = array;foreach ($pages as $key = $row) $modified$key = $row-lastmodified;//Now sort the pages array on that column.arraymultisort($modified, SORTSTRING, SORTDESC, $pages);if (!empty($children)) foreach($children as $child). Thanks John,I'm just trying that now.Though, I have just tried: arrayslice(vd($children, 1, 2));Which prints all the xml code for 9 NavigationPageItems, so what is that telling us? Minecraft realms can you add mods.