Search found 1 match

by SystemAddict
Fri Jul 29, 2011 5:42 am
Forum: PHP - Code
Topic: RecursiveArrayIterator - Recreating jQuery $.extend -- fail
Replies: 2
Views: 1253

Re: RecursiveArrayIterator - Recreating jQuery $.extend -- f

You can use this code but you will need to modify it for recirsive functionality. It does give you the jquery style extend functionality nicely though function extender($row,$json) { foreach($row['settings'] as $key=>$val) { if(!empty($json['settings'][$key])) { // you may want to do deeper checks o...