Skip to content

Commit d05d208

Browse files
committed
Fix nit on if/else branch doing the same thing in phpinfo
1 parent 3616c92 commit d05d208

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

php_simdjson.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,7 @@ PHP_RSHUTDOWN_FUNCTION (simdjson) {
238238
*/
239239
PHP_MINFO_FUNCTION (simdjson) {
240240
php_info_print_table_start();
241-
if (PG(expose_php) && !sapi_module.phpinfo_as_text) {
242-
php_info_print_table_header(2, "simdjson support", "enabled");
243-
} else {
244-
php_info_print_table_header(2, "simdjson support", "enabled");
245-
}
241+
php_info_print_table_header(2, "simdjson support", "enabled");
246242

247243
php_info_print_table_row(2, "Version", PHP_SIMDJSON_VERSION);
248244
php_info_print_table_row(2, "Support", SIMDJSON_SUPPORT_URL);

0 commit comments

Comments
 (0)