Bug #60809 [Opn->Ctl]: TRAITS - PHPDoc Comment Style Bug
| From: | gron@php.net | Date: | Thu, 19 Jan 2012 18:48:32 +0000 |
| Subject: | Bug #60809 [Opn->Ctl]: TRAITS - PHPDoc Comment Style Bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-166618@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60809&edit=1
ID: 60809
Updated by: gron@php.net
Reported by: micronix at gmx dot net
Summary: TRAITS - PHPDoc Comment Style Bug
-Status: Open
+Status: Critical
Type: Bug
Package: *General Issues
Operating System: Windows
PHP Version: 5.4.0RC5
Block user comment: N
Private report: N
New Comment:
I can confirm that.
smarr:~/svn/trunk$ sapi/cli/php doctest.php
[Thu Jan 19 19:45:13 2012] Script: 'doctest.php'
---------------------------------------
/Users/smarr/Projects/PHP-Traits/svn/trunk/Zend/zend_compile.c(131) : Block
0x1007c60e8 status:
Beginning: Cached
Freed (invalid)
Start: OK
End: OK
---------------------------------------
Looks like zend_destroy_property_info thinks it should free something, which might
already have been freed.
Won't have time to look into that before the weekend.
Sorry.
Previous Comments:
------------------------------------------------------------------------
[2012-01-19 18:41:14] micronix at gmx dot net
Description:
------------
Hello,
if you created in an separated file a trait with phpdoc inside. The apache server reset the
connection immediatly.
Test script:
---------------
/// Example.php
class Example
use ExampleTrait;
public function __construct()
{
echo $this->hello_world;
}
}
/// END OF Example.php
/// ExampleTrait.php
trait ExampleTrait {
/**
*
*/
public $hello_world = 'hello World ^^';
}
/// END OF ExampleTrait.php
Expected result:
----------------
The Apache server can not load the output of the page.
the connection was reset while the page was loading.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60809&edit=1