PHP 4.0 Bug #6928: No documentation of function parameter length restrictions

From: Date: Fri, 29 Sep 2000 02:21:43 +0000
Subject: PHP 4.0 Bug #6928: No documentation of function parameter length restrictions
Groups: php.dev 
Request: Send a blank email to php-dev+get-33816@lists.php.net to get a copy of this message
From: rbs@bu.edu 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

« previous php.dev (#33816) next »