/php-src/ext/standard/tests/file/ |
H A D | unlink_variation10.phpt | 54 $msg = "soft link"; 58 $msg = "hard link"; 60 echo "-- unlinking $msg $tounlink --\n";
|
H A D | unlink_variation8.phpt | 81 $msg = "soft link"; 85 $msg = "hard link"; 87 echo "-- unlinking $msg $tounlink --\n";
|
/php-src/ext/spl/tests/ |
H A D | iterator_042.phpt | 6 function test_error_handler($errno, $msg, $filename, $linenum) 8 echo "Error $msg in $filename on line $linenum\n";
|
H A D | bug79987.phpt | 10 set_error_handler(function ($type, $msg, $file, $line, $context = []) {
|
/php-src/ext/sodium/tests/ |
H A D | crypto_auth.phpt | 7 $msg = random_bytes(1000); 9 $mac = sodium_crypto_auth($msg, $key); 12 var_dump(sodium_crypto_auth_verify($mac, $msg, $key)); 16 $mac = sodium_crypto_auth($msg, $bad_key); 23 $badmsg = $msg; 28 $badmsg = $msg; 30 \ord($msg[$i]) ^ ( 40 var_dump(sodium_crypto_auth_verify($badmac, $msg, $key));
|
H A D | crypto_box.phpt | 35 $msg = "Here is another message, to be signed using Alice's secret key, and " . 40 $msg, 47 $msg, 75 var_dump($msg === $plaintext); 127 $msg = sodium_hex2bin( 135 var_dump(sodium_crypto_box_seal_open($msg, $kp));
|
H A D | crypto_generichash.phpt | 7 $q = sodium_crypto_generichash('msg'); 9 $q = sodium_crypto_generichash('msg', '0123456789abcdef'); 11 $q = sodium_crypto_generichash('msg', '0123456789abcdef', 64); 13 $q = sodium_crypto_generichash('msg', '0123456789abcdef0123456789abcdef', 64);
|
H A D | crypto_shorthash.phpt | 14 $m2 = 'msg';
|
H A D | crypto_sign.phpt | 21 $msg = "Here is the message, to be signed using Alice's secret key, and " . 24 $msg_signed = sodium_crypto_sign($msg, $alice_secretkey); 25 var_dump(strlen($msg_signed) - strlen($msg) === SODIUM_CRYPTO_SIGN_BYTES); 28 var_dump($msg_orig === $msg); 40 $msg_signed = sodium_crypto_sign($msg, $alice_secretkey); 41 var_dump(strlen($msg_signed) - strlen($msg) === SODIUM_CRYPTO_SIGN_BYTES); 44 var_dump($msg_orig === $msg); 46 $signature = sodium_crypto_sign_detached($msg, $alice_secretkey); 49 $msg, $alice_publickey)); 51 $msg . "\0", $alice_publickey)); [all …]
|
/php-src/ext/sockets/tests/ |
H A D | socket_sentto_recvfrom_ipv4_udp.phpt | 20 $msg = "Ping!"; 21 $len = strlen($msg); 22 $sent = socket_sendto($socket, $msg, $len, 0, $address, $port);
|
H A D | socket_sentto_recvfrom_ipv6_udp.phpt | 28 $msg = "Ping!"; 29 $len = strlen($msg); 30 $sent = socket_sendto($socket, $msg, $len, 0, $address, $port);
|
/php-src/ext/soap/tests/ |
H A D | bug68996.phpt | 17 return new SoapFault("\xfc\x63", "some msg"); 45 …/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode></faultcode><faultstring>some msg</faultstring></SOAP… 47 …ult><env:Code><env:Value></env:Value></env:Code><env:Reason><env:Text>some msg</env:Text></env:Rea…
|
/php-src/ext/phar/phar/ |
H A D | clicommand.inc | 90 static function notice ($msg) 92 fprintf(STDERR, $msg); 95 static function error ($msg, $exit_code = 1) 97 self::notice($msg);
|
/php-src/ext/pdo_mysql/ |
H A D | php_pdo_mysql_int.h | 37 #define PDO_DBG_INF(msg) do { if (!dbg_skip_trace) PDO_MYSQL_G(dbg)->m->log(PDO_MYSQL_G(dbg), __LIN… argument 38 #define PDO_DBG_ERR(msg) do { if (!dbg_skip_trace) PDO_MYSQL_G(dbg)->m->log(PDO_MYSQL_G(dbg), __LIN… argument 53 static inline void PDO_DBG_INF(char *msg) {} in PDO_DBG_INF() argument 54 static inline void PDO_DBG_ERR(char *msg) {} in PDO_DBG_ERR() argument
|
/php-src/ext/opcache/tests/ |
H A D | bug75556.phpt | 16 $msg = 'Date objects must have UTC as their timezone'; 17 throw new \UnexpectedValueException($msg);
|
H A D | bug73402.phpt | 11 public function info($msg) { 12 echo $msg;
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_debug.h | 99 …INF_EX(dbg_obj, msg) do { if (dbg_skip_trace == FALSE && (dbg_obj)) (dbg_obj)->m->log((dbg_obj), … argument 100 …ERR_EX(dbg_obj, msg) do { if (dbg_skip_trace == FALSE && (dbg_obj)) (dbg_obj)->m->log((dbg_obj), … argument 168 static inline void DBG_INF_EX(MYSQLND_DEBUG * dbg_obj, const char * const msg) {} in DBG_INF_EX() argument 182 #define DBG_INF(msg) DBG_INF_EX(MYSQLND_G(dbg), (msg)) argument 183 #define DBG_ERR(msg) DBG_ERR_EX(MYSQLND_G(dbg), (msg)) argument 194 #define TRACE_ALLOC_INF(msg) DBG_INF_EX(MYSQLND_G(trace_alloc), (msg)) argument 195 #define TRACE_ALLOC_ERR(msg) DBG_ERR_EX(MYSQLND_G(trace_alloc), (msg)) argument 207 static inline void DBG_INF(const char * const msg) {} in DBG_INF() argument 208 static inline void DBG_ERR(const char * const msg) {} in DBG_ERR() argument 218 static inline void TRACE_ALLOC_INF(const char * const msg) {} in TRACE_ALLOC_INF() argument [all …]
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_local_infile_directory_access_allowed.phpt | 14 if ($msg = check_local_infile_allowed_by_server($link)) 15 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
|
/php-src/ext/intl/tests/ |
H A D | uconverter_getstandards_basic.phpt | 7 function assertTrue($assertion, $msg) { 8 if (!$assertion) var_dump($msg);
|
/php-src/ext/intl/transliterator/ |
H A D | transliterator_methods.c | 169 char *msg = NULL; in PHP_FUNCTION() local 172 spprintf( &msg, 0, "transliterator_create_from_rules: unable to " in PHP_FUNCTION() 175 if( msg != NULL ) in PHP_FUNCTION() 177 intl_errors_set_custom_msg( INTL_DATA_ERROR_P( to ), msg, 1 ); in PHP_FUNCTION() 178 efree( msg ); in PHP_FUNCTION() 346 char *msg; in PHP_FUNCTION() local 347 spprintf( &msg, 0, in PHP_FUNCTION() 351 if(msg != NULL ) in PHP_FUNCTION() 354 msg, 1 ); in PHP_FUNCTION() 355 efree( msg ); in PHP_FUNCTION()
|
/php-src/ext/intl/locale/ |
H A D | locale_methods.c | 480 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/intl/msgformat/ |
H A D | msgformat.c | 90 char *msg = NULL; in msgfmt_ctor() local 93 …spprintf( &msg, 0, "pattern syntax error (%s)", parse_error_str.s? ZSTR_VAL(parse_error_str.s) : "… in msgfmt_ctor() 97 intl_errors_set_custom_msg( INTL_DATA_ERROR_P( mfo ), msg, 1 ); in msgfmt_ctor() 99 efree( msg ); in msgfmt_ctor()
|
/php-src/ext/intl/dateformat/ |
H A D | dateformat_helpers.cpp | 35 char *msg; in datefmt_process_calendar_arg() local 53 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg() 54 efree(msg); in datefmt_process_calendar_arg() 68 spprintf(&msg, 0, "%s: Found unconstructed IntlCalendar object", in datefmt_process_calendar_arg() 70 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg() 71 efree(msg); in datefmt_process_calendar_arg() 81 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg() 82 efree(msg); in datefmt_process_calendar_arg() 90 spprintf(&msg, 0, "%s: Failure instantiating calendar", func_name); in datefmt_process_calendar_arg() 91 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg() [all …]
|
/php-src/ext/intl/idn/ |
H A D | idn.c | 40 static int php_intl_idn_check_status(UErrorCode err, const char *msg) in php_intl_idn_check_status() argument 47 msg); in php_intl_idn_check_status() 56 static inline void php_intl_bad_args(const char *msg) in php_intl_bad_args() argument 58 php_intl_idn_check_status(U_ILLEGAL_ARGUMENT_ERROR, msg); in php_intl_bad_args()
|
/php-src/ext/intl/ |
H A D | intl_error.c | 90 void intl_error_set_custom_msg( intl_error* err, const char* msg, int copyMsg ) in intl_error_set_custom_msg() argument 92 if( !msg ) in intl_error_set_custom_msg() 97 php_error_docref( NULL, INTL_G( error_level ), "%s", msg ); in intl_error_set_custom_msg() 99 zend_throw_exception_ex( IntlException_ce_ptr, 0, "%s", msg ); in intl_error_set_custom_msg() 111 err->custom_error_message = copyMsg ? estrdup( msg ) : (char *) msg; in intl_error_set_custom_msg() 161 void intl_error_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg ) in intl_error_set() argument 164 intl_error_set_custom_msg( err, msg, copyMsg ); in intl_error_set() 172 intl_errors_set_custom_msg( err, msg, copyMsg ); in intl_errors_set() 187 void intl_errors_set_custom_msg( intl_error* err, const char* msg, int copyMsg ) in intl_errors_set_custom_msg() argument 190 intl_error_set_custom_msg( err, msg, copyMsg ); in intl_errors_set_custom_msg() [all …]
|