Home
last modified time | relevance | path

Searched refs:msg (Results 126 – 150 of 195) sorted by relevance

12345678

/PHP-7.3/ext/pdo/
H A Dpdo_dbh.c70 const char *msg; in pdo_raise_impl_error() local
88 msg = pdo_sqlstate_state_to_description(*pdo_err); in pdo_raise_impl_error()
89 if (!msg) { in pdo_raise_impl_error()
90 msg = "<<Unknown error>>"; in pdo_raise_impl_error()
94 spprintf(&message, 0, "SQLSTATE[%s]: %s: %s", *pdo_err, msg, supp); in pdo_raise_impl_error()
96 spprintf(&message, 0, "SQLSTATE[%s]: %s", *pdo_err, msg); in pdo_raise_impl_error()
129 const char *msg = "<<Unknown>>"; in pdo_handle_error() local
144 msg = pdo_sqlstate_state_to_description(*pdo_err); in pdo_handle_error()
145 if (!msg) { in pdo_handle_error()
146 msg = "<<Unknown error>>"; in pdo_handle_error()
[all …]
/PHP-7.3/Zend/tests/
H A Dcompound_assign_failure.phpt23 set_error_handler(function($type, $msg) { throw new Exception($msg); });
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_info.c123 #define VARIABLEINFO(attrs, msg, ...) \ in PHPDBG_INFO() argument
126 "%-18p %-7d %-9s %.*s" msg, &data->value, \ in PHPDBG_INFO()
233 #define VARIABLEINFO(attrs, msg, ...) \ in phpdbg_print_symbols() argument
236 …"%-18p %-7d %-9s %s$%.*s" msg, data, Z_REFCOUNTED_P(data) ? Z_REFCOUNT_P(data) : 1, zend_zval_type… in phpdbg_print_symbols()
H A Dphpdbg_wait.c125 void phpdbg_webdata_decompress(char *msg, int len) { in phpdbg_webdata_decompress() argument
132 …if (!php_var_unserialize(&zv, (const unsigned char **) &msg, (unsigned char *) msg + len, &var_has… in phpdbg_webdata_decompress()
H A Dphpdbg_prompt.c771 zend_string *msg, *file; in phpdbg_handle_exception() local
784 msg = ZSTR_EMPTY_ALLOC(); in phpdbg_handle_exception()
788msg = zval_get_string(zend_read_property(zend_get_exception_base(&zv), &zv, ZEND_STRL("string"), 1… in phpdbg_handle_exception()
793 phpdbg_writeln("exceptionmsg", "msg=\"%s\"", "%s", ZSTR_VAL(msg)); in phpdbg_handle_exception()
794 zend_string_release(msg); in phpdbg_handle_exception()
1765 zend_string *file, *msg; in phpdbg_execute_ex() local
1785msg = zval_get_string(zend_read_property(zend_get_exception_base(&zv), &zv, ZEND_STRL("message"), … in phpdbg_execute_ex()
1791 ZSTR_LEN(msg) < 80 ? (int) ZSTR_LEN(msg) : 80, ZSTR_VAL(msg)); in phpdbg_execute_ex()
1792 zend_string_release(msg); in phpdbg_execute_ex()
H A Dphpdbg_cmd.h157 PHPDBG_API void phpdbg_param_debug(const phpdbg_param_t *param, const char *msg);
/PHP-7.3/Zend/
H A Dzend_ini_parser.y194 static ZEND_COLD void ini_error(const char *msg) in ini_error() argument
202 …error_buf_len = 128 + (int)strlen(msg) + (int)strlen(currently_parsed_filename); /* should be more… in ini_error()
205 …sprintf(error_buf, "%s in %s on line %d\n", msg, currently_parsed_filename, zend_ini_scanner_get_l… in ini_error()
/PHP-7.3/ext/dba/
H A Ddba_db3.c40 const char *errpfx, const char *msg) in php_dba_db3_errcall_fcn() argument
43 php_error_docref(NULL, E_NOTICE, "%s%s", errpfx?errpfx:"", msg); in php_dba_db3_errcall_fcn()
/PHP-7.3/ext/curl/tests/
H A Dbug76675.phpt40 if (false !== $info && $info['msg'] == CURLMSG_DONE) {
/PHP-7.3/win32/
H A Dsendmail.c835 static int Post(LPCSTR msg) in Post() argument
837 int len = (int)strlen(msg); in Post()
842 if (msg) in Post()
843 printf("POST: '%s'\n", msg); in Post()
848 if ((slen = send(PW32G(mail_socket), msg + index, len, 0)) < 1) in Post()
/PHP-7.3/ext/sockets/
H A Dconversions.h18 char *msg; member
/PHP-7.3/ext/imap/tests/
H A Dimap_body_basic.phpt27 // show body for msg 1
H A Dimap_fetchbody_error.phpt25 $stream_id = setup_test_mailbox('', 1); // set up temp mailbox with 1 simple msg
/PHP-7.3/ext/pdo_pgsql/
H A Dphp_pdo_pgsql_int.h80 …h_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, const char *msg, const char *file, …
/PHP-7.3/ext/mysqli/tests/
H A Dbug49442.phpt14 if ($msg = check_local_infile_support($link, $engine))
15 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
/PHP-7.3/ext/phar/phar/
H A Dclicommand.inc90 static function notice ($msg)
92 fprintf(STDERR, $msg);
95 static function error ($msg, $exit_code = 1)
97 self::notice($msg);
/PHP-7.3/ext/standard/tests/file/
H A Dunlink_variation8.phpt87 $msg = "soft link";
91 $msg = "hard link";
93 echo "-- unlinking $msg $tounlink --\n";
H A D007_variation15.phpt20 checking for the warning msg when trying to open an existing file in "xt" mode,
/PHP-7.3/ext/json/
H A Djson_parser.y82 static void php_json_yyerror(php_json_parser *parser, char const *msg);
301 static void php_json_yyerror(php_json_parser *parser, char const *msg) in php_json_yyerror() argument
/PHP-7.3/ext/date/tests/
H A DDateTimeZone_construct_variation1.phpt101 $msg = $e->getMessage();
102 echo "FAILED: " . $msg . "\n";
H A DDateTime_construct_variation1.phpt106 $msg = $e->getMessage();
107 echo "FAILED: " . $msg . "\n";
113 $msg = $e->getMessage();
114 echo "FAILED: " . $msg . "\n";
H A DDateTime_construct_variation2.phpt106 $msg = $e->getMessage();
107 echo "FAILED: " . $msg . "\n";
/PHP-7.3/sapi/fpm/tests/
H A Dlogtool.inc411 * @param string $msg
414 private function error(string $msg)
416 $this->error = $msg;
417 echo "ERROR: $msg\n";
H A Dtester.inc955 * @param string|null $msg
957 private function message($msg)
959 if ($msg !== null) {
960 echo "$msg\n";
965 * @param string $msg
968 private function error($msg, \Exception $exception = null)
970 $this->error = 'ERROR: ' . $msg;
/PHP-7.3/main/streams/
H A Dstreams.c152 char *msg; in php_stream_display_wrapper_errors() local
188 msg = emalloc(l + 1); in php_stream_display_wrapper_errors()
189 msg[0] = '\0'; in php_stream_display_wrapper_errors()
193 strcat(msg, *err_buf_p); in php_stream_display_wrapper_errors()
195 strcat(msg, br); in php_stream_display_wrapper_errors()
202 msg = strerror(errno); /* TODO: not ts on linux */ in php_stream_display_wrapper_errors()
204 msg = "operation failed"; in php_stream_display_wrapper_errors()
208 msg = "no suitable wrapper could be found"; in php_stream_display_wrapper_errors()
212 php_error_docref1(NULL, tmp, E_WARNING, "%s: %s", caption, msg); in php_stream_display_wrapper_errors()
215 efree(msg); in php_stream_display_wrapper_errors()

Completed in 83 milliseconds

12345678