Home
last modified time | relevance | path

Searched refs:__toString (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/PHP-7.4/tests/classes/
H A Dtostring_001.phpt2 ZE2 __toString()
12 function __toString()
91 test2::__toString()
96 test2::__toString()
99 test2::__toString()
102 test2::__toString()
107 test2::__toString()
108 test2::__toString()
111 test2::__toString()
113 test2::__toString()
[all …]
H A Dtostring_004.phpt12 echo "Object with no __toString():\n";
29 echo "\n\nObject with bad __toString():\n";
31 function __toString() {
54 Object with no __toString():
63 Object with bad __toString():
65 Method badToString::__toString() must return a string value
69 Method badToString::__toString() must return a string value
H A Dtostring_002.phpt2 ZE2 __toString() in __destruct
8 function __toString()
H A Dtostring_003.phpt2 ZE2 __toString() in __destruct/exception
8 function __toString()
/PHP-7.4/ext/spl/tests/
H A Dbug62328.phpt2 Bug #62328 (cast_object takes precedence over __toString)
10 public function __toString()
12 return '__toString';
19 echo (string)$fi->__toString() . PHP_EOL;
23 __toString
24 __toString
H A Dbug64023.phpt2 Bug #64023: Overloading __toString() in SplFileInfo has no effect
7 public function __toString() {return ' -expected- ';}
13 echo $a, $a->__toString(), $a->__toString() . '', "\n";
15 // Does not work - outputs parent::__toString()
H A Diterator_003.phpt2 SPL: CachingIterator and __toString()
17 public function __toString()
83 // generated by a call to __toString(). To check this we need to access the
84 // iterator's __toString() method.
87 echo $it->__toString(), "\n";
/PHP-7.4/Zend/tests/
H A Dbug26166.phpt2 Bug #26166 (__toString() crash when no values returned)
8 function __toString()
23 function __toString()
25 return $this->obj->__toString();
36 function __toString() {
51 function __toString() {
68 Method NoneTest::__toString() must return a string value
H A Dbug70967.phpt2 Bug #70967 (Weird error handling for __toString when Error is thrown)
6 public function __toString() {
16 #0 %s(%d): A->__toString()
H A Dmagic_methods_010.phpt2 Testing __toString() declaration with wrong modifier
7 static protected function __toString($a, $b) {
13 Warning: The magic method __toString() must have public visibility and cannot be static in %s on li…
H A Dstrlen.phpt2 Fixed execute_data corruption with __toString()
10 public function __toString()
29 public function __toString()
H A Dbug39445.phpt2 Bug #39445 (Calling debug_backtrace() in the __toString() function produces a crash)
6 public function __toString() {
H A Dbug43450.phpt2 Bug #43450 (Memory leak on some functions with implicit object __toString() call)
10 public function __toString()
/PHP-7.4/ext/date/tests/
H A DDateTime_extends_basic1.phpt16 public function __toString()
25 echo "\n-- Invoke __toString --\n";
32 echo "\n-- Invoke __toString again --\n";
42 -- Invoke __toString --
47 -- Invoke __toString again --
H A DDateTimeZone_extends_basic1.phpt13 public function __toString()
22 echo "\n-- Invoke __toString --\n";
32 -- Invoke __toString --
/PHP-7.4/ext/simplexml/tests/
H A Dbug62328.phpt2 Bug #62328 (implementing __toString and a cast to string fails)
8 public function __toString() {
16 var_dump($xml->__toString());
/PHP-7.4/ext/reflection/tests/
H A DReflectionNamedType.phpt2 ReflectionNamedType::getName() and ReflectionNamedType::__toString()
36 Deprecated: Function ReflectionType::__toString() is deprecated in %s on line %d
40 Deprecated: Function ReflectionType::__toString() is deprecated in %s on line %d
44 Deprecated: Function ReflectionType::__toString() is deprecated in %s on line %d
48 Deprecated: Function ReflectionType::__toString() is deprecated in %s on line %d
H A DReflectionMethod_basic2.phpt2 ReflectionMethod class __toString() and export() methods
10 echo "__toString():\n";
11 var_dump($methodInfo->__toString());
56 __toString():
74 __toString():
92 __toString():
110 __toString():
128 __toString():
146 __toString():
164 __toString():
[all …]
H A DReflectionMethod_constructor_error1.phpt20 print $e->__toString();
26 print $e->__toString();
32 print $e->__toString();
38 print $e->__toString();
44 print $e->__toString();
50 print $e->__toString();
56 print $e->__toString();
62 print $e->__toString();
H A Dbug60357.phpt2 Bug #60357 (__toString() method triggers E_NOTICE "Array to string conversion")
7 echo $r->__toString();
H A Dbug72661.phpt2 Bug #72661 (ReflectionType::__toString crashes with iterable)
10 Deprecated: Function ReflectionType::__toString() is deprecated in %s on line %d
H A DReflectionProperty_basic1.phpt2 Test usage of ReflectionProperty methods __toString(), export(), getName(), isPublic(), isPrivate()…
10 echo "__toString():\n";
11 var_dump($propInfo->__toString());
54 __toString():
87 __toString():
120 __toString():
149 __toString():
H A DReflectionParameter_toString_basic.phpt2 ReflectionParameter::__toString()
13 echo $value->__toString() . "\n";
/PHP-7.4/ext/standard/tests/array/
H A Darray_column_object_cast.phpt6 function __toString() { return 'first_name'; }
10 function __toString() { return 'id'; }
14 function __toString() { return '2135'; }
/PHP-7.4/ext/standard/tests/strings/
H A Dbug55871.phpt6 public function __toString() {
13 public function __toString() {
20 public function __toString() {

Completed in 70 milliseconds

12345678910>>...13