summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-04-28 11:30:25 +0800
committerXinchen Hui <laruence@php.net>2015-04-28 11:30:25 +0800
commit33e32cbe5b860df1a919ba8ed536ed12397a3829 (patch)
treee08b5c895c3f6915e79651db8143b980c916c082 /Zend
parent38d79e9449ac3bfd51927183b975ab9c01cfde57 (diff)
downloadphp-git-33e32cbe5b860df1a919ba8ed536ed12397a3829.tar.gz
Make it inline
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index f56d25fb9c..d4a9df36aa 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -1225,7 +1225,7 @@ ZEND_API zend_string *zend_mangle_property_name(const char *src1, size_t src1_le
}
/* }}} */
-static size_t zend_strnlen(const char* s, size_t maxlen) /* {{{ */
+static zend_always_inline size_t zend_strnlen(const char* s, size_t maxlen) /* {{{ */
{
size_t len = 0;
while (*s++ && maxlen--) len++;