mirror of
https://github.com/php/php-src.git
synced 2026-04-21 15:08:16 +02:00
d30cd7d7e7
Closes GH-5590
16 lines
221 B
PHP
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
|