3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_internal_encoding('UTF-8'); mb_regex_encoding('UTF-8'); $string = "Some long tokenisable string"; $splitTokens = mb_split('[^\p{N}\p{L}]|\p{Z}', $string); var_dump($splitTokens); php_info();
Output for git.master, git.master_jit, rfc.property-hooks
array(4) { [0]=> string(4) "Some" [1]=> string(4) "long" [2]=> string(11) "tokenisable" [3]=> string(6) "string" } Fatal error: Uncaught Error: Call to undefined function php_info() in /in/FBr9A:7 Stack trace: #0 {main} thrown in /in/FBr9A 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:
44.72 ms | 401 KiB | 8 Q