3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * 黑市道具数据结构 */ $limitItemAttr = array( 7029 => array( 'text' => "<div>武+12,智+8,魅+8</div><div>武斗中增加6点暴击伤害,首回合攻击命中30%概率使敌方武将落马</div> ",//条件描述 'index' => 1,//显示索引 'is_show' => true,//活动是否开放 'open_item_id' => 0,//开放条件 'head_desc' => '合成材料:<br /><span class="red">LV6专属武器</span>×12 +<span class="orange">100锦囊</span>(任意6种,每种2把)',//合成页面,头部描述 'condition' => array( 'item_type_num' => 6,//不同武器种类数 'item_per_num' => 2,//每种武器数量 'armor_type' => 0,//神甲类型 'armor_max_num' => 0,//神甲数量 'point' => 100,//锦囊 'extra_type' => 0,//额外条件 战斗或者武斗胜利: 1 2 3 4 'extra_max_num' => 0,//额外条件的次数 ) ), 7030 => array( 'text' =>"<div>武+12,智+8,魅+8</div><div>武斗中增加6点暴击伤害,首回合攻击命中30%概率使敌方武将落马</div> <div>有效武斗胜利100次</div>", 'index' => 2, 'is_show' => true, 'open_item_id' => 7029, 'head_desc' => '合成材料:<br /><span class="red">LV6专属武器</span>×12 +<span class="orange">100锦囊</span>(任意6种,每种2把)',//合成页面,头部描述 'condition' => array( 'item_type_num' => 6,//不同武器种类数 'item_per_num' => 3,//每种武器数量 'armor_type' => 1,//神甲类型 'armor_max_num' => 5,//神甲数量 'point' => 300,//锦囊 'extra_type' => 1,//额外条件 战斗或者武斗胜利: 1 2 3 4 'extra_max_num' => 200,//额外条件的次数 ) ), 7031 => array( 'text' =>"<div>武+12,智+8,魅+8</div><div>武斗中增加6点暴击伤害,首回合攻击命中30%概率使敌方武将落马</div> <div>有效武斗胜利100次</div>", 'index' => 3, 'is_show' => true, 'open_item_id' => 7030, 'head_desc' => '合成材料:<br /><span class="red">LV6专属武器</span>×12 +<span class="orange">100锦囊</span>(任意6种,每种2把)',//合成页面,头部描述 'condition' => array( 'item_type_num' => 8,//不同武器种类数 'item_per_num' => 3,//每种武器数量 'armor_type' => 1,//神甲类型 'armor_max_num' => 10,//神甲数量 'point' => 500,//锦囊 'extra_type' => 2,//额外条件 战斗或者武斗胜利: 1 2 3 4 'extra_max_num' => 100,//额外条件的次数 ) ), 7025 => array( 'text' =>"<div>武+12,智+8,魅+8</div><div>武斗中增加6点暴击伤害,首回合攻击命中30%概率使敌方武将落马</div>", 'index' => 4, 'is_show' => true, 'open_item_id' => 0, 'head_desc' => '合成材料:<br /><span class="red">LV6专属武器</span>×12 +<span class="orange">100锦囊</span>(任意6种,每种2把)',//合成页面,头部描述 'condition' => array( 'item_type_num' => 0,//不同武器种类数 'item_per_num' => 0,//每种武器数量 'armor_type' => 3,//神甲类型 'armor_max_num' => 6,//神甲数量 'point' => 100,//锦囊 'extra_type' => 0,//额外条件 战斗或者武斗胜利: 1 2 3 4 'extra_max_num' => 0,//额外条件的次数 ) ), 7026 => array( 'text' =>"<div>武+12,智+8,魅+8</div><div>武斗中增加6点暴击伤害,首回合攻击命中30%概率使敌方武将落马</div> <div>有效武斗胜利100次</div>", 'index' => 5, 'is_show' => true, 'open_item_id' => 7025, 'head_desc' => '合成材料:<br /><span class="red">LV6专属武器</span>×12 +<span class="orange">100锦囊</span>(任意6种,每种2把)',//合成页面,头部描述 'condition' => array( 'item_type_num' => 6,//不同武器种类数 'item_per_num' => 2,//每种武器数量 'armor_type' => 3,//神甲类型 'armor_max_num' => 8,//神甲数量 'point' => 300,//锦囊 'extra_type' => 3,//额外条件 战斗或者武斗胜利: 1 2 3 4 'extra_max_num' => 200,//额外条件的次数 ) ), 7027 => array( 'text' =>"<div>武+12,智+8,魅+8</div><div>武斗中增加6点暴击伤害,首回合攻击命中30%概率使敌方武将落马</div> <div>有效武斗胜利100次</div>", 'index' => 6, 'is_show' => true, 'open_item_id' => 7026, 'head_desc' => '合成材料:<br /><span class="red">LV6专属武器</span>×12 +<span class="orange">100锦囊</span>(任意6种,每种2把)',//合成页面,头部描述 'condition' => array( 'item_type_num' => 8,//不同武器种类数 'item_per_num' => 3,//每种武器数量 'armor_type' => 3,//神甲类型 'armor_max_num' => 10,//神甲数量 'point' => 500,//锦囊 'extra_type' => 4,//额外条件 战斗或者武斗胜利: 1 2 3 4 'extra_max_num' => 100,//额外条件的次数 ) ), );
Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.12 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6

preferences:
204.23 ms | 404 KiB | 262 Q