What is the correct way to search for functions in the php.net database?

When searching for functions in the php.net database, it is important to use the correct syntax to ensure accurate results. The recommended way to search for functions is to use the search bar located on the php.net website. Simply enter the function name or keyword related to the function you are looking for and press enter to view the search results.

// Example of searching for the "strlen" function in the php.net database
$search_query = "strlen";
$search_url = "https://www.php.net/manual-lookup.php?pattern=" . urlencode($search_query);
header("Location: $search_url");
exit;