/PHP-5.6/ext/mysqli/tests/ |
H A D | mysqli_class_mysqli_warning.phpt | 17 $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 D | mysqli_get_warnings.phpt | 45 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 D | mysqli_stmt_get_warnings.phpt | 21 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 D | bug34810.phpt | 28 $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 D | mysqli_warning_unclonable.phpt | 29 if (!is_object($warning = mysqli_get_warnings($link)) || 'mysqli_warning' != get_class($warning)) { 33 $warning_clone = clone $warning;
|
H A D | 066.phpt | 24 if (($warning = $mysql->get_warnings())) { 27 } while ($warning->next());
|
/PHP-5.6/ext/pcre/tests/ |
H A D | 005.phpt | 93 [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 D | assert_basic5.phpt | 5 assert.warning = 0 16 //switch warning on and test return value 23 //switch warning on and test return value
|
H A D | assert_basic4.phpt | 5 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 D | recursive_tree_iterator_setprefixpart.phpt | 16 $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 D | README.md | 22 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 D | socket_sentto_recvfrom_ipv4_udp.phpt | 19 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 D | socket_sentto_recvfrom_ipv6_udp.phpt | 21 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 D | socket_sentto_recvfrom_ipv6_udp-win32.phpt | 21 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 D | socket_sentto_recvfrom_unix.phpt | 13 $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 D | returnByReference.009.phpt | 24 echo "\n---> 1. Return a variable by reference -> No warning:\n"; 33 ---> 1. Return a variable by reference -> No warning:
|
H A D | passByReference_012.phpt | 8 // Showing warning: 13 // This should show the identical warning
|
/PHP-5.6/sapi/fpm/tests/ |
H A D | 014.phpt | 2 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 D | ftp_fget_basic.phpt | 31 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 D | ftp_get_basic.phpt | 31 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 D | bug55371.phpt | 2 Bug #55371 (get_magic_quotes_gpc() and get_magic_quotes_runtime() throw deprecated warning)
|
/PHP-5.6/ext/readline/ |
H A D | php_readline.h | 26 #warning Readline module will *NEVER* be thread-safe
|
/PHP-5.6/ext/session/tests/ |
H A D | bug38377.phpt | 2 Bug #38377 (session_destroy() gives warning after session_regenerate_id())
|
/PHP-5.6/ext/gd/tests/ |
H A D | bug66356.phpt | 41 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 D | bug60536_004.phpt | 16 // but they are distinct, and not related to each other, so no warning. 24 // that should give the expected strict warning.
|