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

Bug #8621 Prototype parsing - pass by reference
Submitted: 2006-09-03 02:29 UTC
From: skissane at gmail dot com Assigned: hholzgra
Status: Assigned Package: CodeGen_PECL (version 1.0.3)
PHP Version: 5.1.4 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2006-09-03 02:29 UTC] skissane at gmail dot com (sj kissane)
Description: ------------ The below prototype gets parsed wrong. It gives the error message "only 'array' and 'mixed' arguments may be passed by reference, 'xx' is of type 'char' in ./swe.xml on line 53:9" Obviously, somewhere the Function->newSetProto method is screwing up, and somehow pulling the "char" from the array("char","&") and thinking its the type. Test script: --------------- <proto> int swe_calc(float tjd,int ipl,int iflag,array &xx,mixed &serr) </proto> Expected result: ---------------- works Actual result: -------------- doesn't work

Comments

 [2006-09-05 08:44 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!