com php-src: Per-file: Zend/zend_compile.c
| From: | Dmitry Stogov | Date: | Tue, 10 Feb 2015 15:48:06 +0000 |
| Subject: | com php-src: Per-file: Zend/zend_compile.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85728@lists.php.net to get a copy of this message | ||
Commit: 02ec3572d91b35032dfe57e93f385dcbe2e12751
Author: Andrea Faulds <ajf@ajf.me> Mon, 12 Jan 2015 23:27:32 +0000
Parents: cc01e37e54874541aad343dd6c5902e9a111b9fc
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=02ec3572d91b35032dfe57e93f385dcbe2e12751
Log:
Per-file
Changed paths:
M Zend/zend_compile.c
Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 81eb1d4..1b75036 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -1531,6 +1531,8 @@ void zend_do_end_compilation(void) /* {{{ */
{
CG(has_bracketed_namespaces) = 0;
zend_end_namespace();
+ /* strict typehinting is per-file */
+ CG(declarables).strict_typehints = 0;
}
/* }}} */