ID: 13341
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: Reproducible crash
Operating System: linux
PHP Version: 4.0.6
New Comment:

yup still segfaults with 4.1.0

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

[2002-01-06 07:41:19] [EMAIL PROTECTED]

Does this problem still occur with 4.1.1 and/or the latest CVS?

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

[2001-09-17 06:20:22] [EMAIL PROTECTED]

Fixed typo;

Btw where did the bug reporters stats go? It looks good to be on top ;)

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

[2001-09-17 06:14:58] [EMAIL PROTECTED]

Hiya,

Using the same var from the function and changing will sefault, copying
it first to another var will work... but should not happen, see
examples
<?
        ob_start('Segfault_Me');

        // works
        function Segfault_Me ($data) {
                $data2 = $data . "I didn't segfault :) :) :)";
                return($data2);
        }

        // segfaults
        function Segfault_Me ($data) {
                $data = "I didn't segfault :) :) :)";
                return($data);
        }

        // segfaults 2
        function Segfault_Me ($data) {
                $data = str_replace('a', 'b', $data);
                return($data);
        }
?>
I segfaulted :( :( :(

Greetz,

Wico de Leeuw

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



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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to