ID:               17340
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Feedback
 Bug Type:         Strings related
 Operating System: Windows 2000
 PHP Version:      4.2.1
 New Comment:

Can you not just try executing the "functions.php" script and you'll
see the error. My PHP knowledge is somewhat limited, and the code is
something I had run a while back just fine, and when I tried again I
got this error.

Basically, if call by reference is allowed for sscanf, as the php.net
online documentation states, then the compiler is wrong. Otherwise the
the documentation is now wrong, and the compiler should be more
intelligent and not try to tell me to "modify the declaration of
>sscanf()".


Previous Comments:
------------------------------------------------------------------------

[2002-05-27 12:49:01] [EMAIL PROTECTED]

Hm, can you make a simpler sample script? Just a couple of lines
instead of a couple of files?

------------------------------------------------------------------------

[2002-05-23 04:14:24] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

[2002-05-22 03:08:00] [EMAIL PROTECTED]

I think you're doing something wrong... can you provide a simple &
self-contained sample script?

------------------------------------------------------------------------

[2002-05-21 14:36:24] [EMAIL PROTECTED]

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

Reply via email to