Home
last modified time | relevance | path

Searched refs:z_out_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()
630 if (IS_LONG == Z_TYPE_P(z_out_cp)) { in PHP_FUNCTION()
631 if (ZEND_LONG_UINT_OVFL(Z_LVAL_P(z_out_cp))) { in PHP_FUNCTION()
632 php_error_docref(NULL, E_WARNING, "Argument %d is out of range", Z_LVAL_P(z_out_cp)); in PHP_FUNCTION()
636 out_cp = php_win32_cp_get_by_id((DWORD)Z_LVAL_P(z_out_cp)); in PHP_FUNCTION()
638 php_error_docref(NULL, E_WARNING, "Invalid codepage %d", Z_LVAL_P(z_out_cp)); in PHP_FUNCTION()
642 convert_to_string(z_out_cp); in PHP_FUNCTION()
644 out_cp = php_win32_cp_get_by_enc(Z_STRVAL_P(z_out_cp)); in PHP_FUNCTION()
646 php_error_docref(NULL, E_WARNING, "Invalid charset %s", Z_STRVAL_P(z_out_cp)); in PHP_FUNCTION()

Completed in 8 milliseconds