Annotation of embedaddon/php/Zend/tests/027.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Testing dynamic calls using variable variables with curly syntax
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: $a = 'b';
        !             7: $b = 'c';
        !             8: $c = 'strtoupper';
        !             9: 
        !            10: var_dump(${${$a}}('foo') == 'FOO');
        !            11: 
        !            12: $a = 'b';
        !            13: $b = 'c';
        !            14: $c = 'strtoupper';
        !            15: $strtoupper = 'strtolower';
        !            16: 
        !            17: var_dump(${${++$a}}('FOO') == 'foo');
        !            18: 
        !            19: ?>
        !            20: --EXPECT--
        !            21: bool(true)
        !            22: bool(true)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>