| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
  [2016-06-30 11:03 UTC] remi@php.net
 Description:
------------
When dtrace is enabled, 1 test fails
Test script:
---------------
With ./configure --disable-all --enable-dtrace
make testTESTS=ext/reflection/
Expected result:
----------------
As with ./configure --disable-all
Tests failed    :    0 (  0.0%) (  0.0%)
Tests passed    :  326 ( 97.3%) (100.0%)
Actual result:
--------------
Tests failed    :    1 (  0.3%) (  0.3%)
Tests passed    :  325 ( 97.0%) ( 99.7%)
FAILED TEST SUMMARY
---------------------------------------------------------------------
ReflectionGenerator basic test
[ext/reflection/tests/ReflectionGenerator_basic.phpt]
cat ext/reflection/tests/ReflectionGenerator_basic.diff
019+ object(Generator)#5 (0) {
019- object(Generator)#6 (0) {
021+ object(ReflectionMethod)#7 (2) {
021- object(ReflectionMethod)#8 (2) {
027+ *RECURSION*
028+ object(Generator)#3 (0) {
027- object(class@anonymous)#1 (0) {
029- object(Generator)#4 (0) {
030- }
034+ object(Generator)#3 (0) {
035- object(Generator)#4 (0) {
036+ object(ReflectionFunction)#6 (1) {
037- object(ReflectionFunction)#7 (1) {
041+ object(Generator)#4 (0) {
042- object(Generator)#5 (0) {
047+ object(Generator)#4 (0) {
048- object(Generator)#5 (0) {
049+ object(ReflectionFunction)#7 (1) {
050- object(ReflectionFunction)#8 (1) {
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 10:00:02 2025 UTC | 
actually this is not reflection specific issue. <?php $gen = (new class() { function a() { yield "okey"; } })->a(1); var_dump($gen->current());