Coalesce function for PHP?

Posted by mikl on Stack Overflow See other posts from Stack Overflow or by mikl
Published on 2009-06-18T15:49:14Z Indexed on 2010/05/16 19:10 UTC
Read the original article Hit count: 281

Filed under:
|
|

Many programming languages has a coalesce function (example). PHP, sadly, does not.

What would be the most efficient way to implement one in PHP?

© Stack Overflow or respective owner

Related posts about php

Related posts about php5