3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new NumberFormatter('de_DE', NumberFormatter::DECIMAL); echo $a->parse(2,30); echo $a->parse(2.30);
Output for git.master
Fatal error: Uncaught ValueError: NumberFormatter::parse(): Argument #3 ($offset) must be a NumberFormatter::TYPE_* constant in /in/GliOc:5 Stack trace: #0 /in/GliOc(5): NumberFormatter->parse('2', 30) #1 {main} thrown in /in/GliOc on line 5
Process exited with code 255.
Output for git.master_jit, rfc.property-hooks
Fatal error: Uncaught ValueError: NumberFormatter::parse(): Argument #2 ($type) must be a NumberFormatter::TYPE_* constant in /in/GliOc:5 Stack trace: #0 /in/GliOc(5): NumberFormatter->parse('2', 30) #1 {main} thrown in /in/GliOc on line 5
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:
64.69 ms | 401 KiB | 8 Q