Home
last modified time | relevance | path

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

/PHP-7.1/win32/
H A Dcodepage.c598 zval *z_in_cp, *z_out_cp; in PHP_FUNCTION() local
600 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "zzs", &z_in_cp, &z_out_cp, &subj, &subj_len) == FAILUR… in PHP_FUNCTION()
609 if (IS_LONG == Z_TYPE_P(z_in_cp)) { in PHP_FUNCTION()
610 if (ZEND_LONG_UINT_OVFL(Z_LVAL_P(z_in_cp))) { in PHP_FUNCTION()
611 php_error_docref(NULL, E_WARNING, "Argument %d is out of range", Z_LVAL_P(z_in_cp)); in PHP_FUNCTION()
615 in_cp = php_win32_cp_get_by_id((DWORD)Z_LVAL_P(z_in_cp)); in PHP_FUNCTION()
617 php_error_docref(NULL, E_WARNING, "Invalid codepage %d", Z_LVAL_P(z_in_cp)); in PHP_FUNCTION()
621 convert_to_string(z_in_cp); in PHP_FUNCTION()
623 in_cp = php_win32_cp_get_by_enc(Z_STRVAL_P(z_in_cp)); in PHP_FUNCTION()
625 php_error_docref(NULL, E_WARNING, "Invalid charset %s", Z_STRVAL_P(z_in_cp)); in PHP_FUNCTION()

Completed in 6 milliseconds