3v4l.org

run code in 300+ PHP versions simultaneously
<?php $invalid = "a\x80b"; $iter = IntlBreakIterator::createCodePointInstance(); $iter->setText($invalid); while ($iter->next() !== IntlBreakIterator::DONE) { var_dump( $iter->getLastCodePoint(), $iter->getErrorCode(), $iter->getErrorMessage() ); }
Output for git.master, git.master_jit, rfc.property-hooks
int(97) int(0) string(12) "U_ZERO_ERROR" int(65533) int(0) string(12) "U_ZERO_ERROR" int(98) int(0) string(12) "U_ZERO_ERROR"

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:
112.69 ms | 405 KiB | 5 Q