3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = new NumberFormatter( 'de_DE', NumberFormatter::CURRENCY ); $return = $fmt->formatCurrency('@fds1234567.891234567890000', 'de_DE'); var_dump(numfmt_get_error_message($fmt), intl_is_failure($fmt->getErrorCode()), $return); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: NumberFormatter::formatCurrency(): Argument #1 ($amount) must be of type float, string given in /in/9th6C:3 Stack trace: #0 /in/9th6C(3): NumberFormatter->formatCurrency('@fds1234567.891...', 'de_DE') #1 {main} thrown in /in/9th6C on line 3
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
65.92 ms | 401 KiB | 8 Q