Home
last modified time | relevance | path

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

/PHP-8.2/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_internal_class.phpt2 Stringable should be automatically implemented for internal classes
8 // _ZendTestClass defines __toString() but does not explicitly implement Stringable.
10 var_dump($obj instanceof 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 Dinterface_with_tostring.phpt17 string(10) "Stringable"
/PHP-8.2/Zend/tests/type_declarations/variance/
H A Dstringable.phpt2 Automatic Stringable implementation participates in variance
7 public function test(): Stringable {}
/PHP-8.2/ext/tokenizer/tests/
H A DPhpToken_toString.phpt11 var_dump($tokens[0] instanceof Stringable);
/PHP-8.2/Zend/tests/return_types/
H A Dnever_tostring.phpt6 class A implements Stringable {
/PHP-8.2/ext/tokenizer/
H A Dtokenizer.stub.php15 class PhpToken implements Stringable
/PHP-8.2/Zend/
H A Dzend_interfaces.stub.php64 interface Stringable interface
H A Dzend_exceptions.stub.php7 interface Throwable extends Stringable
H A Dzend_interfaces_arginfo.h118 …ZEND_ABSTRACT_ME_WITH_FLAGS(Stringable, __toString, arginfo_class_Stringable___toString, ZEND_ACC_…
/PHP-8.2/sapi/cli/tests/
H A D005.phpt40 string(2232) "Class [ <internal:Core> class Exception implements Stringable, Throwable ] {
133 Method [ <internal:Core, prototype Stringable> public method __toString ] {
/PHP-8.2/ext/simplexml/
H A Dsimplexml.stub.php12 class SimpleXMLElement implements Stringable, Countable, RecursiveIterator
/PHP-8.2/ext/spl/tests/
H A Dclass_implements_variation1.phpt182 ["Stringable"]=>
183 string(10) "Stringable"
/PHP-8.2/ext/reflection/
H A Dphp_reflection.stub.php15 interface Reflector extends Stringable
696 abstract class ReflectionType implements Stringable
/PHP-8.2/ext/reflection/tests/
H A DReflectionClass_toString_001.phpt12 Class [ <internal:Reflection> class ReflectionClass implements Stringable, Reflector ] {
46 Method [ <internal:Reflection, prototype Stringable> public method __toString ] {
/PHP-8.2/ext/spl/
H A Dspl_directory.stub.php6 class SplFileInfo implements Stringable
H A Dspl_iterators.stub.php222 class CachingIterator extends IteratorIterator implements ArrayAccess, Countable, Stringable
/PHP-8.2/Zend/tests/type_declarations/
H A Dscalar_basic.phpt23 class StringCapable implements Stringable {

Completed in 25 milliseconds