3v4l.org

run code in 500+ PHP versions simultaneously
<?php $f = new NumberFormatter('en-US', NumberFormatter::DECIMAL); $f->setAttribute(NumberFormatter::MIN_FRACTION_DIGITS, 2); $f->setAttribute(NumberFormatter::MAX_FRACTION_DIGITS, 999); echo $f->format("1000000") . PHP_EOL; echo $f->format("1000000.6") . PHP_EOL; echo $f->format("1000000.63") . PHP_EOL; echo $f->format("1000000.68464") . PHP_EOL;
Output for rfc.property-hooks, git.master, git.master_jit
1,000,000.00 1,000,000.60 1,000,000.63 1,000,000.68464

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:
62.39 ms | 1257 KiB | 4 Q