Added zend_eval_stringl and made create_function(), etc. binary-safe

This commit is contained in:
Matt Wilmas 2009-06-05 18:50:10 +00:00
parent 88127e2328
commit e9b382cc2e
8 changed files with 75 additions and 33 deletions

View file

@ -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') {