#23918 [NEW]: Return type incorrect for register_shutdown_function.

From: Date: Sat, 31 May 2003 09:14:43 +0000
Subject: #23918 [NEW]: Return type incorrect for register_shutdown_function.
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969354123@lists.php.net to get a copy of this message
From: unknown at yabbse dot org Operating system: Windows XP; IIS 5.1 PHP version: 4.3.2 PHP Bug Type: Documentation problem Bug description: Return type incorrect for register_shutdown_function. http://www.php.net/function.register-shutdown-function The above documentation describes register_shutdown_function() as returning an int, however the following PHP code shows this to not be so: (what would it return, anyway?) <?php var_dump(register_shutdown_function('temp')); // Output: NULL function temp() { } ?> Although this isn't a large issue that will cause any problems, it's also an easy thing to fix. (I would assume...) Thanks, -[Unknown] -- Edit bug report at http://bugs.php.net/?id=23918&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23918&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23918&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23918&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23918&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23918&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23918&r=support Expected behavior: http://bugs.php.net/fix.php?id=23918&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23918&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23918&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23918&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23918&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23918&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23918&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23918&r=gnused

« previous php.doc (#969354123) next »