summaryrefslogtreecommitdiff
path: root/Zend/tests/traits/error_002.phpt
blob: 0c2f19d2df172379ebb43d4a42dee80689f89589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Trying to use an undefined trait
--FILE--
<?php

class A {
    use abc;
}

?>
--EXPECTF--
Fatal error: Trait 'abc' not found in %s on line %d