mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove unnecessary parentheses around language constructs in mysqli
This commit is contained in:
@@ -8,7 +8,7 @@ require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
include ('connect.inc');
|
||||
include 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -8,7 +8,7 @@ require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
include ('connect.inc');
|
||||
include 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, null, $port, $socket);
|
||||
|
||||
@@ -8,7 +8,7 @@ require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
include ('connect.inc');
|
||||
include 'connect.inc';
|
||||
|
||||
class my_stmt extends mysqli_stmt
|
||||
{
|
||||
|
||||
@@ -22,7 +22,7 @@ class MySQL_Ext extends mysqli{
|
||||
}
|
||||
}
|
||||
|
||||
include ('connect.inc');
|
||||
include 'connect.inc';
|
||||
$MySQL_Ext = new MySQL_Ext($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
$isEmpty = $MySQL_Ext->isEmpty();
|
||||
|
||||
@@ -11,7 +11,7 @@ if (!defined("MYSQLI_ASYNC")) {
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
include ('connect.inc');
|
||||
include 'connect.inc';
|
||||
|
||||
$link1 = my_mysqli_connect($host, $user, $passwd, null, $port, $socket);
|
||||
mysqli_select_db($link1, $db);
|
||||
|
||||
@@ -8,7 +8,7 @@ require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
include ('connect.inc');
|
||||
include 'connect.inc';
|
||||
|
||||
$link = mysqli_init();
|
||||
if (!mysqli_options($link, MYSQLI_INIT_COMMAND, "SELECT 1")) {
|
||||
|
||||
@@ -12,7 +12,7 @@ mysqli.allow_persistent = Off
|
||||
mysqli.max_persistent = 0
|
||||
--FILE--
|
||||
<?php
|
||||
include ('connect.inc');
|
||||
include 'connect.inc';
|
||||
|
||||
$link = mysqli_init();
|
||||
if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) {
|
||||
|
||||
@@ -12,7 +12,7 @@ mysqli.allow_persistent = Off
|
||||
mysqli.max_persistent = 0
|
||||
--FILE--
|
||||
<?php
|
||||
include ('connect.inc');
|
||||
include 'connect.inc';
|
||||
|
||||
$link = mysqli_init();
|
||||
if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) {
|
||||
|
||||
@@ -12,7 +12,7 @@ mysqli.allow_persistent = Off
|
||||
mysqli.max_persistent = 0
|
||||
--FILE--
|
||||
<?php
|
||||
include ('connect.inc');
|
||||
include 'connect.inc';
|
||||
|
||||
$link = mysqli_init();
|
||||
if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) {
|
||||
|
||||
Reference in New Issue
Block a user