3v4l.org

run code in 300+ PHP versions simultaneously
<?php // expecting "false" var_dump(grapheme_stripos("abcdef", "\u{34F}")); // expecting "3" var_dump(grapheme_stripos("abc\u{34F}def", "\u{34F}")); // seems OK echo "abc\u{34F}def\n"; echo grapheme_strlen("abc\u{34F}def");
Output for git.master_jit, rfc.property-hooks
int(0) int(0) abc͏def 6
Output for git.master
Warning: Module "Zend OPcache" is already loaded in Unknown on line 0 Warning: Zend OPcache: module registration failed! in Unknown on line 0 int(0) int(0) abc͏def 6

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.32 ms | 406 KiB | 5 Q