3v4l.org

run code in 300+ PHP versions simultaneously
<?php $limit = 160; $charset = 'UTF-8//IGNORE'; $string = "I haven't felt much of anything since my guinea pig died. I didn't ask for a completely reasonable excuse! I asked you to get busy! Daylight and everything. You guys realize you live in a sewer, right? It's a T. It goes tuh. Yeah, lots of people did. You're going back for the Countess, aren't you? Guess again. THE BIG BRAIN AM WINNING AGAIN! I AM THE GREETEST! NOW I AM LEAVING EARTH, FOR NO RAISEN! Leela, Bender, we're going grave robbing. Humans dating robots is sick. You people wonder why I'm still single? It's 'cause all the fine robot sisters are dating humans!"; $substring = iconv_substr($string, 0, $limit, $charset); $result = iconv_substr($substring, 0, iconv_strrpos($substring, ' ', $charset), $charset) . '&hellip'; var_dump($result);
Output for git.master, git.master_jit, rfc.property-hooks
string(163) "I haven't felt much of anything since my guinea pig died. I didn't ask for a completely reasonable excuse! I asked you to get busy! Daylight and everything.&hellip"

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:
59 ms | 401 KiB | 8 Q