diff options
author | Philipp Tanlak <philipp.tanlak@gmail.com> | 2020-02-13 16:23:01 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-03-16 11:05:26 +0100 |
commit | 1668ad7cb17213e67e42994e0c6911e302a3c3c5 (patch) | |
tree | 2592f060147a1576ea2a6c5c42081749df5fdcac /ext/standard/php_string.h | |
parent | 934e60b5945945e8da79b6ab8f0ebf718a614e5d (diff) | |
download | php-git-1668ad7cb17213e67e42994e0c6911e302a3c3c5.tar.gz |
Add str_contains() function
RFC: https://wiki.php.net/rfc/str_contains
Closes GH-5179.
Diffstat (limited to 'ext/standard/php_string.h')
-rw-r--r-- | ext/standard/php_string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_string.h b/ext/standard/php_string.h index 7753bb6b46..9e94910bf3 100644 --- a/ext/standard/php_string.h +++ b/ext/standard/php_string.h @@ -39,6 +39,7 @@ PHP_FUNCTION(basename); PHP_FUNCTION(dirname); PHP_FUNCTION(pathinfo); PHP_FUNCTION(strstr); +PHP_FUNCTION(str_contains); PHP_FUNCTION(strpos); PHP_FUNCTION(stripos); PHP_FUNCTION(strrpos); |