NYCPHP Meetup

NYPHP.org

[nycphp-talk] Overriding Array's

Joseph Crawford codebowl at gmail.com
Wed May 2 14:49:45 EDT 2007


This will not work, hence if we have the following

Array
(
  links => Array
  (
    stylesheets => Array
    (
      [0] => style.css,
      [1] => layout.css
    )
  )
)

Array
(
  links => Array
  (
    stylesheets => Array
    (
      [0] => general.css
    )
  )
)

we would want the end result to add the values to the array since it
is numeric keys and not replace.

-- 
Joseph Crawford Jr.
Zend Certified Engineer
Codebowl Solutions, Inc.
http://www.codebowl.com/
Blog: http://www.josephcrawford.com/
1-802-671-2021
codebowl at gmail.com



More information about the talk mailing list