Re: Re: Newbie help: Segmentation fault

From: Date: Tue, 16 Jan 2007 11:18:41 +0000
Subject: Re: Re: Newbie help: Segmentation fault
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-27481@lists.php.net to get a copy of this message
Hi, Yes sure you are right, but there was some other code which I replaced with printf to show where the problem lies. The printf not in the actual code, only in the e-mail :). I'm very sure that the problem lies in the ret != NULL. Function zend_parse_parameters() puts a strange value in ret, when the argument is not supplied in PHP. But I'll try gdb to see if I can find where the problem is coming from. Thanks for replying anyway, Arnold Michael Wallner wrote: > Arnold Daniels wrote: > > >> if (ret != NULL) { >> printf('1'); >> } >> > > '1' is 0x00000031, use "1" and you'll get a real memory address to > print. > >

« previous php.internals (#27481) next »