zend_uv.html_errors = 0; /* tell the engine we're in non-html mode */
CG(in_compilation) = 0; /* not initialized but needed for several options */
SG(options) |= SAPI_OPTION_NO_CHDIR;
-
+
+#if PHP_MAJOR_VERSION < 7
+ EG(uninitialized_zval_ptr) = NULL;
+#endif
for( ini = ini_defaults; *ini; ini+=2 ) {
- #if PHP_MAJOR_VERSION >= 7
- psKey = zend_string_init(*ini, strlen( *ini ), 1);
+ psKey = zend_string_init(*ini, strlen( *ini ), 1);
zend_alter_ini_entry_chars(psKey,
(char *)*(ini+1), strlen( *(ini+1) ),
PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);