Bug #15937 Updated: Call-time pass-by-reference has been deprecated
| From: | nohn@php.net | Date: | Thu, 07 Mar 2002 19:05:03 +0000 |
| Subject: | Bug #15937 Updated: Call-time pass-by-reference has been deprecated | ||
| References: | 1 | Groups: | php.bugs php.doc |
| Request: | Send a blank email to php-bugs+get-1947@lists.php.net to get a copy of this message | ||
ID: 15937
Updated by: nohn@php.net
Reported By: nohn@php.net
-Status: Bogus
+Status: Open
Bug Type: Documentation problem
Operating System: SuSE Linux 6.0
PHP Version: 4.0.5
New Comment:
reopened this bug.
the reason for me to use the call-by-reference is performance...
Previous Comments:
------------------------------------------------------------------------
[2002-03-07 13:31:19] cynic@php.net
there's nothing wrong with strlen(). why do you pass it the argument by
reference? strlen() doesn't modify it, so it's completely useless.
this PR is bogus.
------------------------------------------------------------------------
[2002-03-07 13:22:23] nohn@php.net
Warning: Call-time pass-by-reference has been deprecated - argument
passed by value; If you would like to pass it by reference, modify the
declaration of strlen(). If you would like to enable call-time
pass-by-reference, you can set allow_call_time_pass_reference to true
in your INI file. However, future versions may not support this any
longer. in <xxx> line 653
To what shall I modify the declartion of strlen? It's not documented
anywhere...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15937&edit=1