summaryrefslogtreecommitdiff
path: root/Zend/tests/traits/error_007.phpt
blob: 82a6a2e94139627b301092a63a7469d2b062d705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Trying to instantiate a trait
--FILE--
<?php

trait abc { 
}

new abc;

?>
--EXPECTF--
Fatal error: Cannot instantiate trait abc in %s on line %d