Home
last modified time | relevance | path

Searched refs:Stringable (Results 1 – 20 of 20) sorted by relevance

/PHP-8.0/Zend/tests/
H A Dstringable_automatic_implementation.phpt2 Stringable is automatically implemented
12 var_dump(new Test instanceof Stringable);
21 var_dump(new Test2 instanceof Stringable);
29 string(10) "Stringable"
34 string(10) "Stringable"
H A Dstringable_trait.phpt2 Bug #81582: Stringable not implicitly declared if __toString() came from a trait
22 var_dump(new C instanceof Stringable);
23 var_dump(new C2 instanceof Stringable);
25 // The traits themselves should not implement Stringable -- traits cannot implement interfaces.
H A Dstringable_internal_class.phpt2 Stringable should be automatically implemented for internal classes
10 // _ZendTestClass defines __toString() but does not explicitly implement Stringable.
12 var_dump($obj instanceof Stringable);
H A Dinterface_with_tostring.phpt17 string(10) "Stringable"
/PHP-8.0/Zend/tests/type_declarations/variance/
H A Dstringable.phpt2 Automatic Stringable implementation participates in variance
7 public function test(): Stringable {}
/PHP-8.0/ext/tokenizer/
H A Dtokenizer.stub.php9 class PhpToken implements Stringable
/PHP-8.0/ext/tokenizer/tests/
H A DPhpToken_toString.phpt9 var_dump($tokens[0] instanceof Stringable);
/PHP-8.0/Zend/
H A Dzend_interfaces.stub.php64 interface Stringable interface
H A Dzend_exceptions.stub.php5 interface Throwable extends Stringable
H A Dzend_interfaces_arginfo.h108 …ZEND_ABSTRACT_ME_WITH_FLAGS(Stringable, __toString, arginfo_class_Stringable___toString, ZEND_ACC_…
/PHP-8.0/sapi/cli/tests/
H A D005.phpt40 string(2194) "Class [ <internal:Core> class Exception implements Stringable, Throwable ] {
132 Method [ <internal:Core, prototype Stringable> public method __toString ] {
/PHP-8.0/ext/simplexml/
H A Dsimplexml.stub.php11 class SimpleXMLElement implements Stringable, Countable, RecursiveIterator
/PHP-8.0/ext/reflection/
H A Dphp_reflection.stub.php15 interface Reflector extends Stringable
554 abstract class ReflectionType implements Stringable
/PHP-8.0/ext/spl/tests/
H A Dclass_implements_variation1.phpt182 ["Stringable"]=>
183 string(10) "Stringable"
/PHP-8.0/ext/reflection/tests/
H A DReflectionClass_toString_001.phpt12 Class [ <internal:Reflection> class ReflectionClass implements Stringable, Reflector ] {
45 Method [ <internal:Reflection, prototype Stringable> public method __toString ] {
/PHP-8.0/Zend/tests/type_declarations/
H A Dscalar_basic.phpt22 class StringCapable implements Stringable {
/PHP-8.0/ext/spl/
H A Dspl_directory.c2765 REGISTER_SPL_IMPLEMENTS(SplFileInfo, Stringable); in PHP_MINIT_FUNCTION()
H A Dspl_iterators.c3290 REGISTER_SPL_IMPLEMENTS(CachingIterator, Stringable); in PHP_MINIT_FUNCTION()
/PHP-8.0/
H A DNEWS497 . Fixed bug #81582 (Stringable not implicitly declared if __toString() came
H A DUPGRADING736 . Added Stringable interface, which is automatically implemented if a class

Completed in 70 milliseconds