Anonymous | Login | Signup for a new account | 12-17-2024 11:03 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003258 | [Quercus] | major | always | 01-14-09 18:39 | 01-15-09 10:09 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.0 | Product Version | 4.0.0 | ||||
Product Build | |||||||||
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 | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |