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:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user