Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3258 | major | always | 01-14-09 18:39 | 01-15-09 10:09 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.0 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.0 | ||
|
|||||
Summary: | 0003258: Object __toString is not being called when object is passed to Java module function | ||||
Description: |
<?php class Foo { public $var = 'abc'; public function __toString() { return $this->var; } } $x = new Foo; error_log($x); This should log "abc" but it logs "ObjectExtValue@921428820[Foo]" instead. This also affects Java methods that are in PHP extension classes (i.e., listed in WEB-INF/classes/META-INF/services/com.caucho.quercus.QuercusModule rather than imported with an "import" statement.) |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|