显示下拉菜单

Configuration of mb_ereg_match() 本页面仅提供英文版本。

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

require_once 'mb_ereg.php';

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

class mb_ereg_match extends mb_ereg
{
    public 
$examples = [
        [
            
'encoding' => 'UTF-8',
            
"a",
            
"some apples",
        ],
        [
            
'encoding' => 'UTF-8',
            
"a",
            
"a kiwi",
        ],
        [
            
'encoding' => 'UTF-8',
            
".*a",
            
"some apples",
        ],
    ];

    public 
$synopsis 'bool mb_ereg_match ( string $pattern , string $string [, string $option = &quot;msr&quot; ] )';
    public 
$synopsis_fixed null;
}