I read this php.net/manual/en/control-structures.foreach.php and amended this things. On line 695, file xpdoquery.class.php, string "while (list ($key, $val)= each($conditions)) {" replace with this "foreach ($conditions as $key => $val) {". Second file xpdo.class.php, on line 2845 srting "while (list ($key, $val)= each($this->bindings)) {" replace with "foreach ($this->bindings as $key => $val) {", file xpdoobject.class.php on line 2032 replace "while (list ($key, $val)= each($fldarray)) {" with this "foreach ($fldarray as $key => $val) {" Not sure this's good solution It might help
A quick search of the 2.6.1 code turns up 57 instances of "= each" -- Many of them are outside xPDO, so I think you'll be seeing more messages like that.
discuss.answer