From: adam at trachtenberg dot com Operating system: * PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: shm_put_var() return type incorrect
Description: ------------ shm_put_var() is documented to return an int. This is incorrect. The function returns a boolean. If the function sucessfully puts the variable, it returns true. If the index is wrong or there is insufficient memory, it returns false. (See also the user contributed note on the page.) -- Edit bug report at http://bugs.php.net/?id=27510&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27510&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27510&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27510&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27510&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27510&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27510&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27510&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27510&r=support Expected behavior: http://bugs.php.net/fix.php?id=27510&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27510&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27510&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27510&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27510&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27510&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27510&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27510&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27510&r=float