I have version 5.3.8 and this function does not work.
In what way? Can you give a specific example of some code and expected vs. actual results?
has it been discontinued?
Best place to look for the answer to that question would be the PHP manual: [man]money_format/man.