https://bugzilla.wikimedia.org/show_bug.cgi?id=47356

--- Comment #4 from Krinkle <[email protected]> ---
Since people can compile php with and without certain extensions, perhaps we
should extend the conditional beyond the PHP version and also check that that
json extension is in fact installed?

A simple `function_exists( 'json_encode' )` should suffice. Or perhaps
`defined( 'JSON_PRETTY_PRINT' )` if we want to worry about the version of the
extension as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to