PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_QuickForm » Bug #5349

Bug with PHP 5.0.5 (not present in 5.0.4)

Details

Submitted2005-09-09 13:54 UTC
Fromsylvain at com-ocean dot com
StatusDuplicate
PackageHTML_QuickForm
PHP Version5.0.5
OSLinux
Roadmaps(Not assigned)

Comments

[2005-09-09 13:54 UTC] sylvain at com-ocean dot com

Description:
------------
I compiled PHP 5.0.4 and PHP 5.0.5 several time with the same options, on the same server.
Then only with PHP 5.0.5, I had the PHP fatal error :

Fatal error: Only variables can be passed by reference in /home/promedif/pear/HTML/QuickForm.php on line 594

l594 is a line from "addElement" function :
$this->_elementIndex[$elementName] = end(array_keys($this->_elements));