--TEST-- Test trait_exists() function : basic functionality --FILE-- --EXPECTF-- *** Testing trait_exists() : basic functionality *** Calling trait_exists() on non-existent trait with autoload explicitly enabled: In __autoload(C) bool(false) Calling trait_exists() on existing trait with autoload explicitly enabled: bool(true) Calling trait_exists() on non-existent trait with autoload explicitly enabled: bool(false) Calling trait_exists() on existing trait with autoload explicitly disabled: bool(true) Calling trait_exists() on non-existent trait with autoload unspecified: In __autoload(E) bool(false) Calling trait_exists() on existing trait with autoload unspecified: bool(true) Done