![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /home/fdshops/public_html/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/ |
<?php namespace PhpOffice\PhpSpreadsheet\Helper; class Handler { /** @var string */ private static $invalidHex = 'Y'; // A bunch of methods to show that we continue // to capture messages even using PhpUnit 10. public static function suppressed(): bool { return @trigger_error('hello'); } public static function deprecated(): string { return (string) hexdec(self::$invalidHex); } public static function notice(string $value): void { date_default_timezone_set($value); } public static function warning(): bool { return file_get_contents(__FILE__ . 'noexist') !== false; } public static function userDeprecated(): bool { return trigger_error('hello', E_USER_DEPRECATED); } public static function userNotice(): bool { return trigger_error('userNotice', E_USER_NOTICE); } public static function userWarning(): bool { return trigger_error('userWarning', E_USER_WARNING); } }