我想看看您对我目前遇到的这个问题的意见。事实证明:
 <?php
$disc_t=$name; 
  if(strlen($disc_t)<=15)
  {
   $name_now=mb_substr( strip_tags($disc_t), 0, 10 ).'';
  }
  else
  {
   $name_now=mb_substr( strip_tags($disc_t), 0, 10).'...';
  }
?>
以某种方式在网站上给我一个错误,错误显示:
Fatal error: Call to undefined function mb_substr() in /home/(website)/public_html/index.php on line 308
我不太明白他们的意思mb_substr,这是 PHP 版本错误吗?我目前正在使用 PHP 5.3.19