Home
last modified time | relevance | path

Searched refs:z_out_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()
671 if (IS_LONG == Z_TYPE_P(z_out_cp)) { in PHP_FUNCTION()
672 if (ZEND_LONG_UINT_OVFL(Z_LVAL_P(z_out_cp))) { in PHP_FUNCTION()
673 php_error_docref(NULL, E_WARNING, "Argument %d is out of range", Z_LVAL_P(z_out_cp)); in PHP_FUNCTION()
677 out_cp = php_win32_cp_get_by_id((DWORD)Z_LVAL_P(z_out_cp)); in PHP_FUNCTION()
679 php_error_docref(NULL, E_WARNING, "Invalid codepage %d", Z_LVAL_P(z_out_cp)); in PHP_FUNCTION()
683 if (!try_convert_to_string(z_out_cp)) { in PHP_FUNCTION()
687 out_cp = php_win32_cp_get_by_enc(Z_STRVAL_P(z_out_cp)); in PHP_FUNCTION()
689 php_error_docref(NULL, E_WARNING, "Invalid charset %s", Z_STRVAL_P(z_out_cp)); in PHP_FUNCTION()

Completed in 5 milliseconds