- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.6
- Fatal error: Constant expression contains invalid operations in /in/tOnQh on line 7
Process exited with code 255.
<?php
define('OK', function_exists('ok'));
var_dump( OK );
class A{ const OK = function_exists('ok'); }
var_dump( A::OK );