|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3223 | major | always | 01-06-09 22:16 | 01-07-09 11:00 | |
|
|
|||||
| Reporter: | koreth | Platform: | |||
| Assigned To: | nam | OS: | |||
| Priority: | urgent | OS Version: | |||
| Status: | closed | Product Version: | 4.0.0 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.0 | ||
|
|
|||||
| Summary: | 0003223: __toString method not being called when object is used in string context | ||||
| Description: |
<?php // Test to figure out why we're seeing ObjectExtValue from URI objects. class Foo { public $var = 'abc'; public function __toString() { return $this->var; } } $x = new Foo; print $x . 'def'; Regular PHP prints "abcdef". Quercus prints "ObjectExtValue@318434416[Foo]def". |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||