Hi,

2011/7/31 Stefan Marr <g...@php.net>:
> gron                                     Sun, 31 Jul 2011 18:18:56 +0000
>
> Revision: http://svn.php.net/viewvc?view=revision&revision=313997
>
> Log:
> Fixed Bug #55214        use of __CLASS__ within trait returns trait name not 
> class name [TRAITS] [DOC]
>
> Bug: https://bugs.php.net/55214 (Assigned) use of __CLASS__ within trait 
> returns trait name not class name
>
> Changed paths:
>    A   php/php-src/branches/PHP_5_4/Zend/tests/traits/bug55214.phpt
>    U   php/php-src/branches/PHP_5_4/Zend/zend_compile.c
>    U   php/php-src/branches/PHP_5_4/Zend/zend_language_scanner.c
>    U   php/php-src/branches/PHP_5_4/Zend/zend_language_scanner.l
>    U   php/php-src/branches/PHP_5_4/Zend/zend_language_scanner_defs.h
>    A   php/php-src/trunk/Zend/tests/traits/bug55214.phpt
>    U   php/php-src/trunk/Zend/zend_compile.c
>    U   php/php-src/trunk/Zend/zend_language_scanner.c
>    U   php/php-src/trunk/Zend/zend_language_scanner.l
>    U   php/php-src/trunk/Zend/zend_language_scanner_defs.h
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

I got a failure in this new test (--enable-debug --enable-maintainer-zts):

$ cat Zend/tests/traits/bug55214.diff
005+
006+ Warning: String is not zero-terminated (ZZZZZZZZZZZZZZ�~���)
(source: /home/felipe/dev/php5_4/Zend/zend_opcode.c:381) in Unknown on
line 0
007+ [Sat Aug  6 15:08:37 2011]  Script:
'/home/felipe/dev/php5_4/Zend/tests/traits/bug55214.php'
008+ ---------------------------------------
009+ /home/felipe/dev/php5_4/Zend/zend_opcode.c(381) : Block 0xb6d61c18 status:
010+ /home/felipe/dev/php5_4/Zend/zend_variables.c(36) : Actual
location (location was relayed)
011+ Beginning:         Cached
012+ Freed (invalid)
013+     Start: OK
014+       End: OK
015+ ---------------------------------------
016+
017+ Warning: String is not zero-terminated (ZZZZZZZZZZZZZZ�~���)
(source: /home/felipe/dev/php5_4/Zend/zend_opcode.c:381) in Unknown on
line 0
018+ [Sat Aug  6 15:08:37 2011]  Script:
'/home/felipe/dev/php5_4/Zend/tests/traits/bug55214.php'
019+ ---------------------------------------
020+ /home/felipe/dev/php5_4/Zend/zend_opcode.c(381) : Block 0xb6d61c18 status:
021+ /home/felipe/dev/php5_4/Zend/zend_variables.c(36) : Actual
location (location was relayed)
022+ Beginning:         Cached
023+ Freed (invalid)
024+     Start: OK
025+       End: OK
026+ ---------------------------------------
027+
028+ Warning: String is not zero-terminated (ZZZZZZZZZZ�~��) (source:
/home/felipe/dev/php5_4/Zend/zend_opcode.c:381) in Unknown on line 0
029+ [Sat Aug  6 15:08:37 2011]  Script:
'/home/felipe/dev/php5_4/Zend/tests/traits/bug55214.php'
030+ ---------------------------------------
031+ /home/felipe/dev/php5_4/Zend/zend_opcode.c(381) : Block 0xb6d619a0 status:
032+ /home/felipe/dev/php5_4/Zend/zend_variables.c(36) : Actual
location (location was relayed)
033+ Beginning:         Cached
034+ Freed (invalid)
035+     Start: OK
036+       End: OK
037+ ---------------------------------------
038+
039+ Warning: String is not zero-terminated (ZZZZZZZZZZ�~��) (source:
/home/felipe/dev/php5_4/Zend/zend_opcode.c:381) in Unknown on line 0
040+ [Sat Aug  6 15:08:37 2011]  Script:
'/home/felipe/dev/php5_4/Zend/tests/traits/bug55214.php'
041+ ---------------------------------------
042+ /home/felipe/dev/php5_4/Zend/zend_opcode.c(381) : Block 0xb6d619a0 status:
043+ /home/felipe/dev/php5_4/Zend/zend_variables.c(36) : Actual
location (location was relayed)
044+ Beginning:         Cached
045+ Freed (invalid)
046+     Start: OK
047+       End: OK
048+ ---------------------------------------

-- 
Regards,
Felipe Pena

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to