]> git.openstreetmap.org Git - nominatim.git/commit
Add array_key_last function for PHP <7.3
authorFrederik Ramm <frederik@remote.org>
Thu, 6 May 2021 18:44:04 +0000 (20:44 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 30 May 2021 13:06:49 +0000 (15:06 +0200)
commit7e6125ada5b46a7d7e510e19ece3acc319cd476d
tree0c5d507d3c1e91321b7de74026f111262752a894
parent93b72e4e9b89826ca93c5ec9ccebf914f16c7f9f
Add array_key_last function for PHP <7.3

This patch adds an array_key_last function if it doesn't yet exist, fixes #2316. It is tested on PHP 7.2.24 but not PHP 7.3.
lib-php/lib.php