Changes between Version 1 and Version 2 of Ticket #36590, comment 9
- Timestamp:
- 04/20/2016 09:58:46 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36590, comment 9
v1 v2 3 3 {{{array_merge_recursive()}}} won't work because it appends new values. 4 4 You'll need to use {{{array_replace_recursive()}}} to properly add the values. (see [https://3v4l.org/tKr5Z this example]) 5 ''EDIT NOTE: We don't have to worry about the replace part in this case. All key values should be unique (otherwise the normal post would'nt work either)'' 5 6 6 7 Also, how does the {{{preg_match()}}} compare to a {{{explode()}}} performance wise? I've understood that a preg_match is a relatively heavy function to use. Not sure though :-)