Zastanawiam się, czy jest możliwe coś takiego:
while($cos = moja_funkcja($lorem))
, tak, jak to jest w funkcjach mysql:
, czy jest to tylko zarezerwowane dla bibliotek?
Za odpowiedzi dziękuję,
Pozdrawiam
while($cos = moja_funkcja($lorem))
$pointer = -1; function abc($res) { $pointer++; return $res[$pointer]; } return false; } while ($row = abc($resource)) { }
function testowa(&$inputArray) { return $tmp; } while($row = testowa($array)) { }