Fixed #6941

Fixed little warning
```
Warning: constant(): Couldn't find constant 
TESTS_ZEND_VALIDATOR_ONLINE_ENABLED in php shell code on line 1
```