zend_parse_parameters seg faults on string input.

From: Date: Tue, 22 Feb 2005 11:19:53 +0000
Subject: zend_parse_parameters seg faults on string input.
Groups: php.general 
Request: Send a blank email to php-general+get-209167@lists.php.net to get a copy of this message
Hi all, In the PHP file, I have written: helloworld("hello, world") where helloworld is in an extension. Now, I use zend_parse_parameters() to parse input as follows: char* hstr = NULL, *wstr = NULL; argc = ZEND_NUM_ARGS(); if (zend_parse_parameters(argc TSRMLS_CC, "ss", &hstr, &wstr) == FAILURE) return; I get a seg-fault when I run the PHP file. However, it works for one argument. Am I missing something? Thanks, Deepak

« previous php.general (#209167) next »