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

Syntax error for UVS

    XMLWordPrintableJSON

Details

    Description

      Reproducible code:

      <?php
      class UVS {
          public function isTest($param): bool {
              return true;
          }
      }
      
      ($test = new UVS()); // no error
      $isTest = ($test = new UVS())->isTest('test'); // error
      

      Attachments

        Issue Links

          Activity

            People

              junichi11 Junichi Yamamoto
              junichi11 Junichi Yamamoto
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 20m
                  20m