3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Regex for single and paired point unicode characters ranges: https://stackoverflow.com/q/51947319/6225838 $str = '☀,⛿,#⃣,😀 ,🙏,⏳'; echo preg_replace( // single point unicode list "/[\x{2600}-\x{26FF}". // http://www.fileformat.info/info/unicode/block/miscellaneous_symbols/list.htm // concatenates with paired surrogates preg_quote("\u{1F600}", '/')."-".preg_quote("\u{1F64F}", '/'). // https://www.fileformat.info/info/unicode/block/emoticons/list.htm "]/u", 'YOINK', $str );
Output for git.master, git.master_jit, rfc.property-hooks
YOINK,YOINK,#⃣,YOINK ,YOINK,⏳

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:
66.13 ms | 401 KiB | 8 Q