ID:               30421
 Updated by:       [EMAIL PROTECTED]
 Reported By:      melnikow at hotbox dot ru
-Status:           Closed
+Status:           Bogus
 Bug Type:         Zend Engine 2 problem
 Operating System: WinXP
 PHP Version:      5.0.1


Previous Comments:
------------------------------------------------------------------------

[2004-10-17 13:19:24] melnikow at hotbox dot ru

ok

------------------------------------------------------------------------

[2004-10-17 13:10:44] [EMAIL PROTECTED]

Yes, this is expected behavior. No bug here.

------------------------------------------------------------------------

[2004-10-17 11:09:33] melnikow at hotbox dot ru

// A construction 
echo $obj; 
// realy works as expected and the output is a string: What ever

// But using this object in string context or explicit
// type casting (string) return unexpected result:
echo "Any string $obj";
// Output: Any string Object id #1

------------------------------------------------------------------------

[2004-10-14 07:58:14] [EMAIL PROTECTED]

Still works as expected:

[EMAIL PROTECTED]:~$ php-5.0dev bug30421.php

What ever


[EMAIL PROTECTED]:~$ php-5.0dev -v bug30421.php

PHP 5.0.2-dev (cli) (built: Sep 12 2004 11:50:47) (DEBUG)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.2-dev, Copyright (c) 1998-2004 Zend Technologies


------------------------------------------------------------------------

[2004-10-13 18:22:59] melnikow at hotbox dot ru

Sorry, assumes that

$obj = new Foo();

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/30421

-- 
Edit this bug report at http://bugs.php.net/?id=30421&edit=1

Reply via email to