3v4l.org

run code in 300+ PHP versions simultaneously
<?php //var_dump(mb_list_encodings()); exit(); $regexEncoding = "Windows-1251"; //var_dump(mb_internal_encoding($regexEncoding)); exit(); var_dump(mb_regex_encoding('CP1251'));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ValueError: mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "CP1251" given in /in/UrS8e:7 Stack trace: #0 /in/UrS8e(7): mb_regex_encoding('CP1251') #1 {main} thrown in /in/UrS8e on line 7
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:
32.86 ms | 401 KiB | 8 Q