显示下拉菜单

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

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

require_once 'functions/a/array_pop.php';

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

class each extends array_pop
{
    public 
$examples = [
        [
            
'__array' => [
                
=> 'bob',
                
=> 'fred',
                
=> 'jussi',
                
=> 'jouni',
                
=> 'egon',
                
=> 'marliese',
            ],
            
'$array',
        ],
        [
            
'__array' => [
                
'Robert' => 'Bob',
                
'Seppo' => 'Sepi',
            ],
            
'$array',
        ]
    ];

    public 
$synopsis       'array each ( array &$array )';
    public 
$synopsis_fixed 'mixed each ( array &$array )';
}