You probably do: $some_len = strlen(&$some_str); you do not need to use &. Probably $some_str is passed by reference without &.
Best regards, Andrey Hristov On Thursday 07 March 2002 08:22 pm, you wrote: > From: [EMAIL PROTECTED] > Operating system: SuSE Linux 6.0 > PHP version: 4.0.5 > PHP Bug Type: Documentation problem > Bug description: Call-time pass-by-reference has been deprecated > > 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... -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php
