Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329135 - [Regression] CA does not work in certain cases
Summary: [Regression] CA does not work in certain cases
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact: Ilina Stefanova CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-30 08:58 EDT by Sylvia Tancheva CLA
Modified: 2020-05-14 11:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvia Tancheva CLA 2010-10-30 08:58:34 EDT
See the example code and note the comments:
    <?php
    class Foo {
       public $test;
    }

    class Bar {
       public function test() {
          $Foo = new Foo();
          $Foo->test;            // code assist works here
          $name = $Foo->         // code assist doesn't work here
       }
    }

    function test() {
       $Foo = new Foo();
       $Foo->test;               // code assist works
       $test = $Foo->            // code assist doesn't work
    }

    $Foo = new Foo();
    $Foo->test;                  // code assist works
    $test = $Foo->test;            // interestingly code assist works
    ?>
Comment 1 Zhongwei Zhao CLA 2010-10-30 11:37:46 EDT
fixed in head
Comment 2 Zhongwei Zhao CLA 2011-04-15 02:49:36 EDT
change status
Comment 3 Ilina Stefanova CLA 2011-07-22 04:58:43 EDT
Verified.