<br><code class="prettyprint linenums lang-php">$str="think_php";<br> preg_replace("/(?:^|_)([a-z])/e", "strtoupper('\\1')",$str)</code>转换后为:ThinkPhp <p class="da_word">AD:真正免费,域名+虚机+企业邮箱=0元 </p>