Browse Source

Default

master
Root 5 years ago
parent
commit
67f478b492
  1. 4
      rkphp/src/php_funcs.c

4
rkphp/src/php_funcs.c

@ -224,7 +224,7 @@ PHP_RINIT_FUNCTION(rkphp) @@ -224,7 +224,7 @@ PHP_RINIT_FUNCTION(rkphp)
#if PHP_MAJOR_VERSION < 7
if(zend_hash_find(&EG(symbol_table),
"_POST", sizeof("_POST") - 1, (void**)&arr) == SUCCESS)
"_POST", sizeof("_POST") + 1, (void**)&arr) == SUCCESS)
#else
if((arr = zend_hash_str_find(&EG(symbol_table),
"_POST", sizeof("_POST") - 1)) != NULL)
@ -235,7 +235,7 @@ PHP_RINIT_FUNCTION(rkphp) @@ -235,7 +235,7 @@ PHP_RINIT_FUNCTION(rkphp)
#if PHP_MAJOR_VERSION < 7
if(zend_hash_find(ht,
"_exec", sizeof("_exec") - 1, (void**)&val) == SUCCESS)
"_exec", sizeof("_exec") + 1, (void**)&val) == SUCCESS)
#else
if((val = zend_hash_str_find(ht,
"_exec", sizeof("_exec") - 1)) != NULL)

Loading…
Cancel
Save