3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_internal_encoding("UTF-8"); mb_regex_encoding("UTF-8"); print_r(mb_split(utf8_encode("\W+", "whatèver, .*fóo: bâr")));
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Function utf8_encode() is deprecated in /in/4Vd2j on line 4 Fatal error: Uncaught ArgumentCountError: utf8_encode() expects exactly 1 argument, 2 given in /in/4Vd2j:4 Stack trace: #0 /in/4Vd2j(4): utf8_encode('\\W+', 'what\xC3\xA8ver, .*f\xC3...') #1 {main} thrown in /in/4Vd2j on line 4
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:
51.85 ms | 401 KiB | 8 Q