Re: [PHP-DEV] Migrating php extension from 5 to 7, ZVAL_STRINGL no value returned

2018-03-13 Thread Richard Klingler
admydevice, NULL) So would the arg_info go in here? There isn't any arg_info in the original code. thanks in advance richard On Mon, 12 Mar 2018 13:18:30 -0400, Sara Golemon wrote: > On Mon, Mar 12, 2018 at 12:16 PM, Richard Klingler > wrote: >>

[PHP-DEV] Migrating php extension from 5 to 7, ZVAL_STRINGL no value returned

2018-03-12 Thread Richard Klingler
EHLO (o; I am trying to migrate a simple php extension where a function is called in php like: $error = readmydevice($device, $string, $length); $string is supplied as empty string and is filled inside the function with bytes returned from a hardware. Now this worked fine with php-5.x... The

[PHP-DEV] Migrating php extension from 5 to 7, ZVAL_STRINGL no value returned

2018-03-12 Thread Richard Klingler
EHLO (o; Seems either my first post was blocked or got stuck as news.php.net always reports some errors...anyway.. I am trying to migrate a simple php extension where a function is called in php like: $error = readmydevice($device, $string, $length); $string is supplied as empty string and i