/php-src/ext/standard/ |
H A D | mail.c | 242 char *to=NULL, *message=NULL; in PHP_FUNCTION() local 254 Z_PARAM_PATH(message, message_len) in PHP_FUNCTION() 343 static void php_mail_log_crlf_to_spaces(char *message) { in php_mail_log_crlf_to_spaces() argument 348 char *p = message; in php_mail_log_crlf_to_spaces() 354 static void php_mail_log_to_syslog(char *message) { in php_mail_log_to_syslog() argument 357 php_syslog(LOG_NOTICE, "%s", message); in php_mail_log_to_syslog() 362 static void php_mail_log_to_file(char *filename, char *message, size_t message_size) { in php_mail_log_to_file() argument 367 php_stream_write(stream, message, message_size); in php_mail_log_to_file() 411 PHPAPI int php_mail(const char *to, const char *subject, const char *message, const char *headers, … in php_mail() argument 495 …if (TSendMail(INI_STR("SMTP"), &tsm_err, &tsm_errmsg, hdr, subject, to, message, NULL, NULL, NULL)… in php_mail() [all …]
|
/php-src/Zend/tests/ |
H A D | exception_with_by_ref_message.phpt | 2 Exception with by-ref message 9 $this->message =& $msg;
|
H A D | bug69388.phpt | 6 function handle_error($code, $message, $file, $line) { 10 bla($message);
|
H A D | bug79599.phpt | 5 set_error_handler(function($code, $message){ 6 throw new \Exception($message);
|
H A D | methods-on-non-objects-catch.phpt | 5 set_error_handler(function($code, $message) { 6 var_dump($code, $message);
|
H A D | bug78239.phpt | 7 function handleError($level, $message, $file = '', $line = 0, $context = []) 9 throw new ErrorException($message, 0, $level, $file, $line);
|
/php-src/ext/opcache/tests/ |
H A D | preload.inc | 59 public function __construct($message) { 60 $this->message =& $message;
|
/php-src/ext/sysvmsg/ |
H A D | sysvmsg.c | 348 zval *message, *queue, *zerror=NULL; in PHP_FUNCTION() local 359 &queue, sysvmsg_queue_ce, &msgtype, &message, &do_serialize, &blocking, &zerror) == FAILURE) { in PHP_FUNCTION() 370 php_var_serialize(&msg_var, message, &var_hash); in PHP_FUNCTION() 381 switch (Z_TYPE_P(message)) { in PHP_FUNCTION() 383 p = Z_STRVAL_P(message); in PHP_FUNCTION() 384 message_len = Z_STRLEN_P(message); in PHP_FUNCTION() 387 message_len = spprintf(&p, 0, ZEND_LONG_FMT, Z_LVAL_P(message)); in PHP_FUNCTION() 396 message_len = spprintf(&p, 0, "%F", Z_DVAL_P(message)); in PHP_FUNCTION() 400 …nt_type_error(3, "must be of type string|int|float|bool, %s given", zend_zval_value_name(message)); in PHP_FUNCTION() 407 if (Z_TYPE_P(message) != IS_STRING) { in PHP_FUNCTION()
|
/php-src/ext/sockets/tests/ |
H A D | socket_import_stream-1.phpt | 16 socket_write($sock, "test message"); 24 string(12) "test message"
|
H A D | socket_sendrecvmsg_error.phpt | 10 $message = ['controllen' => 1]; 11 socket_recvmsg($socket, $message, -1);
|
H A D | socket_export_stream-1.phpt | 17 socket_write($s1, "test message"); 24 string(12) "test message"
|
/php-src/ext/standard/tests/assert/ |
H A D | assert_custom_exception.phpt | 9 assert(false, new CustomException('Exception message')); 12 Fatal error: Uncaught CustomException: Exception message in %s:%d
|
/php-src/ext/intl/msgformat/ |
H A D | msgformat_helpers.cpp | 421 char *message; in umsg_format_helper() local 422 spprintf(&message, 0, in umsg_format_helper() 424 intl_errors_set(&err, err.code, message, 1); in umsg_format_helper() 425 efree(message); in umsg_format_helper() 457 char *message; in umsg_format_helper() local 461 efree(message); in umsg_format_helper() 529 char *message; in umsg_format_helper() local 538 efree(message); in umsg_format_helper() 573 char *message; in umsg_format_helper() local 582 U_ILLEGAL_ARGUMENT_ERROR, message, 1); in umsg_format_helper() [all …]
|
/php-src/ext/standard/tests/mail/ |
H A D | mail_basic.phpt | 14 $message = 'A Message'; 21 var_dump( mail($to, $subject, $message, $additional_headers) ); 27 var_dump( mail($to, $subject, $message) );
|
H A D | mail_variation1.phpt | 17 $message = 'A Message'; 18 var_dump( mail($to, $subject, $message) );
|
H A D | bug69115.phpt | 11 $message = "Line 1\r\nLine 2\r\nLine 3"; 12 mail('user@example.com', 'My Subject', $message, "From: me@me.me");
|
H A D | mail_basic5.phpt | 18 $message = 'A Message'; 21 var_dump( mail($to, $subject, $message) );
|
/php-src/Zend/tests/generators/ |
H A D | generator_throwing_exception.phpt | 19 echo 'Caught exception with message "', $e->getMessage(), '"', "\n"; 27 Caught exception with message "test"
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | issue78621_method.phpt | 14 public function disp($message) { echo trim($message)."\n"; } 15 public function dispRe($message) { echo "Re".trim($message)."\n"; }
|
/php-src/Zend/ |
H A D | zend.c | 1421 info->message = zend_string_copy(message); in zend_error_zstr_at() 1562 zend_string_release(message); in zend_error_va_list() 1729 zend_string_release(info->message); in zend_free_recorded_errors() 1740 char *message = NULL; in zend_throw_error() local 1761 efree(message); in zend_throw_error() 1792 char *message = NULL; in zend_type_error() local 1797 efree(message); in zend_type_error() 1804 char *message = NULL; in zend_argument_count_error() local 1809 efree(message); in zend_argument_count_error() 1817 char *message = NULL; in zend_value_error() local [all …]
|
/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/mysqli/tests/ |
H A D | mysqli_get_warnings.phpt | 55 if ((!is_string($warning->message)) || ('' == $warning->message)) /* NULL or not there at all */ 56 …tf("[011] Expecting string/not empty, got %s/%s\n", gettype($warning->message), $warning->message); 96 if (!is_string($warning->message) || ('' == $warning->message)) 97 printf("[025] Expecting string, got %s/%s", gettype($warning->message), $warning->message); 109 if ('' != ($tmp = $warning->message)) 126 while ($warning->next() && ('' != ($tmp = $warning->message))) {
|
/php-src/ext/standard/tests/array/ |
H A D | bug77395.phpt | 5 function error_handle($level, $message, $file = '', $line = 0){ 8 echo $message;
|
/php-src/ext/spl/tests/ |
H A D | bug72051.phpt | 11 $current['message'] = 'Test message';
|
/php-src/tests/output/ |
H A D | bug70970.phpt | 5 function exception_error_handler($severity, $message, $file, $line) 7 throw new Exception($message, 0);
|