Home
last modified time | relevance | path

Searched refs:msg (Results 76 – 100 of 217) sorted by relevance

123456789

/php-src/ext/sockets/tests/
H A Dsocket_sentto_recvfrom_ipv6_udp-win32.phpt28 $msg = "Ping!";
29 $len = strlen($msg);
30 $bytes_sent = socket_sendto($socket, $msg, $len, 0, $address, 1223);
H A Dsocket_sentto_recvfrom_unix.phpt27 $msg = "Ping!";
28 $len = strlen($msg);
29 $bytes_sent = socket_sendto($socket, $msg, $len, 0, $address);
/php-src/Zend/tests/
H A Druntime_compile_time_binary_operands.phpt126 $msg = makeParam($e->getMessage());
127 …$line .= "try { $compare; $error } catch (Error \$e) { if (\$e->getMessage() !== $msg) { $error } …
142 $msg = makeParam($e->getMessage());
143 …$line .= "try { $compare; $error } catch (Error \$e) { if (\$e->getMessage() !== $msg) { $error } …
H A Dcall_to_deprecated_function_args.phpt8 set_error_handler(function($code, $msg) {
9 throw new Error($msg);
H A Dexception_before_fatal.phpt5 function exception_error_handler($code, $msg) {
6 throw new Exception($msg);
H A Ddebug_backtrace_with_include_and_this.phpt21 set_error_handler(function($code, $msg, $file, $line) {
23 echo "ERR#$code: $msg @ ", $bt[1]['function'], "\n";
H A Dassign_coalesce_002.phpt16 function do_throw($msg) {
17 throw new Exception($msg);
/php-src/ext/curl/tests/
H A Dcurl_multi_info_read.phpt35 ["msg"]=>
44 ["msg"]=>
/php-src/Zend/tests/generators/
H A Dgh11028_1.phpt13 function test($msg, $x) {
14 echo "yield $msg\n";
/php-src/sapi/fpm/fpm/
H A Dzlog.h10 #define zlog_msg(flags, prefix, msg) zlog_msg_ex(__func__, __LINE__, flags, prefix, msg) argument
34 const char *prefix, const char *msg);
/php-src/ext/mysqli/tests/
H A Dmysqli_fork.phpt71 msg TEXT) ENGINE = InnoDB"))
90 …$sql = sprintf("INSERT INTO messages(pid, sender, msg) VALUES (%d, 'child', '%%s')", posix_getpid(…
94 …$parent_sql = sprintf("SELECT msg_id, msg_time, msg FROM messages WHERE pid = %d AND sender = 'pa…
116 if ($tmp['msg'] == 'stop')
137 …$sql = sprintf("SELECT msg_id, msg_time, msg FROM messages WHERE pid = %d AND sender = 'child' ORD…
138 …$parent_sql = sprintf("INSERT INTO messages (pid, sender, msg) VALUES (%d, 'parent', '%%s')", posi…
147 switch ($row['msg']) {
154 $client_row = $row['msg'];
215 if (!$res = mysqli_query($link, "SELECT sender, msg FROM messages ORDER BY msg_id ASC"))
219 printf("%10s %s\n", $row['sender'], substr($row['msg'], 0, 5));
/php-src/ext/dom/lexbor/lexbor/css/
H A Dlog.h81 lxb_css_log_message_serialize(lxb_css_log_message_t *msg,
85 lxb_css_log_message_serialize_char(lxb_css_log_message_t *msg,
/php-src/ext/standard/tests/file/
H A Dunlink_variation10.phpt54 $msg = "soft link";
58 $msg = "hard link";
60 echo "-- unlinking $msg $tounlink --\n";
/php-src/sapi/phpdbg/
H A Dphpdbg_cmd.c322 PHPDBG_API void phpdbg_param_debug(const phpdbg_param_t *param, const char *msg) { in phpdbg_param_debug() argument
326 fprintf(stderr, "%s STR_PARAM(%s=%zu)\n", msg, param->str, param->len); in phpdbg_param_debug()
330 fprintf(stderr, "%s ADDR_PARAM(" ZEND_ULONG_FMT ")\n", msg, param->addr); in phpdbg_param_debug()
334 …fprintf(stderr, "%s NUMERIC_FILE_PARAM(%s:#"ZEND_ULONG_FMT")\n", msg, param->file.name, param->fil… in phpdbg_param_debug()
338 … fprintf(stderr, "%s FILE_PARAM(%s:"ZEND_ULONG_FMT")\n", msg, param->file.name, param->file.line); in phpdbg_param_debug()
342 fprintf(stderr, "%s METHOD_PARAM(%s::%s)\n", msg, param->method.class, param->method.name); in phpdbg_param_debug()
346 …fprintf(stderr, "%s NUMERIC_METHOD_PARAM(%s::%s)\n", msg, param->method.class, param->method.name); in phpdbg_param_debug()
350 … fprintf(stderr, "%s NUMERIC_FUNCTION_PARAM(%s::"ZEND_LONG_FMT")\n", msg, param->str, param->num); in phpdbg_param_debug()
354 fprintf(stderr, "%s NUMERIC_PARAM("ZEND_LONG_FMT")\n", msg, param->num); in phpdbg_param_debug()
358 fprintf(stderr, "%s COND_PARAM(%s=%zu)\n", msg, param->str, param->len); in phpdbg_param_debug()
[all …]
H A Dphpdbg_parser.y26 static int yyerror(const char *msg);
174 static int yyerror(const char *msg) {
175 phpdbg_error("Parse Error: %s", msg);
/php-src/scripts/dev/
H A Dtidy.php4 set_error_handler(function($_, $msg) {
5 throw new Exception($msg);
/php-src/ext/sysvmsg/tests/
H A D005.phpt28 var_dump(msg_receive($q, 0, $null, 1, $msg, true, 0, $errno));
32 msg_receive($q, 0, $null, 0, $msg);
/php-src/win32/
H A Dwinutil.c50 PHP_WINUTIL_API void php_win32_error_msg_free(char *msg) in php_win32_error_msg_free() argument
52 if (msg && msg[0]) { in php_win32_error_msg_free()
53 free(msg); in php_win32_error_msg_free()
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_errmode.phpt93 $msg = $e->getMessage();
95 if (false === stristr($msg, (string)$v)) {
97 $v, $msg);
130 $msg = $e->getMessage();
132 if (false === stristr($msg, (string)$v)) {
134 $v, $msg);
/php-src/ext/enchant/
H A Denchant.c318 const char *msg; in PHP_FUNCTION() local
326 msg = enchant_broker_get_error(pbroker->pbroker); in PHP_FUNCTION()
327 if (msg) { in PHP_FUNCTION()
328 RETURN_STRING((char *)msg); in PHP_FUNCTION()
766 const char *msg; in PHP_FUNCTION() local
774 msg = enchant_dict_get_error(pdict->pdict); in PHP_FUNCTION()
775 if (msg) { in PHP_FUNCTION()
776 RETURN_STRING((char *)msg); in PHP_FUNCTION()
/php-src/ext/intl/locale/
H A Dlocale_methods.c480 char* msg = NULL; in get_icu_value_src_php() local
518 intl_error_set( NULL, status, msg , 1 ); in get_icu_value_src_php()
519 efree(msg); in get_icu_value_src_php()
570 char* msg = NULL; in get_icu_disp_value_src_php() local
583 spprintf(&msg , 0, "locale_get_display_%s : name too long", tag_name ); in get_icu_disp_value_src_php()
584 intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, msg , 1 ); in get_icu_disp_value_src_php()
585 efree(msg); in get_icu_disp_value_src_php()
643 intl_error_set( NULL, status, msg , 1 ); in get_icu_disp_value_src_php()
644 efree(msg); in get_icu_disp_value_src_php()
672 intl_error_set( NULL, status, msg , 1 ); in get_icu_disp_value_src_php()
[all …]
/php-src/ext/sockets/
H A Dsendrecvmsg.c42 inline ssize_t recvmsg(int sockfd, struct msghdr *msg, int flags) in recvmsg() argument
57 msg->dwFlags = (DWORD)flags; in recvmsg()
58 return WSARecvMsg((SOCKET)sockfd, msg, &recvd, NULL, NULL) == 0 in recvmsg()
62 inline ssize_t sendmsg(int sockfd, const struct msghdr *msg, int flags) in sendmsg() argument
65 return WSASendMsg((SOCKET)sockfd, (struct msghdr*)msg, (DWORD)flags, &sent, NULL, NULL) == 0 in sendmsg()
/php-src/ext/fileinfo/libmagic/
H A Dfuncs.c75 file_checkfield(char *msg, size_t mlen, const char *what, const char **pp) in file_checkfield() argument
87 if (msg) in file_checkfield()
88 snprintf(msg, mlen, "field %s too large: %d", what, fw); in file_checkfield()
94 file_checkfmt(char *msg, size_t mlen, const char *fmt) in file_checkfmt() argument
106 if (msg) in file_checkfmt()
107 snprintf(msg, mlen, "* not allowed in format"); in file_checkfmt()
111 if (!file_checkfield(msg, mlen, "width", &p)) in file_checkfmt()
116 if (!file_checkfield(msg, mlen, "precision", &p)) in file_checkfmt()
121 if (msg) in file_checkfmt()
122 snprintf(msg, mlen, "bad format char: %c", *p); in file_checkfmt()
/php-src/ext/spl/tests/
H A Diterator_042.phpt6 function test_error_handler($errno, $msg, $filename, $linenum)
8 echo "Error $msg in $filename on line $linenum\n";
/php-src/ext/standard/tests/general_functions/
H A Dbug40398.phpt8 function __construct($msg)
10 echo __METHOD__ . "($msg)\n";

Completed in 98 milliseconds

123456789