PHP Conference Kansai 2025

Voting

: zero minus zero?
(Example: nine)

The Note You're Voting On

eliasritter168667 at gmail dot com
1 year ago
This function helps if you want to prepend a key and value pair to the beginning of an array:

function array_kunshift(array $array, string|int $key, mixed $value): array {
return array_merge([$key => $value], $array);
}

<< Back to user notes page

To Top