We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00dedc6 commit 09445ecCopy full SHA for 09445ec
bootstrap.php
@@ -18,3 +18,7 @@
18
if (!function_exists('array_is_list')) {
19
function array_is_list(array $array): bool { return p\Php81::array_is_list($array); }
20
}
21
+
22
+if (!function_exists('enum_exists')) {
23
+ function enum_exists(string $enum, bool $autoload = true): bool { return $autoload && class_exists($enum) && false; }
24
+}
0 commit comments