Display the drop-down list

Configuration of array_search()

<?php
/**
 * PHP By Example
 *
 * @copyright 2014 Michel Corne 
 * @license   http://www.opensource.org/licenses/gpl-3.0.html GNU GPL v3
 */

require_once 'models/function_core.php';

/**
 * Function configuration
 *
 * @see docs/function-configuration.txt
 */

class array_search extends function_core
{
    public 
$examples = [
        [
            
'green',
            [
                
=> 'blue',
                
=> 'red',
                
=> 'green',
                
=> 'red'
            
],
        ],
        [
            
'red',
            [
                
=> 'blue',
                
=> 'red',
                
=> 'green',
                
=> 'red'
            
],
        ],
    ];

    public 
$synopsis 'mixed array_search ( mixed $needle , array $haystack [, bool $strict = false ] )';
}