3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo ini_parse_quantity('0x0b'), "\n"; echo ini_parse_quantity('-0x0B'), "\n"; echo ini_parse_quantity('0x0beef'), "\n"; echo ini_parse_quantity('-0x0BEEF'), "\n";
Output for git.master_jit, git.master
Warning: Invalid quantity "0x0b": no digits after base prefix, interpreting as "0" for backwards compatibility in /in/TkboT on line 2 0 Warning: Invalid quantity "-0x0B": no digits after base prefix, interpreting as "0" for backwards compatibility in /in/TkboT on line 3 0 Warning: Invalid quantity "0x0beef": no digits after base prefix, interpreting as "0" for backwards compatibility in /in/TkboT on line 4 0 Warning: Invalid quantity "-0x0BEEF": no digits after base prefix, interpreting as "0" for backwards compatibility in /in/TkboT on line 5 0

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:
46.18 ms | 407 KiB | 5 Q