Rabin Vincent wrote:
> You're missing the $ for ret_val on the return line.
Clue-by-four to the head accepted. Thank you, it works well, now that it's
written properly.
Cheers!
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi folks,
Config is Apache/1.3.34 (Unix) PHP/4.4.1 mod_ssl/2.8.25 OpenSSL/0.9.7i.
If my usort callback has in it:
if ($aday == $bday) {return 0;}
else {return ($aday < $bday) ? -1 : 1;}
everything works - lots of sort operations happen on the array (three
elements) and it sorts correctly.
2 matches
Mail list logo