------解决方案-------------------- $num=10; function demo(&$number){ $number=$number+20; } demo($num); echo $num,"\n";
如果是这个意思,那么结果是30
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn