All articles(网络文学目录) All Pictures(图片目录) All Softwares(软件目录)

 
学习动态网页技术PHP中参数引用返回的实例_php资料_编程技术

Writer: aaa Article type: Programming skills(编程技巧) Time: 2013/12/21 22:37:47 Browse times: 343 Comment times: 0

学习动态网页技术PHP中参数引用返回的实例_php资料_编程技术


Head photo

Go homepage
Upload pictures
Write articles

学习动态网页技术PHP中参数引用返回的实例_php资料_编程技术-你的首页-uuhomepage.com

$a = 1;
function b(&$c)
{
$c++;
return $c;
}
$d=b($a);
$d++;
echo($a);
?>

$a = 1;
function &b(&$c)
{
$c++;
return $c;
}
$d=&b($a);
$d++;
echo($a);
?>






There are 0 records,
Comment:
Must be registered users to comment(必须是注册用户才能发表评论)

Disclaimer Privacy Policy About us Site Map
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.