企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[root@localhost www.test.com]# php -f gdb.php <?php. for($i = 0; $i < 10; $i++){ echo $i."\n"; sleep(3); if(in_array($i,[1,9,20])){ print_r($i*$i); var_dump($i*$i); print $i*$i; } [root@localhost www.test.com]# php --ini Configuration File (php.ini) Path: /usr/local/php/etc Loaded Configuration File: /usr/local/php/etc/php.ini Scan for additional .ini files in: (none) Additional .ini files parsed: (none) [root@localhost www.test.com]# [root@localhost www.test.com]# php -r "print_r(array(1,2,3));" Array ( [0] => 1 [1] => 2 [2] => 3 ) [root@localhost www.test.com]# [root@localhost www.test.com]# php -m [PHP Modules] bcmath Core ctype curl date dom filter ftp gd gettext hash iconv json libxml mbstring mcrypt mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar posix Reflection session shmop SimpleXML soap sockets SPL sqlite3 standard sysvsem tokenizer xml xmlreader xmlrpc xmlwriter zip zlib [Zend Modules] [root@localhost www.test.com]#