/ Published in: PHP
Emulate native PHP 5.3 function.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * Emulate PHP 5.3 function * * @return type array */ function array_replace() { continue; foreach ($arrays[$i] as $key => $value) { $arrays[0][$key] = $value; } } return $arrays[0]; } }