[PHP-DOC] typos in on-line documentation
My apollogies if this is the 900th report errors and corrections in XML-style tags on page http://www.php.net/manual/en/language.oop5.visibility.php Visibility The visibility of a member or method can be defined by prefixing the declaration with the keywords: public, protected or private. Public declared items can be allow access to any caller. Protected limits access access to only classes inherited. ProtectedPrivate limits visiblity only to the class that defines the item. Members Visibility Class members must be defined with public, privateprotected, or private. Robb Hammack
[PHP-DOC] Bug #16707 Updated: dio_fcntl arg key should be whence not wenth
ID: 16707 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type:Documentation problem PHP Version: 4.2.0 New Comment: i did find something odd looking about line number 346: if (zend_hash_find(fh, "type", 6, (void **) &element) == FAILURE) { i changed the 6 to a 4 and recompiled. didn't quite solve the argument problem though. Previous Comments: [2002-04-19 15:56:31] [EMAIL PROTECTED] this call was failing everytime with a -1. i looked at ext/dio/dio.c to figure this out. when i changed the key name to whence it didn't solve my problem completely. to make the call work i had to change the way i called the function from: dio_fcntl($fd, F_SETLKW, array('start' => 0, 'length' => 0, 'whence' => SEEK_SET,'type' => F_WRLCK)) to: dio_fcntl($fd, F_SETLKW, F_WRLCK) it appears there is still a problem with argument handling that i couldn't quite figure out right away. if i find out i'll try to reply back to this document. i am using 4.2.0rc4 -- Edit this bug report at http://bugs.php.net/?id=16707&edit=1
[PHP-DOC] Bug #16707: dio_fcntl arg key should be whence not wenth
From: [EMAIL PROTECTED] Operating system: PHP version: 4.2.0 PHP Bug Type: Documentation problem Bug description: dio_fcntl arg key should be whence not wenth this call was failing everytime with a -1. i looked at ext/dio/dio.c to figure this out. when i changed the key name to whence it didn't solve my problem completely. to make the call work i had to change the way i called the function from: dio_fcntl($fd, F_SETLKW, array('start' => 0, 'length' => 0, 'whence' => SEEK_SET,'type' => F_WRLCK)) to: dio_fcntl($fd, F_SETLKW, F_WRLCK) it appears there is still a problem with argument handling that i couldn't quite figure out right away. if i find out i'll try to reply back to this document. i am using 4.2.0rc4 -- Edit bug report at http://bugs.php.net/?id=16707&edit=1 -- Fixed in CVS:http://bugs.php.net/fix.php?id=16707&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=16707&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16707&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16707&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16707&r=support Expected behavior: http://bugs.php.net/fix.php?id=16707&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16707&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16707&r=submittedtwice