FunctionList Parsers: Additions & Suggestions

  • Deadooshka
    Deadooshka
    2013-12-20

    try to parse this PHP-code with and without comments and {-symbol. (v6.5.2 with any php-parser)

    <?php
    
    class _x1
    {
    
    /*
        function _commented1()
        {
            echo '1';
        }
    */
    
        function _f1()
        {
            $var = '{';
        }
    
    }
    
    /*
    function _commented2()
    {
        echo '2';
    }
    */
    
    ?>
    

    imo it is a bug of the FL-plugin itself.
    1) {-symbol inside string breaks class parsing.
    2) _commented2() is parsed although commented out.

     
    Last edit: Deadooshka 2013-12-22