Date: 09/28/00
- Next message: Matthew Hagerty: "[PHP-DEV] Content of this list???"
- Previous message: rbaron <email protected>: "[PHP-DEV] PHP 4.0 Bug #6927:"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: rbs <email protected>
Operating system: Any
PHP version: 4.0.2
PHP Bug Type: Documentation problem
Bug description: No documentation of function parameter length restrictions
Upon encountering a Segv problem in PHP and examining the PHP source code, it became apparent that there is a big, conspicuous omission in the documentation of PHP functions: the acceptable length of function operands. Various PHP functions (e.g., imap_open()) actually copy given strings to fixed-length storage areas. There is thus a definite reality limit on the length of what the PHP user can supply to PHP functions - but the PHP documentation is generally devoid of any specification of the allowable lengths of function operands.
PHP function documentation is much too casual in this regard, and needs to more rigidly define what the functions can and will accept. Always specify your pardigm limits.
thanks, Richard Sims, Boston University OIT
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Matthew Hagerty: "[PHP-DEV] Content of this list???"
- Previous message: rbaron <email protected>: "[PHP-DEV] PHP 4.0 Bug #6927:"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

