匿名函数 php中匿名函数简单范例演示
php中匿名函数简单范例演示 [代码片段(11行)]
<html>
<body>
<div>
<?php
$my_anon = create_function( '$a, $b', 'return $a+$b;' );
print $my_anon( 3, 9 );
?>
</div>
</body>
</html>
精彩图集
精彩文章
<html>
<body>
<div>
<?php
$my_anon = create_function( '$a, $b', 'return $a+$b;' );
print $my_anon( 3, 9 );
?>
</div>
</body>
</html>
@CopyRight 2002-2008, 1SOHU.COM, Inc. All Rights Reserved QQ:1010969229