#44962 [NEW]: error_log returns true not integer on success

From: Date: Sat, 10 May 2008 16:12:23 +0000
Subject: #44962 [NEW]: error_log returns true not integer on success
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-810@lists.php.net to get a copy of this message
From: sven-ullmann at v1958 dot ncsrv dot de Operating system: any PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: error_log returns true not integer on success Description: ------------ in documentation described error_log returns integer but testet on linux php 5.x it does return true on success. Maybe it's a Bug With best regards Sven Ullmann Reproduce code: --------------- php -r "var_dump( error_log( 'test' ) );"; // returns: true Expected result: ---------------- integer as it is described Actual result: -------------- boolean -- Edit bug report at http://bugs.php.net/?id=44962&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44962&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44962&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44962&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44962&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44962&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44962&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44962&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44962&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44962&r=support Expected behavior: http://bugs.php.net/fix.php?id=44962&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44962&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44962&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44962&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44962&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44962&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44962&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44962&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44962&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44962&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44962&r=mysqlcfg

« previous php.doc.bugs (#810) next »