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 235285 - Mark occurences for type constant usages in traits
Summary: Mark occurences for type constant usages in traits
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-30 07:23 UTC by Ondrej Brejla
Modified: 2013-08-30 07:23 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Brejla 2013-08-30 07:23:02 UTC
<?php

trait Trt {
    public function bar() {
        echo static::FOO; // HERE
        echo static::FOO; // HERE
    }
}

class Cls {
    use Trt;

    const FOO = 1; // HERE
}
?>