Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Zend/zend_builtin_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ flf_clean:;
Z_FLF_PARAM_FREE_STR(2, property_tmp)
}

static inline void _class_exists_impl(zval *return_value, zend_string *name, bool autoload, int flags, int skip_flags) /* {{{ */
static zend_always_inline void _class_exists_impl(zval *return_value, zend_string *name, bool autoload, int flags, int skip_flags) /* {{{ */
{
zend_string *lcname;
zend_class_entry *ce;
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/array.c
Original file line number Diff line number Diff line change
Expand Up @@ -1527,7 +1527,7 @@ PHP_FUNCTION(array_walk_recursive)
* 0 = return boolean
* 1 = return key
*/
static inline void _php_search_array(zval *return_value, zval *value, zval *array, bool strict, int behavior) /* {{{ */
static zend_always_inline void _php_search_array(zval *return_value, zval *value, zval *array, bool strict, int behavior) /* {{{ */
{
zval *entry; /* pointer to array entry */
zend_ulong num_idx;
Expand Down
6 changes: 3 additions & 3 deletions ext/standard/string.c
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@ PHPAPI size_t php_dirname(char *path, size_t len)
}
/* }}} */

static inline void _zend_dirname(zval *return_value, zend_string *str, zend_long levels)
static zend_always_inline void _zend_dirname(zval *return_value, zend_string *str, zend_long levels)
{
zend_string *ret;

Expand Down Expand Up @@ -1745,7 +1745,7 @@ PHP_FUNCTION(stristr)
}
/* }}} */

static inline void _zend_strstr(zval *return_value, zend_string *haystack, zend_string *needle, bool part)
static zend_always_inline void _zend_strstr(zval *return_value, zend_string *haystack, zend_string *needle, bool part)
{
const char *found = NULL;
zend_long found_offset;
Expand Down Expand Up @@ -1889,7 +1889,7 @@ PHP_FUNCTION(str_ends_with)
}
/* }}} */

static inline void _zend_strpos(zval *return_value, zend_string *haystack, zend_string *needle, zend_long offset)
static zend_always_inline void _zend_strpos(zval *return_value, zend_string *haystack, zend_string *needle, zend_long offset)
{
const char *found = NULL;

Expand Down
2 changes: 1 addition & 1 deletion ext/standard/type.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ PHP_FUNCTION(is_object)
}
/* }}} */

static inline void _zend_is_numeric(zval *return_value, zval *arg)
static zend_always_inline void _zend_is_numeric(zval *return_value, zval *arg)
{
switch (Z_TYPE_P(arg)) {
case IS_LONG:
Expand Down