3v4l.org

run code in 300+ PHP versions simultaneously
<?php $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); iconv_substr($substring, 0, iconv_strrpos($substring, ' ', $charset), $charset) . '&hellip;
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Parse error: syntax error, unexpected 'tuh' (T_STRING) in /in/dat2N on line 5
Process exited with code 255.

preferences:
170.19 ms | 1395 KiB | 36 Q