Home >Backend Development >PHP Tutorial >One-step operation of PHP's list() to assign values ​​to a set of variables_PHP tutorial

One-step operation of PHP's list() to assign values ​​to a set of variables_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:29:55964browse

For example:
list($a,$b) = explode(" ",microtime());
echo $a.'------'. $b;
?>
Result: 0.60937700-----1305625768

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/323327.htmlTechArticleFor example: ?php list($a,$b) = explode(" ",microtime()); echo $a.'------'.$b; ? Result: 0.60937700-----1305625768...
Statement:
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