Re: [PHP-DEV] Re: Newbie help: Segmentation fault

2007-01-16 Thread Derick Rethans
On Tue, 16 Jan 2007, Arnold Daniels wrote: > 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_pa

Re: [PHP-DEV] Re: Newbie help: Segmentation fault

2007-01-16 Thread Arnold Daniels
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, whe

[PHP-DEV] Re: Newbie help: Segmentation fault

2007-01-15 Thread Michael Wallner
Arnold Daniels wrote: >if (ret != NULL) { >printf('1'); >} '1' is 0x0031, use "1" and you'll get a real memory address to print. -- Michael -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php