3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('mbstring.internal_encoding', 'UTF-8'); mb_regex_encoding('UTF-8'); var_dump(preg_split('|\B|', "abc")); var_dump(mb_split('\B', "abc"));
Output for git.master, git.master_jit
Deprecated: ini_set(): Use of mbstring.internal_encoding is deprecated in /in/fb4XN on line 2 array(3) { [0]=> string(1) "a" [1]=> string(1) "b" [2]=> string(1) "c" } array(2) { [0]=> string(1) "a" [1]=> string(2) "bc" }

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:
12.24 ms | 409 KiB | 5 Q