|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-05-21 10:42 UTC] johannes@php.net
-Status: Open
+Status: Bogus
[2010-05-21 10:42 UTC] johannes@php.net
[2010-05-21 11:27 UTC] mike@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 17:00:01 2025 UTC |
Description: ------------ for this code when you run in php4, the app will output "func", but under php5 your will get another result -- "php" I don't know why. Test script: --------------- <?php function func(&$param){ $param = "func"; } func($param="php"); echo $param; ?> Expected result: ---------------- func Actual result: -------------- php