1
0
mirror of https://github.com/php/php-src.git synced 2026-04-12 18:43:37 +02:00

Remove redundant checks

I am unsure what this condition was actually supposed to do, but it
seems like it was only checking for 1 (loose check)
This commit is contained in:
Kamil Tekiela
2021-11-07 14:03:20 +00:00
parent c5cc4c813c
commit 304f758bf8

View File

@@ -23,9 +23,7 @@
}
/* Development setting: test experimental features and/or feature requests that never worked before? */
$TEST_EXPERIMENTAL = (in_array(getenv("MYSQL_TEST_EXPERIMENTAL"), array(0, 1))) ?
((1 == getenv("MYSQL_TEST_EXPERIMENTAL")) ? true : false) :
false;
$TEST_EXPERIMENTAL = 1 == getenv("MYSQL_TEST_EXPERIMENTAL");
$IS_MYSQLND = stristr(mysqli_get_client_info(), "mysqlnd");