ID:               28488
 Updated by:       [EMAIL PROTECTED]
 Reported By:      tomas dot matousek at matfyz dot cz
-Status:           Open
+Status:           Bogus
-Bug Type:         Scripting Engine problem
+Bug Type:         Zend Engine 2 problem
 Operating System: WinXP
 PHP Version:      5.0.0RC2
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Use error_reporting(E_ALL|E_STRICT); to turn on E_STRICT notices.


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

[2004-05-22 13:15:22] tomas dot matousek at matfyz dot cz

Description:
------------
PHP should report a warning if -> operator is used on a string.

Reproduce code:
---------------
<?
$x = "sdfs";

$x->y->z = 1;

var_dump($x);
?>

Expected result:
----------------
Warning: ... 
string(4) "sdfs" 

Actual result:
--------------
string(4) "sdfs" 


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


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

Reply via email to