1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 15:08:16 +02:00
Files
archived-php-src/Zend/tests/traits/bugs/missing-trait.phpt
T
2020-07-10 21:05:28 +02:00

16 lines
221 B
PHP

--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