3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(iconv_substr("a\x00b\x00", 0, 1, 'UTF-16LE')); var_dump(iconv_substr("\x00a\x00b", 0, 1, 'UTF-16BE'));
Output for master
Fatal error: Uncaught Error: Call to undefined function iconv_substr() in /in/C9im4:3 Stack trace: #0 {main} thrown in /in/C9im4 on line 3
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:
12.13 ms | 1185 KiB | 7 Q