Home
last modified time | relevance | path

Searched refs:warning (Results 1 – 25 of 209) sorted by relevance

123456789

/PHP-5.6/ext/mysqli/tests/
H A Dmysqli_class_mysqli_warning.phpt17 $warning = new mysqli_warning();
18 $warning = new mysqli_warning(null);
79 printf("warning->message = '%s'\n", $warning->message);
82 printf("warning->sqlstate= '%s'\n", $warning->sqlstate);
84 assert(0 === $warning->errno);
85 printf("warning->errno = '%s'\n", $warning->errno);
88 printf("warning->unknown = '%s'\n", @$warning->unknown);
125 warning->message = ''
126 warning->sqlstate= ''
127 warning->errno = ''
[all …]
H A Dmysqli_get_warnings.phpt45 if (!is_object($warning = mysqli_get_warnings($link)) || 'mysqli_warning' != get_class($warning)) {
52 $properties = array_merge(get_object_vars($warning), get_class_vars(get_class($warning)));
56 if ((!is_string($warning->message)) || ('' == $warning->message)) /* NULL or not there at all */
59 if ((!is_string($warning->sqlstate)) || ('' == $warning->sqlstate)) /* NULL or not there at all */
62 if ((!is_int($warning->errno)) || (0 == $warning->errno)) /* NULL or not there at all */
63 printf("[013] Expecting int/not 0, got %s/%s\n", gettype($warning->errno), $warning->errno);
74 if (!is_object($warning = mysqli_get_warnings($link)) || 'mysqli_warning' != get_class($warning)) {
97 printf("[024] Expecting object/mysqli_warning, got %s/%s", gettype($warning), $warning);
99 if (!is_string($warning->message) || ('' == $warning->message))
100 printf("[025] Expecting string, got %s/%s", gettype($warning->message), $warning->message);
[all …]
H A Dmysqli_stmt_get_warnings.phpt21 die("skip Strict sql mode seems to be active. We won't get a warning to check for.");
65 if (!is_object($warning = mysqli_stmt_get_warnings($stmt)))
66 printf("[011] Expecting mysqli_warning object, got %s/%s\n", gettype($warning), $warning);
68 if ('mysqli_warning' !== get_class($warning))
69 printf("[012] Expecting object of type mysqli_warning got type '%s'", get_class($warning));
71 if (!method_exists($warning, 'next'))
77 if ('' == $warning->message)
80 if ('' == $warning->sqlstate)
83 if (0 == $warning->errno)
88 } while ($warning->next());
H A Dbug34810.phpt28 $warning = $mysql->get_warnings();
29 if (!$warning)
30 printf("[001] No warning!\n");
32 if ($warning->errno == 1048 || $warning->errno == 1253) {
34 if ("HY000" != $warning->sqlstate)
35 printf("[003] Wrong sql state code: %s\n", $warning->sqlstate);
37 if ("" == $warning->message)
43 var_dump($warning);
H A Dmysqli_warning_unclonable.phpt29 if (!is_object($warning = mysqli_get_warnings($link)) || 'mysqli_warning' != get_class($warning)) {
33 $warning_clone = clone $warning;
H A D066.phpt24 if (($warning = $mysql->get_warnings())) {
27 } while ($warning->next());
/PHP-5.6/ext/pcre/tests/
H A D005.phpt93 [7] => warning
108 [7] => warning
121 [7] => warning
136 [7] => warning
151 [7] => warning
166 [7] => warning
181 [7] => warning
196 [7] => warning
211 [7] => warning
224 [7] => warning
[all …]
/PHP-5.6/ext/standard/tests/assert/
H A Dassert_basic5.phpt5 assert.warning = 0
16 //switch warning on and test return value
23 //switch warning on and test return value
H A Dassert_basic4.phpt5 assert.warning = 0
22 echo "Initial values: ini.get(\"assert.warning\") => [".ini_get("assert.warning")."]\n";
34 Initial values: ini.get("assert.warning") => [0]
/PHP-5.6/ext/spl/tests/
H A Drecursive_tree_iterator_setprefixpart.phpt16 $it->setPrefixPart(1); // Should throw a warning as setPrefixPart expects 2 arguments
19 $it->setPrefixPart($a, 1); // Should throw a warning as setPrefixPart expects argument 1 to be long…
21 $it->setPrefixPart(1, $a); // Should throw a warning as setPrefixPart expects argument 2 to be a st…
/PHP-5.6/
H A DREADME.md22 Fix #55371: get_magic_quotes_gpc() throws deprecation warning
25 a deprecate warning. get_magic_quotes_gpc can be used to detected
26 the magic_quotes behavior and therefore should not raise a warning at any
27 time. The patch removes this warning
/PHP-5.6/ext/sockets/tests/
H A Dsocket_sentto_recvfrom_ipv4_udp.phpt19 socket_sendto($socket, '', 1, 0, $address); // cause warning
24 var_dump(socket_recvfrom($socket, $buf, 12, 0, $from, $port)); //false (EAGAIN - no warning)
37 socket_recvfrom($socket, $buf, 12, 0); // cause warning
38 socket_recvfrom($socket, $buf, 12, 0, $from); // cause warning
H A Dsocket_sentto_recvfrom_ipv6_udp.phpt21 var_dump(socket_recvfrom($socket, $buf, 12, 0, $from, $port)); // false (EAGAIN, no warning)
23 socket_sendto($socket, '', 1, 0, $address); // cause warning
39 socket_recvfrom($socket, $buf, 12, 0); // cause warning
40 socket_recvfrom($socket, $buf, 12, 0, $from); // cause warning
H A Dsocket_sentto_recvfrom_ipv6_udp-win32.phpt21 socket_recvfrom($socket, $buf, 12, 0, $from, $port); // cause warning
23 socket_sendto($socket, '', 1, 0, $address); // cause warning
39 socket_recvfrom($socket, $buf, 12, 0); // cause warning
40 socket_recvfrom($socket, $buf, 12, 0, $from); // cause warning
H A Dsocket_sentto_recvfrom_unix.phpt13 $socket = socket_create(AF_UNIX, SOCK_DGRAM, SOL_UDP); // cause warning
21 var_dump(socket_recvfrom($socket, $buf, 12, 0, $from, $port)); //false (EAGAIN, no warning)
29 $bytes_sent = socket_sendto($socket, $msg, $len, 0); // cause warning
/PHP-5.6/tests/lang/
H A DreturnByReference.009.phpt24 echo "\n---> 1. Return a variable by reference -> No warning:\n";
33 ---> 1. Return a variable by reference -> No warning:
H A DpassByReference_012.phpt8 // Showing warning:
13 // This should show the identical warning
/PHP-5.6/sapi/fpm/tests/
H A D014.phpt2 FPM: Test for pm.start_servers default calculation message being a notice and not a warning #68458
16 log_level = warning
/PHP-5.6/ext/ftp/tests/
H A Dftp_fget_basic.phpt31 ftp_fget($ftp, $fp ,'a warning.txt', FTP_ASCII);
43 Warning: ftp_fget(): a warning: No such file or directory in %sftp_fget_basic.php on line %d
H A Dftp_get_basic.phpt31 ftp_get($ftp, $tmpfname ,'a warning.txt', FTP_ASCII);
40 Warning: ftp_get(): a warning: No such file or directory in %sftp_get_basic.php on line %d
/PHP-5.6/ext/standard/tests/general_functions/
H A Dbug55371.phpt2 Bug #55371 (get_magic_quotes_gpc() and get_magic_quotes_runtime() throw deprecated warning)
/PHP-5.6/ext/readline/
H A Dphp_readline.h26 #warning Readline module will *NEVER* be thread-safe
/PHP-5.6/ext/session/tests/
H A Dbug38377.phpt2 Bug #38377 (session_destroy() gives warning after session_regenerate_id())
/PHP-5.6/ext/gd/tests/
H A Dbug66356.phpt41 Warning: imagecrop(): gd warning: one parameter to a memory allocation multiplication is negative o…
47 Warning: imagecrop(): gd warning: product of memory allocation multiplication would exceed INT_MAX,…
/PHP-5.6/Zend/tests/
H A Dbug60536_004.phpt16 // but they are distinct, and not related to each other, so no warning.
24 // that should give the expected strict warning.

Completed in 43 milliseconds

123456789