六狼论坛's Archiver
首页
›
PHP
› php 函数中使用static
zaric
发表于 2012-10-25 23:41:07
php 函数中使用static
function sendHeader($num, $rtarr = null) {static $sapi = null;if ($sapi === null) {$sapi = php_sapi_name();}return $sapi++;
页:
[1]
查看完整版本:
php 函数中使用static