File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -494,6 +494,51 @@ Arrays::replaceNotEmptyData([
494
494
*/
495
495
```
496
496
497
+ ** MERGE NOT EMPTY DATA**
498
+
499
+ Example:
500
+ ``` php
501
+ Arrays::mergeNotEmptyData([
502
+ 1 => 'first1',
503
+ 2 => '',
504
+ 3 => '0',
505
+ 4 => null,
506
+ 5 => 'first5',
507
+ 6 => 'first6',
508
+ 7 => 'first7',
509
+ 8 => [],
510
+ 9 => 'first9',
511
+ 11 => 'first11'
512
+ ], [
513
+ 1 => 'second1',
514
+ 2 => 'second2',
515
+ 3 => 'second3',
516
+ 4 => 'second4',
517
+ 5 => '',
518
+ 6 => '0',
519
+ 7 => null,
520
+ 8 => 'second8',
521
+ 9 => [],
522
+ 10 => 'second10'
523
+ 12 => 0
524
+ ]);
525
+ /**
526
+ * [
527
+ * 1 => 'second1',
528
+ * 2 => 'second2',
529
+ * 3 => 'second3',
530
+ * 4 => 'second4',
531
+ * 5 => 'first5',
532
+ * 6 => 'first6',
533
+ * 7 => 'first7',
534
+ * 8 => 'second8',
535
+ * 9 => 'first9',
536
+ * 11 => 'first11',
537
+ * 10 => 'second10'
538
+ * ]
539
+ */
540
+ ```
541
+
497
542
498
543
## License
499
544
You can’t perform that action at this time.
0 commit comments