summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-07-19 09:41:15 +0300
committerDmitry Stogov <dmitry@zend.com>2018-07-19 09:41:15 +0300
commitd77aa8fa6d7916330a8e932b0d0dfd5641a7e966 (patch)
tree9b9105c7edc7ca7540bbec8abb76ce2263506b63 /Zend/zend_execute_API.c
parenta76661a4a2b129eb4d098abfc45fbed46066636b (diff)
downloadphp-git-d77aa8fa6d7916330a8e932b0d0dfd5641a7e966.tar.gz
Fixed typo
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 9f537fda10..788845f08e 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -181,7 +181,7 @@ void init_executor(void) /* {{{ */
EG(each_deprecation_thrown) = 0;
- EG(persisent_constants_count) = EG(zend_constants)->nNumUsed;
+ EG(persistent_constants_count) = EG(zend_constants)->nNumUsed;
EG(persistent_functions_count) = EG(function_table)->nNumUsed;
EG(persistent_classes_count) = EG(class_table)->nNumUsed;
@@ -283,7 +283,7 @@ void shutdown_executor(void) /* {{{ */
* Zend Memory Manager frees memory by its own. We don't have to free
* each allocated block separately.
*/
- zend_hash_discard(EG(zend_constants), EG(persisent_constants_count));
+ zend_hash_discard(EG(zend_constants), EG(persistent_constants_count));
zend_hash_discard(EG(function_table), EG(persistent_functions_count));
zend_hash_discard(EG(class_table), EG(persistent_classes_count));
zend_cleanup_internal_classes();