3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = '#Новости_0629 #Мариуполь #митинг #война Подробнее: http://www.0629.com.ua/news/488931'; $t_full = "В 14.00 возле горсовета собрались сотни людей, которые выступают за единую Украину и против ввода российских вой...".$t; $description_text_lenght = 245 - strlen($t); $full_text = mb_substr($item['stxt'], 0, $description_text_lenght) . $other_text; var_dump( array($full_text,mb_substr($t, 0,1,'UTF-8'),iconv_strlen($t,'UTF-8'),strlen($t)) );
Output for git.master, git.master_jit
Warning: Undefined variable $item in /in/iiu05 on line 7 Warning: Trying to access array offset on value of type null in /in/iiu05 on line 7 Deprecated: mb_substr(): Passing null to parameter #1 ($string) of type string is deprecated in /in/iiu05 on line 7 Warning: Undefined variable $other_text in /in/iiu05 on line 7 array(4) { [0]=> string(0) "" [1]=> string(1) "#" [2]=> int(85) [3]=> int(121) }
Output for rfc.property-hooks
Warning: Undefined variable $item in /in/iiu05 on line 7 Warning: Trying to access array offset on null in /in/iiu05 on line 7 Deprecated: mb_substr(): Passing null to parameter #1 ($string) of type string is deprecated in /in/iiu05 on line 7 Warning: Undefined variable $other_text in /in/iiu05 on line 7 array(4) { [0]=> string(0) "" [1]=> string(1) "#" [2]=> int(85) [3]=> int(121) }

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