3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new NumberFormatter('en_US', NumberFormatter::CURRENCY); echo $formatter->formatCurrency(21211212d21212, 'USD');
Output for 7.0.0 - 7.0.31, 7.1.0 - 7.1.21, 7.2.0 - 7.2.9
Parse error: syntax error, unexpected 'd21212' (T_STRING), expecting ',' or ')' in /in/KI7H1 on line 3
Process exited with code 255.

preferences:
182.49 ms | 1387 KiB | 71 Q