0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.218.5.216


Current Path : /var/www/html/pgadm/PHPExcel/Classes/PHPExcel/Reader/Excel5/
Upload File :
Current File : /var/www/html/pgadm/PHPExcel/Classes/PHPExcel/Reader/Excel5/ErrorCode.php

<?php

class PHPExcel_Reader_Excel5_ErrorCode
{
    protected static $map = array(
        0x00 => '#NULL!',
        0x07 => '#DIV/0!',
        0x0F => '#VALUE!',
        0x17 => '#REF!',
        0x1D => '#NAME?',
        0x24 => '#NUM!',
        0x2A => '#N/A',
    );

    /**
     * Map error code, e.g. '#N/A'
     *
     * @param int $code
     * @return string
     */
    public static function lookup($code)
    {
        if (isset(self::$map[$code])) {
            return self::$map[$code];
        }
        return false;
    }
}