sleep(1); #waits/sleeps for one second then continue running the script
Q1.怎么做1/100秒?这些工作:0,01 或0.01 或.01?
0,01
0.01
.01
Q2.什么是替代品?wait();或snap();?? 它们有何不同(更多/更不精确)?
wait();
snap();
php time sleep wait
php ×1
sleep ×1
time ×1
wait ×1