Display the drop-down list

Configuration of preg_split()

<?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_split extends function_core
{
    public 
$constant_prefix = ['flags' => 'PREG_SPLIT'];

    public 
$examples = [
        [
'_SINGLE_QUOTE_/[\s,]+/_SINGLE_QUOTE_'"hypertext language, programming"],
        [
'//'"string", -1'PREG_SPLIT_NO_EMPTY'],
        [
'/ /'"hypertext language programming", -1'PREG_SPLIT_OFFSET_CAPTURE'],
    ];

    public 
$synopsis 'array preg_split ( string $pattern , string $subject [, int $limit = -1 [, int $flags = 0 ]] )';
}