get_defined_constants
Intervention/image
Supported Versions: PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8
Returns an associative array with the names of all the constants and their values
<?php get_defined_constants
(
bool $categorize
=
false
): array