This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 153707 - CC doesn't compete $this in echo
Summary: CC doesn't compete $this in echo
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-22 17:28 UTC by Mikhail Matveev
Modified: 2011-04-06 08:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Matveev 2008-11-22 17:28:52 UTC
CC doesn't complete $this in the following code. This is a specific case of 148219, which is generally fixed.

<?php

class Book {
    public $name;
    
    public function getName() {
        return $this->name;
    }
        
    public function setName($name) {
        $this->name = $name;
        echo "$th|";
    }

?>
Comment 1 Tomasz Slota 2010-02-10 08:45:30 UTC
reassigning to default owner
Comment 2 Filip Zamboj 2010-09-15 12:27:38 UTC
batch reassigning
Comment 3 Petr Pisl 2011-04-05 16:58:11 UTC
Fixed in web-main.
Comment 4 Quality Engineering 2011-04-06 08:46:21 UTC
Integrated into 'main-golden', will be available in build *201104060400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/08a1cf328634
User: Petr Pisl <ppisl@netbeans.org>
Log: #153707 - CC doesn't compete $this in echo