|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-09-17 06:20 UTC] wico at cnh dot nl
[2002-01-06 07:41 UTC] sander@php.net
[2002-01-06 09:26 UTC] wico at cnh dot nl
[2002-01-06 16:54 UTC] wico at cnh dot nl
[2002-01-06 19:22 UTC] yohgaki@php.net
[2002-02-05 18:29 UTC] yohgaki@php.net
[2002-06-18 18:52 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 04:00:01 2025 UTC |
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