From:             richard dot quadling at carval dot co dot uk
Operating system: Any
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  Function lists in the manual showing the return type.

Description:
------------
At the moment, you get this ...

Table of Contents
aspell_check_raw --  Check a word without changing its case or trying to
trim it [deprecated] 
aspell_check -- Check a word [deprecated]
aspell_new -- Load a new dictionary [deprecated]
aspell_suggest -- Suggest spellings of a word [deprecated]


When would be REALLY useful is the return types and parameters. E.g.

Table of Contents
bool  aspell_check_raw ( int dictionary_link, string word) --  Check a
word without changing its case or trying to trim it [deprecated] 
bool  aspell_check ( int dictionary_link, string word) -- Check a word
[deprecated]
int   aspell_new ( string master [, string personal]) -- Load a new
dictionary [deprecated]
array aspell_suggest ( int dictionary_link, string word) -- Suggest
spellings of a word [deprecated]


Why?

When you are looking for a function that returns a type you can see what
it may be called as sometimes the names are not what you expect.

NOTE: I used aspell as an example as it only had a few entries.

Regards,

Richard Quadling.


-- 
Edit bug report at http://bugs.php.net/?id=25189&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25189&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25189&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25189&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25189&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25189&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25189&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25189&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25189&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25189&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25189&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25189&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25189&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25189&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25189&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25189&r=gnused

Reply via email to