Searched refs:__toString (Results 1 – 25 of 737) sorted by relevance
12345678910>>...30
/PHP-5.6/tests/classes/ |
H A D | tostring_001.phpt | 2 ZE2 __toString() 90 test2::__toString() 95 test2::__toString() 98 test2::__toString() 101 test2::__toString() 106 test2::__toString() 107 test2::__toString() 110 test2::__toString() 112 test2::__toString() 115 test2::__toString() [all …]
|
H A D | tostring_004.phpt | 12 echo "Object with no __toString():\n"; 22 echo "\n\nObject with bad __toString():\n"; 24 function __toString() { 38 Object with no __toString(): 49 Object with bad __toString(): 51 Error: 4096 - Method badToString::__toString() must return a string value 55 Error: 4096 - Method badToString::__toString() must return a string value
|
H A D | tostring_003.phpt | 2 ZE2 __toString() in __destruct/exception 8 function __toString() 33 Fatal error: Method Test::__toString() must not throw an exception in %stostring_003.php on line %d
|
H A D | tostring_002.phpt | 2 ZE2 __toString() in __destruct 10 function __toString()
|
/PHP-5.6/ext/spl/tests/ |
H A D | bug62328.phpt | 2 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 D | bug64023.phpt | 2 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 D | iterator_003.phpt | 2 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";
|
H A D | iterator_036.phpt | 2 SPL: CachingIterator and __toString and flags = 0 22 Fatal error: Method CachingIterator::__toString() must not throw an exception in %siterator_036.php…
|
H A D | spl_cachingiterator___toString_basic.phpt | 12 $ci->__toString() // if conversion to string is done by echo, for example, an exeption is thrown. I…
|
/PHP-5.6/Zend/tests/ |
H A D | bug26166.phpt | 2 Bug #26166 (__toString() crash when no values returned) 8 function __toString() 23 function __toString() 25 return $this->obj->__toString(); 42 function __toString() { 53 function __toString() { 71 string(52) "Method None::__toString() must return a string value" 74 Fatal error: Method Error::__toString() must not throw an exception in %sbug26166.php on line %d
|
H A D | magic_methods_010.phpt | 2 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 D | bug39445.phpt | 2 Bug #39445 (Calling debug_backtrace() in the __toString() function produces a crash) 6 public function __toString() {
|
H A D | bug43450.phpt | 2 Bug #43450 (Memory leak on some functions with implicit object __toString() call) 13 public function __toString()
|
H A D | bug60909_2.phpt | 9 public function __toString() { 17 Fatal error: Method Bad::__toString() must not throw an exception in %sbug60909_2.php on line 0
|
/PHP-5.6/ext/reflection/tests/ |
H A D | ReflectionMethod_basic2.phpt | 2 ReflectionMethod class __toString() and export() methods 10 echo "__toString():\n"; 11 var_dump($methodInfo->__toString()); 56 __toString(): 72 __toString(): 88 __toString(): 104 __toString(): 120 __toString(): 136 __toString(): 152 __toString(): [all …]
|
H A D | ReflectionMethod_constructor_error1.phpt | 20 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 D | ReflectionProperty_basic1.phpt | 2 Test usage of ReflectionProperty methods __toString(), export(), getName(), isPublic(), isPrivate()… 10 echo "__toString():\n"; 11 var_dump($propInfo->__toString()); 54 __toString(): 83 __toString(): 112 __toString(): 137 __toString():
|
H A D | bug60357.phpt | 2 Bug #60357 (__toString() method triggers E_NOTICE "Array to string conversion") 7 echo $r->__toString();
|
H A D | ReflectionParameter_toString_basic.phpt | 2 ReflectionParameter::__toString() 13 echo $value->__toString() . "\n";
|
/PHP-5.6/ext/date/tests/ |
H A D | DateTime_extends_basic1.phpt | 16 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 D | DateTimeZone_extends_basic1.phpt | 13 public function __toString() 22 echo "\n-- Invoke __toString --\n"; 32 -- Invoke __toString --
|
/PHP-5.6/ext/simplexml/tests/ |
H A D | bug62328.phpt | 2 Bug #62328 (implementing __toString and a cast to string fails) 8 public function __toString() { 16 var_dump($xml->__toString());
|
H A D | 035.phpt | 2 SimpleXML: __toString 18 echo $p->__toString()."\n";
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | array_column_object_cast.phpt | 6 function __toString() { return 'first_name'; } 10 function __toString() { return 'id'; } 14 function __toString() { return '2135'; }
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | bug55871.phpt | 6 public function __toString() { 13 public function __toString() { 20 public function __toString() {
|
Completed in 22 milliseconds
12345678910>>...30