Display the drop-down list

Configuration of array_intersect_uassoc()

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

require_once 'array_diff_uassoc.php';

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

class array_intersect_uassoc extends array_diff_uassoc
{
    public 
$examples = [
        [
            [
                
"a" => "green",
                
"b" => "brown",
                
"c" => "blue",
                
"red"
            
],
            [
                
"a" => "GREEN",
                
"B" => "brown",
                
"yellow",
                
"red"
            
],
            
'strcasecmp',
        ],
        [
            [
                
"a" => "green",
                
"b" => "brown",
                
"c" => "blue",
                
"red"
            
],
            [
                
"a" => "green",
                
"yellow",
                
"red"
            
],
            
'compare_func',
        ],
        [
            [
                
"a" => 1,
                
"b" => 2,
                
"c" => 3,
            ],
            [
                
"a" => 2,
                
"c" => "3",
            ],
            
'strcmp',
        ],
    ];

    public 
$synopsis 'array array_intersect_uassoc ( array $array1 , array $array2 [, array $... ], callable $key_compare_func )';
}