summaryrefslogtreecommitdiff
path: root/src/tests/broken_conf_mutually_exclusive12.phpt
diff options
context:
space:
mode:
authorjvoisin2026-05-10 20:49:59 +0200
committerjvoisin2026-05-10 20:52:21 +0200
commit0c8621011f19c4108bece995ab60f675a60990c4 (patch)
tree8169a2322d2d489df0f34b9adb494e119a9bc34f /src/tests/broken_conf_mutually_exclusive12.phpt
parent996c461460b331557bc47a310a09a2337469745a (diff)
Fix phpinfo() reporting "enabled" when no config is loadedHEADmaster
SP_CONFIG_NONE is -1, which is truthy in C. The ternary `SPG(is_config_valid) ? "enabled" : "disabled"` incorrectly reported "enabled" for the no-config case. Use an explicit comparison against SP_CONFIG_VALID instead.
Diffstat (limited to 'src/tests/broken_conf_mutually_exclusive12.phpt')
0 files changed, 0 insertions, 0 deletions