Bug #17340 Updated: sscanf function requires "call by reference"
| From: | taomyn at hotmail dot com | Date: | Thu, 23 May 2002 08:14:25 +0000 |
| Subject: | Bug #17340 Updated: sscanf function requires "call by reference" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-8296@lists.php.net to get a copy of this message | ||
ID: 17340
Updated by: taomyn@hotmail.com
Reported By: taomyn@hotmail.com
Status: Feedback
Bug Type: Compile Warning
Operating System: Windows 2000
PHP Version: 4.2.1
New Comment:
I have e-mailed you the code - the function is called within
functions.php
You're probably right, in that the code is now wrong, but if that's the
case, then the online documentation for sscanf is also wrong.
Previous Comments:
------------------------------------------------------------------------
[2002-05-22 03:08:00] sander@php.net
I think you're doing something wrong... can you provide a simple &
self-contained sample script?
------------------------------------------------------------------------
[2002-05-21 14:36:24] taomyn@hotmail.com
When using the sscanf function, the complier warns that "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
sscanf()" etc etc
Apparently, sscanf requires the use of call-by reference to work - or
is the online manual wrong?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17340&edit=1