Issues

ZF-8050: Zend_CodeGenerator_Php_Property_DefaultValue doesn't allow to use boolean values

Issue Type: Improvement Created: 2009-10-11T13:00:21.000+0000 Last Updated: 2009-11-19T12:43:34.000+0000 Status: Resolved Fix version(s): Reporter: Fran (zfran) Assignee: Jan Pieper (jpieper) Tags: - Zend_CodeGenerator

Related issues: Attachments:

Description

{quote} $a = new Zend_CodeGenerator_Php_Property_DefaultValue(); $a->setValue(true);

echo $a->generate();

fran@frarch:~$ php test.php

Exception: I dont know this type in /Datos/www/includes/Zend-1.9.3/Zend/CodeGenerator/Php/Property/DefaultValue.php on line 307

Call Stack: 0.0004 635936 1. {main}() /home/fran/test.php:0 0.0059 789624 2. Zend_CodeGenerator_Php_Property_DefaultValue->generate() /home/fran/test.php:8

{quote}

Comments

Posted by Jan Pieper (jpieper) on 2009-11-19T12:43:34.000+0000

Already fixed since r18393.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts