15 lines
273 B
PHP
15 lines
273 B
PHP
<?php
|
|
|
|
/**
|
|
* Check whether operator overloading is supported.
|
|
*
|
|
* @return bool
|
|
*/
|
|
function supports_operator_overloading() {
|
|
if (!Arma\Features::OPERATORS) {
|
|
echo 'skip operator overloading is not supported.';
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|