I realize this may be a very simple question but I need to know how to add ONE value to multiple arrays in PHP. (The better way)
array_push($one, "hello");
array_push($two, "hello");
I need to do something like this (just as an example)
array_push($one && $two, "hello");
I have read through this question and seen the discussion if whether $array[] is better for speed, is it easier to use $array[] for my specific problem?
Thanks in advance!! && please ask for any clarification needed!
[0 => $one[], 0 => $two[]] = ['hello']