显示下拉菜单

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

<?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 wordwrap extends function_core
{
    public 
$examples = [
        [
            
"The quick brown fox jumped over the lazy dog.",
            
20,
            
'_DOUBLE_QUOTES_<br />\n_DOUBLE_QUOTES_'
        
],
        [
            
"A very long woooooooooooord.",
            
8,
            
'_DOUBLE_QUOTES_\n_DOUBLE_QUOTES_',
            
true
        
]
    ];

    public 
$synopsis 'string wordwrap ( string $str [, int $width = 75 [, string $break = &quot;\n&quot; [, bool $cut = false ]]] )';
}