PHP

时间:2026年02月05日 11:30:37

PHP 数组

2026年1月21日 - PHP 数组的真正强大之处在于内置的数组函数,如count()函数用于计算数组的项数: 实例 $cars数组中有多少项: $cars = array( Volvo , BMW , Audi ); ech...

PHP-GTK

2025年9月2日 - EnglishPortuguêsWelcome, Learn a little about php-gtk.PHP-GTK is an extension for the PHP programming language that implements language bin...

PHP 日期和时间

2014年4月15日 - php $startdate = strtotime( Saturday ); $enddate = strtotime( +6 weeks , $startdate); while ($startdate $enddate) { echo date( M d , $startd...

Swoole - PHP 协程框架

Swoole: PHP的异步、并行、高性能网络通信引擎,支持TCP长连接,Websocket,Mqtt等协议。广泛用于手机app、手游服务端、网络游戏服务器、聊天室、硬件通讯、智能家居、车联网...

PHP Include 文件

2024年7月15日 - 假设我们有一个名为 footer.php 的标准的页脚文件,就像这样:.假设我们有一个名为 menu.php 的标准菜单文件:...

PHP str_replace() 函数

2026年1月28日 - 返回值: 返回带有替换值的字符串或数组。 PHP 版本: 4+ 更新日志: 在 PHP 5.0 中,新增了count参数。 在 PHP 4.3.3 之前,该函数的find和replace参数都...

PHP substr() 函数

2026年1月28日 - class= language-php substr(string,sta rt,length)参数 描述 string 必需.phpechosubstr( Hello world ,10). br ;echosubstr( Hello world ,1). br ;...