Voting

: max(seven, nine)?
(Example: nine)

The Note You're Voting On

andreasblixt (at) msn (dot) com
19 years ago
<?php
// Combines two arrays by inserting one into the other at a given position then returns the result
function array_insert($src, $dest, $pos) {
if (!
is_array($src) || !is_array($dest) || $pos <= 0) return FALSE;
return
array_merge(array_slice($dest, 0, $pos), $src, array_slice($dest, $pos));
}
?>

<< Back to user notes page

To Top