#17340 [Fbk->NoF]: sscanf function requires "call by reference"

From: Date: Wed, 11 Sep 2002 16:09:35 +0000
Subject: #17340 [Fbk->NoF]: sscanf function requires "call by reference"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19092@lists.php.net to get a copy of this message
ID: 17340 Updated by: sniper@php.net Reported By: taomyn@hotmail.com -Status: Feedback +Status: No Feedback Bug Type: Strings related Operating System: Windows 2000 PHP Version: 4.2.1 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2002-07-07 13:02:03] derick@php.net Please provide a short reproducing script through this web interface so that others can see it too. Derick ------------------------------------------------------------------------ [2002-05-29 05:44:01] taomyn@hotmail.com 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()". ------------------------------------------------------------------------ [2002-05-27 12:49:01] sander@php.net 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] taomyn@hotmail.com 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] sander@php.net I think you're doing something wrong... can you provide a simple & self-contained sample script? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17340 -- Edit this bug report at http://bugs.php.net/?id=17340&edit=1

« previous php.bugs (#19092) next »