| Conditions | 5 |
| Paths | 3 |
| Total Lines | 18 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 66 | public static function arrPush(&$arr) |
||
| 67 | { |
||
| 68 | foreach (func_get_args() as $arg) { |
||
| 69 | if (is_array($arg)) { |
||
| 70 | foreach ($arg as $key => $val) { |
||
| 71 | if (!is_numeric($key)) { |
||
| 72 | $arr[$key] = $val; |
||
| 73 | } else { |
||
| 74 | $arr[] = $val; |
||
| 75 | } |
||
| 76 | } |
||
| 77 | } else { |
||
| 78 | $arr[] = $arg; |
||
| 79 | } |
||
| 80 | } |
||
| 81 | |||
| 82 | return $arr; |
||
| 83 | } |
||
| 84 | } |
||
| 85 |