ZF-2836: Segmentation Fault on Debian Etch with PHP 5.2.0 while rendering

Issue Type: Bug Created: 2008-03-08T10:18:49.000+0000 Last Updated: 2008-08-30T02:44:10.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Anthony Pessy (menou) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: Attachments:


I have a segmentation fault on my Debian Etch (PHP 5.2.0) although it works well on my Windows Vista (PHP 5.2.5) when I try to render the Zend_Form.

It appears that the segmentation fault come from there :

File : Zend/Form/Element.php

{quote} public function getAttribs() { $r = new ReflectionObject($this); $properties = $r->getProperties(); $attribs = array(); foreach ($properties as $property) { if ($property->isPublic()) { $attribs[$property->getName()] = $property->getValue($this); } } return $attribs; } {quote}

When I call this methods :

bq. $property->isPublic()

Unfortunately I can't go further since I have no idea where I can find the source of the ReflectionObject.

Could you please take a look ? Thanks


Posted by Matthew Weier O'Phinney (matthew) on 2008-03-08T12:06:21.000+0000

This has been resolved for several weeks, and the fix pre-dates the preview release.

Posted by Wil Sinclair (wil) on 2008-04-21T14:50:08.000+0000

This appears to have been fixed before 1.5.0RC1. Please update if this is not the case.

Posted by Wil Sinclair (wil) on 2008-08-30T02:44:08.000+0000

Cleaning up fix for versions to only include production releases.

Have you found an issue?

See the Overview section for more details.


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

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