# PHP 常用的系统函数 ## 输出函数 - print() 类似 echo 输出,返回 1 - print_r() 类似 var_dump(), 不会输出类型,只会输出值 ```php = 5.0.0 get_as_float=true,microtime() 将返回一个浮点数 // eg: echo microtime(); // 0.61349600 1646316936 echo microtime(true); // 1646317009.6239 ``` 4、strtotime(): 将任何字符串的日期时间描述解析为 Unix 时间戳 ```php strtotime(string $datetime, int $now = time()): int // eg: echo strtotime('2022-03-03 22:13:20'); // 1646316800 ```