<?php
// Initial, default option set (numerically indexed)
$coverage_options = [
0 => ['State Minimum' => 'State Minimum'],
1 => ['15/30' => '$15,000 / $30,000'],
2 => ['25/25' => '$25,000 / $25,000'],
3 => ['25/50' => '$25,000 / $50,000'],
4 => ['50/50' => '$50,000 / $50,000'],
5 => ['50/100' => '$50,000 / $100,000'],
6 => ['100/100' => '$100,000 / $100,000'],
7 => ['100/300' => '$100,000 / $300,000'],
8 => ['250/500' => '$250,000 / $500,000'],
9 => ['300/300' => '$300,000 / $300,000'],
10 => ['500/500' => '$500,000 / $500,000'],
11 => ['1000/1000' => '$1,000,000 / $1,000,000'],
12 => ['55CSL' => '55 CSL'],
13 => ['100CSL' => '100 CSL'],
14 => ['300CSL' => '300 CSL'],
15 => ['500CSL' => '500 CSL'],
];
unset($coverage_options[1], $coverage_options[2]);
// array_splice($coverage_options, 1, 0, [['20/40' => '$20,000 / $40,000']]);
//$coverage_options[1] = ['20/40' => '$20,000 / $40,000'];
array_splice($coverage_options, 3, 0, [['25/65' => '$25,000 / $65,000']]);
var_dump($coverage_options);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/Scviq
function name: (null)
number of ops: 13
compiled vars: !0 = $coverage_options
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
4 0 E > ASSIGN !0, <array>
23 1 UNSET_DIM !0, 1
2 UNSET_DIM !0, 2
26 3 INIT_FCALL 'array_splice'
4 SEND_REF !0
5 SEND_VAL 3
6 SEND_VAL 0
7 SEND_VAL <array>
8 DO_ICALL
28 9 INIT_FCALL 'var_dump'
10 SEND_VAR !0
11 DO_ICALL
12 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
176.29 ms | 939 KiB | 18 Q