<div class="title_bot"><script>ec(2);</script></div> <?php <br />得到PHP中最后一个字符<br><br>$str = " JhlIsHero ";<br>$var = trim($str);<br>$len = strlen($var)-1;<br>echo $var{$len};<br>?><br><br>得到PHP一个字符串的最后一个字符<br><br><br><p id="TBPingURL"></p>