<?php
$string = "♫";
$len = mb_strlen($string, '8bit');
for($i=0;$i<$len;++$i)
echo mb_substr($string, $i, 1, 'UTF-8')."<br/>"
- Output for 5.4.0 - 5.4.28
- Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/TCRS6 on line 6
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected $end, expecting ',' or ';' in /in/TCRS6 on line 6
Process exited with code 255.
preferences:
186.53 ms | 1395 KiB | 65 Q