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  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2007-11-19 12:03 UTC
Package:
Bug Type:
Summary:
From: skissane at gmail dot com
New email:
PHP Version: Package Version: OS:

 

 [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] hholzgra (Hartmut Holzgraefe)
suspended for now as i am about to redo the "pass by reference" stuff for a complete implementation supporting all types