mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Added zend_eval_stringl and made create_function(), etc. binary-safe
This commit is contained in:
parent
88127e2328
commit
e9b382cc2e
8 changed files with 75 additions and 33 deletions
|
@ -1169,7 +1169,7 @@ int main(int argc, char *argv[])
|
|||
continue;
|
||||
}
|
||||
|
||||
zend_eval_string(code, NULL, "php shell code" TSRMLS_CC);
|
||||
zend_eval_stringl(code, pos, NULL, "php shell code" TSRMLS_CC);
|
||||
pos = 0;
|
||||
|
||||
if (php_last_char != '\0' && php_last_char != '\n') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue