mirror of https://github.com/php/php-src
Browse Source
abstract class foo { }
class T { use foo; } // T cannot use foo - it is not a trait
- Added check for trait on NEW
trait a { }
new a; // Cannot instantiate trait a
# Tests for errors comming soon :)
experimental/lemon
3 changed files with 7 additions and 3 deletions
Loading…
Reference in new issue