Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.6

Bug #5654 'Passing by reference' notice under PHP 4.4.0
Submitted: 2005-10-11 10:46 UTC
From: vladimir dot shapiro at michel-consulting dot de Assigned: farell
Status: Closed Package: HTML_Progress
PHP Version: 4.4.0 OS: Unix
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 47 - 22 = ?

 
 [2005-10-11 10:46 UTC] vladimir dot shapiro at michel-consulting dot de
Description: ------------ After upgrade my PHP up to 4.4.0 I get the follwoing notice Notice: Only variables should be assigned by reference in /usr/lib/php/HTML/Progress.php on line 1118 Removing the passing by reference on the line 1118 seems to solve the problem. Anyway there are a lot of similar parts of code that should be checked. More on topic "Memory corruptions with references": http://www.php.net/release_4_4_0.php Test script: --------------- <?php require_once 'HTML/Progress.php'; $progress_bar = new HTML_Progress(); $progress_bar->setAnimSpeed(100); $progress_bar->setIncrement(10); $progress_bar->setBorderPainted(true); $progress_bar->setStringPainted(true); $GLOBALS['extraCSS'] = $progress_bar->getStyle(); $GLOBALS['extraJS'] = $progress_bar->getScript(); ?> Expected result: ---------------- no notice (E_ALL safe output) Actual result: -------------- Notice: Only variables should be assigned by reference in /usr/lib/php/HTML/Progress.php on line 1118

Comments

 [2005-10-15 11:22 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-10-15 11:23 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-10-17 08:16 UTC] vladimir dot shapiro at michel-consulting dot de
We've fixed it manually. Thank you for your support in next release.