Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3108

PHP: Some features(e.g. Go to declaration) do not work after "new"

    XMLWordPrintableJSON

Details

    Description

      Simple example:

      new self::$test['test'];
      

      This code is valid but not actually supported by Netbeans parser. Nothing of the following works: "find usages"/refactoring/go to declaration

      Other IDE: worked fine at least in PhpStorm, Visual Studio Code(with Intelephense plugin)

      Attachments

        1. Test.php
          2 kB
          SL EF

        Issue Links

          Activity

            People

              junichi11 Junichi Yamamoto
              sl_ef_user SL EF
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h