mirror of
https://github.com/php/php-src.git
synced 2024-10-17 22:42:38 +00:00
15 lines
221 B
Plaintext
15 lines
221 B
Plaintext
|
--TEST--
|
||
|
Check error message for missing traits
|
||
|
--FILE--
|
||
|
<?php
|
||
|
error_reporting(E_ALL);
|
||
|
|
||
|
class TraitsTest {
|
||
|
use THello;
|
||
|
}
|
||
|
|
||
|
$test = new TraitsTest();
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Trait 'THello' not found in %s on line %d
|