summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-01-28 13:13:24 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-01-28 15:58:23 +0100
commit331e56ce38a91e87a6fb8e88154bb5bde445b132 (patch)
tree08511e83cee516be63afeb9e3a425f52444c8828 /Zend/zend_compile.c
parent920b4b249f71e6cbfd795f81c6a08126a33c659e (diff)
downloadphp-git-331e56ce38a91e87a6fb8e88154bb5bde445b132.tar.gz
Remove mbstring.func_overload
Deprecated in PHP 7.2 as part of https://wiki.php.net/rfc/deprecations_php_7_2.
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r--Zend/zend_compile.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 01c90559db..cff2da7011 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -3169,9 +3169,7 @@ int zend_compile_func_strlen(znode *result, zend_ast_list *args) /* {{{ */
{
znode arg_node;
- if ((CG(compiler_options) & ZEND_COMPILE_NO_BUILTIN_STRLEN)
- || args->children != 1
- ) {
+ if (args->children != 1) {
return FAILURE;
}