Home
last modified time | relevance | path

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

123456789

/php-src/ext/mysqli/tests/
H A Dmysqli_get_warnings.phpt44 …if (!is_object($warning = mysqli_get_warnings($link)) || 'mysqli_warning' != get_class($warning)) {
48 if (!method_exists($warning, 'next'))
51 $properties = array_merge(get_object_vars($warning), get_class_vars(get_class($warning)));
55 if ((!is_string($warning->message)) || ('' == $warning->message)) /* NULL or not there at all */
58 … if ((!is_string($warning->sqlstate)) || ('' == $warning->sqlstate)) /* NULL or not there at all */
61 if ((!is_int($warning->errno)) || (0 == $warning->errno)) /* NULL or not there at all */
62 printf("[013] Expecting int/not 0, got %s/%s\n", gettype($warning->errno), $warning->errno);
73 …if (!is_object($warning = mysqli_get_warnings($link)) || 'mysqli_warning' != get_class($warning)) {
96 if (!is_string($warning->message) || ('' == $warning->message))
97 printf("[025] Expecting string, got %s/%s", gettype($warning->message), $warning->message);
[all …]
H A Dmysqli_stmt_get_warnings.phpt19 die("skip Strict sql mode seems to be active. We won't get a warning to check for.");
55 if (!is_object($warning = mysqli_stmt_get_warnings($stmt)))
56 printf("[011] Expecting mysqli_warning object, got %s/%s\n", gettype($warning), $warning);
58 if ('mysqli_warning' !== get_class($warning))
59 printf("[012] Expecting object of type mysqli_warning got type '%s'", get_class($warning));
61 if (!method_exists($warning, 'next'))
67 if ('' == $warning->message)
70 if ('' == $warning->sqlstate)
73 if (0 == $warning->errno)
78 } while ($warning->next());
H A Dbug34810.phpt29 $warning = $mysql->get_warnings();
30 if (!$warning)
31 printf("[001] No warning!\n");
33 if ($warning->errno == 1048 || $warning->errno == 1253) {
35 if ("HY000" != $warning->sqlstate)
36 printf("[003] Wrong sql state code: %s\n", $warning->sqlstate);
38 if ("" == $warning->message)
42 var_dump($warning);
H A Dmysqli_warning_unclonable.phpt28 …if (!is_object($warning = mysqli_get_warnings($link)) || 'mysqli_warning' != get_class($warning)) {
32 $warning_clone = clone $warning;
H A Dgh8978.phpt15 // Ignore this warning as we are providing wrong information on purpose
18 // There should be no warning here, only exception
H A D066.phpt25 if (($warning = $mysql->get_warnings())) {
28 } while ($warning->next());
/php-src/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-src/Zend/tests/type_declarations/
H A Dconfusable_type_warning.phpt38 …ted as a class name. Did you mean "int"? Write "\integer" to suppress this warning in %s on line %d
40 …ed as a class name. Did you mean "float"? Write "\double" to suppress this warning in %s on line %d
42 …ed as a class name. Did you mean "bool"? Write "\boolean" to suppress this warning in %s on line %d
44 …nd will be interpreted as a class name. Write "\resource" to suppress this warning in %s on line %d
46 …ool"? Write "\Foo\boolean" or import the class with "use" to suppress this warning in %s on line %d
48 …ed as a class name. Did you mean "bool"? Write "\boolean" to suppress this warning in %s on line %d
/php-src/ext/standard/tests/assert/
H A Dassert_basic5.phpt5 assert.warning = 0
16 //switch warning on and test return value
21 //switch warning on and test return value
25 Deprecated: PHP Startup: assert.warning INI setting is deprecated in Unknown on line 0
H A Dassert_basic4.phpt5 assert.warning = 0
20 echo "Initial values: ini.get(\"assert.warning\") => [".ini_get("assert.warning")."]\n";
27 Deprecated: PHP Startup: assert.warning INI setting is deprecated in Unknown on line 0
51 Initial values: ini.get("assert.warning") => [0]
H A Dassert_basic1.phpt5 assert.warning = 0
21 Deprecated: PHP Startup: assert.warning INI setting is deprecated in Unknown on line 0
H A Dassert_basic.phpt5 assert.warning = 0
20 Deprecated: PHP Startup: assert.warning INI setting is deprecated in Unknown on line 0
/php-src/sapi/fpm/tests/
H A Dbug68458-pm-no-start-server.phpt2 FPM: bug68458 - Missing pm.start_servers should emit notice instead of warning
15 log_level = warning
H A Dbug68381-log-level-warning.phpt2 FPM: bug68381 - Log messages with warning level only
16 log_level = warning
/php-src/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.phpt6 // Showing warning:
11 // This should show the identical warning
/php-src/tests/output/
H A Dstream_isatty_no_warning_on_cast.phpt3 Bug GH-10092 (Internal stream casting should not emit lost bytes warning twice)
21 /* Note: the warning is bogus in this case as no data actually gets lost,
/php-src/ext/opcache/tests/
H A Dpreload_error_handler_ind.inc3 // Cause a preload warning
/php-src/ext/ftp/tests/
H A Dftp_get_basic.phpt30 ftp_get($ftp, $tmpfname ,'a warning.txt', FTP_ASCII);
39 Warning: ftp_get(): a warning: No such file or directory in %sftp_get_basic.php on line %d
H A Dftp_fget_basic.phpt30 ftp_fget($ftp, $fp ,'a warning.txt', FTP_ASCII);
42 Warning: ftp_fget(): a warning: No such file or directory in %sftp_fget_basic.php on line %d
/php-src/Zend/tests/traits/
H A Dproperty006.phpt15 // but they are distinct, and not related to each other, so no warning.
23 // that should give the expected strict warning.
/php-src/Zend/tests/
H A Dbug60536_004.phpt15 // but they are distinct, and not related to each other, so no warning.
23 // that should give the expected strict warning.
H A Dbug81377.phpt2 Bug #81377: unset() of $GLOBALS sub-key yields warning
H A Dbug32428.phpt2 Bug #32428 (The @ warning error suppression operator is broken)
/php-src/ext/session/tests/
H A Dbug38377.phpt2 Bug #38377 (session_destroy() gives warning after session_regenerate_id())

Completed in 44 milliseconds

123456789