Searched refs:Stringable (Results 1 – 19 of 19) sorted by relevance
/PHP-8.2/Zend/tests/ |
H A D | stringable_automatic_implementation.phpt | 2 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 D | stringable_internal_class.phpt | 2 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 D | stringable_trait.phpt | 2 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 D | interface_with_tostring.phpt | 17 string(10) "Stringable"
|
/PHP-8.2/Zend/tests/type_declarations/variance/ |
H A D | stringable.phpt | 2 Automatic Stringable implementation participates in variance 7 public function test(): Stringable {}
|
/PHP-8.2/ext/tokenizer/tests/ |
H A D | PhpToken_toString.phpt | 11 var_dump($tokens[0] instanceof Stringable);
|
/PHP-8.2/Zend/tests/return_types/ |
H A D | never_tostring.phpt | 6 class A implements Stringable {
|
/PHP-8.2/ext/tokenizer/ |
H A D | tokenizer.stub.php | 15 class PhpToken implements Stringable
|
/PHP-8.2/Zend/ |
H A D | zend_interfaces.stub.php | 64 interface Stringable interface
|
H A D | zend_exceptions.stub.php | 7 interface Throwable extends Stringable
|
H A D | zend_interfaces_arginfo.h | 118 …ZEND_ABSTRACT_ME_WITH_FLAGS(Stringable, __toString, arginfo_class_Stringable___toString, ZEND_ACC_…
|
/PHP-8.2/sapi/cli/tests/ |
H A D | 005.phpt | 40 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 D | simplexml.stub.php | 12 class SimpleXMLElement implements Stringable, Countable, RecursiveIterator
|
/PHP-8.2/ext/spl/tests/ |
H A D | class_implements_variation1.phpt | 182 ["Stringable"]=> 183 string(10) "Stringable"
|
/PHP-8.2/ext/reflection/ |
H A D | php_reflection.stub.php | 15 interface Reflector extends Stringable 696 abstract class ReflectionType implements Stringable
|
/PHP-8.2/ext/reflection/tests/ |
H A D | ReflectionClass_toString_001.phpt | 12 Class [ <internal:Reflection> class ReflectionClass implements Stringable, Reflector ] { 46 Method [ <internal:Reflection, prototype Stringable> public method __toString ] {
|
/PHP-8.2/ext/spl/ |
H A D | spl_directory.stub.php | 6 class SplFileInfo implements Stringable
|
H A D | spl_iterators.stub.php | 222 class CachingIterator extends IteratorIterator implements ArrayAccess, Countable, Stringable
|
/PHP-8.2/Zend/tests/type_declarations/ |
H A D | scalar_basic.phpt | 23 class StringCapable implements Stringable {
|
Completed in 41 milliseconds