3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all('/[\x{0080}-\x{ffff}]/u', 'café åäö', $matches, PREG_OFFSET_CAPTURE); var_dump($matches, unpack('N', mb_convert_encoding('é', 'UCS-4BE', 'UTF-8')));
Output for git.master, git.master_jit, rfc.property-hooks
array(1) { [0]=> array(4) { [0]=> array(2) { [0]=> string(2) "é" [1]=> int(3) } [1]=> array(2) { [0]=> string(2) "å" [1]=> int(6) } [2]=> array(2) { [0]=> string(2) "ä" [1]=> int(8) } [3]=> array(2) { [0]=> string(2) "ö" [1]=> int(10) } } } array(1) { [1]=> int(233) }

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.87 ms | 402 KiB | 8 Q