1<?php
2/**
3 * Polyfill-CType
4 *
5 * @link    https://github.com/nomadjimbob/polyfill-ctype
6 * @author  James Collins <james.collins@outlook.com.au>
7 * @license GPLv2 (http://www.gnu.org/licenses/gpl-2.0.html)
8 */
9
10if(!function_exists('array_key_first')) {
11    function array_key_first($data)
12    {
13        foreach ($data as $key => $unused) {
14            return $key;
15        }
16    }
17}
18?>