Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003223 [Quercus] major always 01-06-09 22:16 01-07-09 11:00
Reporter koreth View Status public  
Assigned To nam
Priority urgent Resolution fixed  
Status closed   Product 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".
Additional Information
Attached Files

- Relationships

- Notes
(0003707)
nam
01-07-09 11:00

php/09ko
php/39ko
 

- Issue History
Date Modified Username Field Change
01-06-09 22:16 koreth New Issue
01-07-09 10:35 nam Priority normal => urgent
01-07-09 11:00 nam Status new => assigned
01-07-09 11:00 nam Assigned To  => nam
01-07-09 11:00 nam Status assigned => closed
01-07-09 11:00 nam Note Added: 0003707
01-07-09 11:00 nam Resolution open => fixed
01-07-09 11:00 nam Fixed in Version  => 4.0.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker