xiaozi 2015-04-02 20:00:24

php中,sleep是不支持浮点的,zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &num);在分析参数的时候就会转换成 int

<?php

sleep(.01); // sleep(0);

usleep(10000);

评论

- 위키
Copyright © 2011-2024 iteam. Current version is 2.137.1. UTC+08:00, 2024-11-08 19:52
浙ICP备14020137号-1 $방문자$