/php-src/ext/standard/tests/mail/ |
H A D | mail_util.inc | 34 public function fail(string $message): void 37 die($message); 208 public function isAsExpected(string $from, string $to, string $subject, string $message): bool 232 if (trim($this->getBody()) !== trim($message)) {
|
H A D | mail_variation_win.phpt | 49 $message = <<<HERE 51 bool mail ( string \$to , string \$subject , string \$message [, string \$additional_headers [, str… 52 Send an email message 55 $res = mail($to, $subject, $message);
|
/php-src/sapi/cli/ |
H A D | php_cli_server.c | 235 …c void php_cli_server_log_response(php_cli_server_client *client, int status, const char *message); 1185 …p_cli_server_log_response(php_cli_server_client *client, int status, const char *message) /* {{{ */ in php_cli_server_log_response() argument 1225 if (message) { in php_cli_server_log_response() 1226 spprintf(&message_buf, 0, " - %s", message); in php_cli_server_log_response() 1239 if (message) { in php_cli_server_log_response() 1253 if (message) { in php_cli_server_log_response()
|
/php-src/main/ |
H A D | SAPI.h | 262 void (*log_message)(const char *message, int syslog_type_int);
|
/php-src/Zend/ |
H A D | zend_exceptions.c | 306 zend_string *message = NULL; in ZEND_METHOD() local 318 if (message) { in ZEND_METHOD() 319 ZVAL_STR(&tmp, message); in ZEND_METHOD() 367 if (message) { in ZEND_METHOD() 687 message = real_message; in ZEND_METHOD() 696 if (ZSTR_LEN(message) > 0) { in ZEND_METHOD() 828 if (message) { in zend_throw_exception_zstr() 829 ZVAL_STR(&tmp, message); in zend_throw_exception_zstr() 845 zend_string *msg_str = message ? zend_string_init(message, strlen(message), 0) : NULL; in zend_throw_exception() 857 char *message; in zend_throw_exception_ex() local [all …]
|
H A D | zend_exceptions.stub.php | 31 protected $message = ""; variable in Exception 45 public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null) {} argument 73 string $message = "", argument 90 protected $message = ""; variable in Error 106 public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null) {} argument
|
H A D | zend_builtin_functions.stub.php | 105 function trigger_error(string $message, int $error_level = E_USER_NOTICE): true {} argument 108 function user_error(string $message, int $error_level = E_USER_NOTICE): true {} argument
|
/php-src/ext/curl/tests/ |
H A D | server.inc | 38 echo "Server did not output startup message";
|
H A D | curl_error_basic.phpt | 20 * Description: Returns a clear text error message for the last cURL operation.
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_main.c | 609 void sapi_cgi_log_fastcgi(int level, char *message, size_t len) in sapi_cgi_log_fastcgi() argument 619 if (CGIG(fcgi_logging) && request && message && len > 0) { in sapi_cgi_log_fastcgi() 625 if (fcgi_write(request, FCGI_STDERR, message, len) < 0) { in sapi_cgi_log_fastcgi() 633 static void sapi_cgi_log_message(const char *message, int syslog_type_int) in sapi_cgi_log_message() argument 635 zlog_msg(ZLOG_NOTICE, "PHP message: ", message); in sapi_cgi_log_message()
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | gh7723.phpt | 2 GitHub #7723 (Fix error message allocation of PDO PgSQL)
|
/php-src/ext/mbstring/tests/ |
H A D | gh8086.phpt | 14 $message = "body of testing php mail"; 19 mb_send_mail($to, $subject, $message, $header);
|
/php-src/ext/dom/tests/ |
H A D | libxml_global_state_entity_loader_bypass.phpt | 23 var_dump(trim($error->message));
|
/php-src/sapi/fuzzer/ |
H A D | fuzzer-sapi.c | 94 static void log_message(const char *message, int level) in log_message() argument
|
/php-src/ext/standard/tests/general_functions/ |
H A D | proc_open_sockets1.phpt | 45 throw new Error("Failed to read: " . (error_get_last()['message'] ?? 'N/A'));
|
/php-src/ext/opcache/tests/jit/ |
H A D | bug80745.phpt | 25 function headerToBinary(Message $message) 28 $flags = ($flags << 1) | ($message->qr ? 1 : 0); 29 $flags = ($flags << 4) | $message->opcode; 31 $flags = ($flags << 1) | ($message->aa ? 1 : 0);
|
/php-src/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 39 static char * _pdo_pgsql_trim_message(const char *message, int persistent) in _pdo_pgsql_trim_message() argument 41 size_t i = strlen(message)-1; in _pdo_pgsql_trim_message() 44 if (i>1 && (message[i-1] == '\r' || message[i-1] == '\n') && message[i] == '.') { in _pdo_pgsql_trim_message() 47 while (i>0 && (message[i] == '\r' || message[i] == '\n')) { in _pdo_pgsql_trim_message() 52 memcpy(tmp, message, i); in _pdo_pgsql_trim_message() 105 static void _pdo_pgsql_notice(pdo_dbh_t *dbh, const char *message) /* {{{ */ in _pdo_pgsql_notice() argument
|
/php-src/ext/pdo_mysql/tests/inc/ |
H A D | mysql_pdo_test.inc | 200 static function skipNotMySQLnd(?string $message = null) { 201 $message = $message ?? 'skip only for mysqlnd'; 202 if (!self::isPDOMySQLnd()) die($message); 205 static function skipNotTransactionalEngine(?string $message = null) { 207 $message = $message ?? 'skip Transactional engine not found'; 208 if (false == self::detect_transactional_mysql_engine($db)) die($message);
|
/php-src/ |
H A D | CONTRIBUTING.md | 130 should be credited, the `Co-authored-by` tag in the commit message may be used. 394 nice commit message for each one. See example below. 396 4. Do write your commit message in such a way that it makes sense even without 398 know what was modified. Definitely include the function name in the message 422 If you fix some bugs, you should note the bug ID numbers in your commit message.
|
/php-src/ext/pgsql/ |
H A D | php_pgsql.h | 168 char *message; member
|
/php-src/ext/intl/converter/ |
H A D | converter.c | 52 char message[1024]; in php_converter_throw_failure() local 56 vsnprintf(message, sizeof(message), format, vargs); in php_converter_throw_failure() 59 intl_errors_set(err, error, message, 1); in php_converter_throw_failure() 803 zend_string *message = intl_error_get_message(&(objval->error)); in PHP_METHOD() local 804 if (message) { in PHP_METHOD() 805 RETURN_STR(message); in PHP_METHOD()
|
/php-src/ext/pdo_odbc/ |
H A D | odbc_driver.c | 37 zend_string *message = NULL; in pdo_odbc_fetch_error_func() local 44 message = strpprintf(0, "%s (%s[%ld] at %s:%d)", in pdo_odbc_fetch_error_func() 50 add_next_index_str(info, message); in pdo_odbc_fetch_error_func()
|
/php-src/sapi/fpm/tests/ |
H A D | response.inc | 34 * Emit error message 36 * @param string $message 42 protected function error(string $message, bool $throw = false): bool 44 $errorMessage = "ERROR: $message\n"; 219 * @param string|null $errorMessage Expected error message. 228 … ? "The expected error message '$errorMessage' is not equal to returned error '$errorData'" 229 : "No error message expected but received '$errorData'"; 239 * @param string $errorMessagePattern Expected error message RegExp pattern. 357 * Check if the response is valid and if not emit error message
|
/php-src/ext/sodium/ |
H A D | libsodium.stub.php | 592 function sodium_crypto_auth(string $message, #[\SensitiveParameter] string $key): string {} 596 function sodium_crypto_auth_verify(string $mac, string $message, #[\SensitiveParameter] string $key… 665 function sodium_crypto_generichash(string $message, #[\SensitiveParameter] string $key = "", int $l… 671 function sodium_crypto_generichash_update(string &$state, string $message): true {} 731 function sodium_crypto_shorthash(string $message, #[\SensitiveParameter] string $key): string {} 735 function sodium_crypto_sign(string $message, #[\SensitiveParameter] string $secret_key): string {} 737 function sodium_crypto_sign_detached(string $message, #[\SensitiveParameter] string $secret_key): s… 757 function sodium_crypto_sign_verify_detached(string $signature, string $message, string $public_key)…
|
/php-src/ext/intl/formatter/ |
H A D | formatter_main.c | 135 zend_string *message = NULL; in PHP_FUNCTION() local 148 message = intl_error_get_message( INTL_DATA_ERROR_P(nfo) ); in PHP_FUNCTION() 149 RETURN_STR(message); in PHP_FUNCTION()
|