3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(`locale -a`); var_dump(`nlsinfo`); var_dump(`ls /usr/lib/nls/loc`); var_dump(`ls /usr/lib/locale`); var_dump(`ls /usr/lib/nls`); var_dump(`ls /usr/share/locale`); var_dump(setlocale(LC_MONETARY, 'de_DE')); var_dump(money_format('%=*^-14#8.2i', 234568)); // outputs "**234568.00" var_dump(setlocale(LC_MONETARY, 'de_ZA')); var_dump(money_format('%=*^-14#8.2i', 2334)); // outputs "****2334.00"
Output for git.master, git.master_jit, rfc.property-hooks
Warning: shell_exec(): Unable to execute 'locale -a' in /in/JMpnE on line 3 bool(false) Warning: shell_exec(): Unable to execute 'nlsinfo' in /in/JMpnE on line 4 bool(false) Warning: shell_exec(): Unable to execute 'ls /usr/lib/nls/loc' in /in/JMpnE on line 5 bool(false) Warning: shell_exec(): Unable to execute 'ls /usr/lib/locale' in /in/JMpnE on line 6 bool(false) Warning: shell_exec(): Unable to execute 'ls /usr/lib/nls' in /in/JMpnE on line 7 bool(false) Warning: shell_exec(): Unable to execute 'ls /usr/share/locale' in /in/JMpnE on line 8 bool(false) string(5) "de_DE" Fatal error: Uncaught Error: Call to undefined function money_format() in /in/JMpnE:12 Stack trace: #0 {main} thrown in /in/JMpnE on line 12
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:
41.84 ms | 402 KiB | 8 Q