note 124823 added to internals2.funcs
| From: | Anton@php.net | Date: | Fri, 13 Mar 2020 22:09:06 +0000 |
| Subject: | note 124823 added to internals2.funcs | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-214328@lists.php.net to get a copy of this message | ||
To handle string parameters you should specify string length:
char *s1;
size_t s1_len;
char *s2;
size_t s2_len;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss",
&l, &s1, &s1_len, &s2 &s2_len) != SUCCESS) {
return;
}
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.195 (proxied: 109.63.148.107)
----
Manual Page -- http://php.net/manual/en/internals2.funcs.php
Edit -- https://master.php.net/note/edit/124823
Del: integrated -- https://master.php.net/note/delete/124823/integrated
Del: useless -- https://master.php.net/note/delete/124823/useless
Del: bad code -- https://master.php.net/note/delete/124823/bad+code
Del: spam -- https://master.php.net/note/delete/124823/spam
Del: non-english -- https://master.php.net/note/delete/124823/non-english
Del: in docs -- https://master.php.net/note/delete/124823/in+docs
Del: other reasons-- https://master.php.net/note/delete/124823
Reject -- https://master.php.net/note/reject/124823
Search -- https://master.php.net/manage/user-notes.php