PHP Conference Kansai 2025

Voting

: zero plus zero?
(Example: nine)

The Note You're Voting On

plintus at smtp dot ru
22 years ago
key-safe:

<?php
function array_kslice ($array, $offset, $length = 0) {
$k = array_slice (array_keys ($array), $offset, $length);
$v = array_slice (array_values ($array), $offset, $length);
for (
$i = 0; $i < count ($k); $i ++) $r[$k[$i]] = $v[$i];
return
$r;
}
?>

smth like this. hope you like it more than versions above :)

<< Back to user notes page

To Top