summaryrefslogtreecommitdiff
path: root/ext/standard/php_string.h
diff options
context:
space:
mode:
authorPhilipp Tanlak <philipp.tanlak@gmail.com>2020-02-13 16:23:01 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-03-16 11:05:26 +0100
commit1668ad7cb17213e67e42994e0c6911e302a3c3c5 (patch)
tree2592f060147a1576ea2a6c5c42081749df5fdcac /ext/standard/php_string.h
parent934e60b5945945e8da79b6ab8f0ebf718a614e5d (diff)
downloadphp-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.h1
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);