Fixes #7022 TESTS_ZEND_HTTP_CLIENT_ONLINE check
Merge branch 'hotfix/#7023-test-config-constants-undefined'

Close #7023
Close #7022