Searched refs:Stringable (Results 1 – 20 of 20) sorted by relevance
/PHP-8.0/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_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 | stringable_internal_class.phpt | 2 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 D | interface_with_tostring.phpt | 17 string(10) "Stringable"
|
/PHP-8.0/Zend/tests/type_declarations/variance/ |
H A D | stringable.phpt | 2 Automatic Stringable implementation participates in variance 7 public function test(): Stringable {}
|
/PHP-8.0/ext/tokenizer/ |
H A D | tokenizer.stub.php | 9 class PhpToken implements Stringable
|
/PHP-8.0/ext/tokenizer/tests/ |
H A D | PhpToken_toString.phpt | 9 var_dump($tokens[0] instanceof Stringable);
|
/PHP-8.0/Zend/ |
H A D | zend_interfaces.stub.php | 64 interface Stringable interface
|
H A D | zend_exceptions.stub.php | 5 interface Throwable extends Stringable
|
H A D | zend_interfaces_arginfo.h | 108 …ZEND_ABSTRACT_ME_WITH_FLAGS(Stringable, __toString, arginfo_class_Stringable___toString, ZEND_ACC_…
|
/PHP-8.0/sapi/cli/tests/ |
H A D | 005.phpt | 40 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 D | simplexml.stub.php | 11 class SimpleXMLElement implements Stringable, Countable, RecursiveIterator
|
/PHP-8.0/ext/reflection/ |
H A D | php_reflection.stub.php | 15 interface Reflector extends Stringable 554 abstract class ReflectionType implements Stringable
|
/PHP-8.0/ext/spl/tests/ |
H A D | class_implements_variation1.phpt | 182 ["Stringable"]=> 183 string(10) "Stringable"
|
/PHP-8.0/ext/reflection/tests/ |
H A D | ReflectionClass_toString_001.phpt | 12 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 D | scalar_basic.phpt | 22 class StringCapable implements Stringable {
|
/PHP-8.0/ext/spl/ |
H A D | spl_directory.c | 2765 REGISTER_SPL_IMPLEMENTS(SplFileInfo, Stringable); in PHP_MINIT_FUNCTION()
|
H A D | spl_iterators.c | 3290 REGISTER_SPL_IMPLEMENTS(CachingIterator, Stringable); in PHP_MINIT_FUNCTION()
|
/PHP-8.0/ |
H A D | NEWS | 497 . Fixed bug #81582 (Stringable not implicitly declared if __toString() came
|
H A D | UPGRADING | 736 . Added Stringable interface, which is automatically implemented if a class
|
Completed in 40 milliseconds