ID:               50611
 Comment by:       mikhail dot v dot gavrilov at gmail dot com
 Reported By:      an0nym at narod dot ru
 Status:           Open
 Bug Type:         Reproducible crash
 Operating System: FreeBSD 7.2-RELEASE-p3
 PHP Version:      5.3.1
 New Comment:

Can confirm this.
OS: (Windows 2003 SP2 || Windows XP SP3) && PHP 5.3.1 NTS VC6


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

[2009-12-30 08:30:22] an0nym at narod dot ru

Description:
------------
Segmentation fault occurs when trying to assign a var to a reference
onto some index of a string variable. (I know it's dumb, but no segfault
should occur, but a Fatal error: ...)

Reproduce code:
---------------
<?php
$value1 = 'foobar';
$value2 = &$value1[0];

Expected result:
----------------
Fatal Error

Actual result:
--------------
Segmentation Fault


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


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

Reply via email to