PHP语句问题

WBOY
Release: 2016-06-23 13:58:07
Original
763 people have browsed it

PHP语句执行到某一行时候,隔几秒钟之后再执行下一行
比如执行到 echo A;这句之后,隔3秒,执行下一行echo B;
怎样才能做到?需要在这两行代码直接写什么代码


回复讨论(解决方案)

sleep()

sleep()


sleep()具体的怎么写,三秒

sleep(3);

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template