Searched refs:Stringable (Results 1 – 25 of 26) sorted by relevance
12
2 Stringable is automatically implemented12 var_dump(new Test instanceof Stringable);21 var_dump(new Test2 instanceof Stringable);29 string(10) "Stringable"34 string(10) "Stringable"
2 Stringable should be automatically implemented for internal classes8 // _ZendTestClass defines __toString() but does not explicitly implement Stringable.10 var_dump($obj instanceof Stringable);
2 Bug #81582: Stringable not implicitly declared if __toString() came from a trait22 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.
17 string(10) "Stringable"
6 public const stdClass&Stringable CONST1 = C;7 public const stdClass&Stringable CONST2 = A::CONST1;37 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable38 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable39 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable40 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable
5 class S implements Stringable {16 public const S|Stringable CONST3 = S;25 public const S&Stringable CONST4 = Z;26 public const (S&Stringable)|null CONST5 = Z;
6 public const stdClass&Stringable CONST1 = C;24 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable25 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable
9 public const B&Stringable CONST4 = C;10 public const (B&Stringable)|null CONST5 = C;13 class B implements Stringable {
2 Automatic Stringable implementation participates in variance7 public function test(): Stringable {}
11 return "Stringable";
7 return "Stringable";
11 var_dump($tokens[0] instanceof Stringable);
6 class A implements Stringable {
15 class PhpToken implements Stringable
2 Test unserialize() with Stringable object in allowed_classes
64 interface Stringable interface
7 interface Throwable extends Stringable
40 string(2232) "Class [ <internal:Core> class Exception implements Stringable, Throwable ] {133 Method [ <internal:Core, prototype Stringable> public method __toString ] {
12 class SimpleXMLElement implements Stringable, Countable, RecursiveIterator
182 ["Stringable"]=>183 string(10) "Stringable"
54 final readonly class Number implements \Stringable
6 class SplFileInfo implements Stringable
210 class CachingIterator extends IteratorIterator implements ArrayAccess, Countable, Stringable
15 interface Reflector extends Stringable713 abstract class ReflectionType implements Stringable
12 Class [ <internal:Reflection> class ReflectionClass implements Stringable, Reflector ] {48 Method [ <internal:Reflection, prototype Stringable> public method __toString ] {
Completed in 46 milliseconds