title: Defining cross-platform money_format function (Linux and Windows)
body: <p>I have read that money_format is not available on windows, and on some Linux distributions (i.e. BSD 4.11 variants). But I want to write cross-platform library using normal function, when available and using this <a href="http://www.php.net/manual/en/function.money-format.php#89060" rel="nofollow noreferrer">workaround</a> when not, so my library will be able to run on every PHP-based web server.</p>
  
  <p>Is there any simple solution to check whether built-in function is available and if not to include the solution from above?</p>