Display the drop-down list

Configuration of preg_filter()

<?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 preg_filter extends function_core
{
    public 
$examples = [
        [
            [
                
=> '_SINGLE_QUOTE_/\d/_SINGLE_QUOTE_',
                
=> '_SINGLE_QUOTE_/[a-z]/_SINGLE_QUOTE_',
                
=> '_SINGLE_QUOTE_/[1a]/_SINGLE_QUOTE_',
            ],
            [
                
=> 'A:$0',
                
=> 'B:$0',
                
=> 'C:$0',
            ],
            [
                
=> '1',
                
=> 'a',
                
=> '2',
                
=> 'b',
                
=> '3',
                
=> 'A',
                
=> 'B',
                
=> '4',
            ]
        ]
    ];

    public 
$synopsis 'mixed preg_filter ( mixed $pattern , mixed $replacement , mixed $subject [, int $limit = -1 [, int &$count ]] )';
}