| Anonymous | Login | Signup for a new account | 11-05-2025 05:49 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ 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 | ||||||
| Status | closed | Product 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.) |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |