Home
last modified time | relevance | path

Searched refs:z_in_cp (Results 1 – 1 of 1) sorted by relevance

/PHP-7.4/win32/
H A Dcodepage.c637 zval *z_in_cp, *z_out_cp; in PHP_FUNCTION() local
639 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "zzs", &z_in_cp, &z_out_cp, &subj, &subj_len) == FAILUR… in PHP_FUNCTION()
648 if (IS_LONG == Z_TYPE_P(z_in_cp)) { in PHP_FUNCTION()
649 if (ZEND_LONG_UINT_OVFL(Z_LVAL_P(z_in_cp))) { in PHP_FUNCTION()
650 php_error_docref(NULL, E_WARNING, "Argument %d is out of range", Z_LVAL_P(z_in_cp)); in PHP_FUNCTION()
654 in_cp = php_win32_cp_get_by_id((DWORD)Z_LVAL_P(z_in_cp)); in PHP_FUNCTION()
656 php_error_docref(NULL, E_WARNING, "Invalid codepage %d", Z_LVAL_P(z_in_cp)); in PHP_FUNCTION()
660 if (!try_convert_to_string(z_in_cp)) { in PHP_FUNCTION()
664 in_cp = php_win32_cp_get_by_enc(Z_STRVAL_P(z_in_cp)); in PHP_FUNCTION()
666 php_error_docref(NULL, E_WARNING, "Invalid charset %s", Z_STRVAL_P(z_in_cp)); in PHP_FUNCTION()

Completed in 11 milliseconds