没有!可以用: 
while (true)
{
  sleep(2);
  echo "xxx";
  flush();
}或者用ajax在服务器端实现