3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '1392'; echo $string = mb_convert_encoding($str,"ASC-2"); echo intval($string)+1;
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ValueError: mb_convert_encoding(): Argument #2 ($to_encoding) must be a valid encoding, "ASC-2" given in /in/G7E49:4 Stack trace: #0 /in/G7E49(4): mb_convert_encoding('\xEF\xBC\x91\xEF\xBC\x93\xEF\xBC\x99\xEF\xBC\x92', 'ASC-2') #1 {main} thrown in /in/G7E49 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:
39.76 ms | 401 KiB | 8 Q