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

Bug #5712 Only variables can be passed by reference
Submitted: 2005-10-18 08:40 UTC
From: cryptographite at comcast dot net Assigned: mike
Status: Closed Package: File_Gettext
PHP Version: 5.0.5 OS: FreeBSD
Roadmaps: (Not assigned)    
Subscription  


 [2005-10-18 08:40 UTC] cryptographite at comcast dot net
Description: ------------ Only variables can be passed by reference. The code "array_shift(unpack())" is used in several locations thoughout File_Gettext. This is illegal syntax as unpack() is a function return, not a variable. unpack must be assigned to a variable before being run through array_shift()

Comments

 [2005-10-18 10:31 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-18 18:30 UTC] cryptographite at comcast dot net
$ php -r "echo current(array(1));" PHP Fatal error: Only variables can be passed by reference in Command line code on line 1
 [2005-11-08 18:57 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!