<div class="title_bot"><script>ec(2);</script></div> <br><br> <?php <br />得到PHP中最后一个字符<br><br>$str = " JhlIsHero ";<br>$var = trim($str);<br>$len = strlen($var)-1;<br>echo $var{$len};<br>?><br><br>得到PHP一个字符串的最后一个字符<span style="text-decoration: underline;"><br><br></span>是不是PHP也和C一样,用一组连续地址来存储字符串呢......<span style="text-decoration: underline;"></span><br><br><p id="TBPingURL"></p>