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

Bug #15209 Property for classes could not be mixed or object
Submitted: 2008-12-02 13:46 UTC
From: metal3d Assigned:
Status: Open Package: CodeGen_PECL (version 1.1.2)
PHP Version: 5.2.6 OS: Linux Fedora 9
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 : 23 + 10 = ?

 
 [2008-12-02 13:46 UTC] metal3d (Patrice Ferlet)
Description: ------------ I need to add other type on class as property, like object or array... But It doesn't works at all. Only intergers, doubles and strings are allowed... Booleans don't works. Test script: --------------- <!-- trying to set test property to be other than int or string --> <class name="Person"> <property name="test" type="array" access="public"/> </class> Expected result: ---------------- working Actual result: -------------- [pafer@localhost extension2]$ pecl-gen -f ./monextension.xml 'object' is not a valid property type in ./monextension.xml on line 71:35 [pafer@localhost extension2]$ pecl-gen -f ./monextension.xml 'mixed' is not a valid property type in ./monextension.xml on line 71:35 [pafer@localhost extension2]$ pecl-gen -f ./monextension.xml 'array' is not a valid property type in ./monextension.xml on line 71:35 [pafer@localhost extension2]$ pecl-gen -f ./monextension.xml 'bool' is not a valid property type in ./monextension.xml on line 71:35

Comments