3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new \NumberFormatter('en_US', \NumberFormatter::DECIMAL); var_dump( $formatter->formatCurrency( 120.75, 'PLN' ); );
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
Parse error: syntax error, unexpected ';' in /in/Um9VC on line 9
Process exited with code 255.

preferences:
169.79 ms | 1387 KiB | 23 Q