]> granicus.if.org Git - php/commit
- Added check for abstract class
authorFelipe Pena <felipe@php.net>
Tue, 4 May 2010 18:21:00 +0000 (18:21 +0000)
committerFelipe Pena <felipe@php.net>
Tue, 4 May 2010 18:21:00 +0000 (18:21 +0000)
commit45a536fc7cdda856447d0aaff98eeded3bb894de
tree7319d41b7a588f91b6ab953624bcfabe6a332dcc
parentd920d6226eddc651631bcd371d1b49b474ada363
- Added check for abstract class

  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 :)
Zend/zend_compile.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h