in_array

Checks if a value exists in an array.

Parameters

main.php
PHP 8.4 | UTF-8
Ready
Line: 1, Column: 1

Return Values

Notes

Changelog

Related Functions

strpos

String

Finds the position of the first occurrence of a substring within a string.

searchpositionfind

filter_var

Validation

Filters a variable with a specified filter, used for validating and sanitizing data.

validatesanitizesecurity

Searches an array for a specific value and returns the corresponding key if found, or false if not found.

searchfindkey