PHP » GoLang |
login |
register |
about
|
GoLang mysqli::get_charset
request it (563)
GoLang replacement for PHP's mysqli::get_charset
[edit | history]
mysqli::get_charsetmysqli_get_charset(PHP 5 >= 5.1.0, PHP 7) mysqli::get_charset -- mysqli_get_charset — Returns a character set object DescriptionObject oriented style
object mysqli::get_charset
( void
)
Procedural style Returns a character set object providing several properties of the current active character set. Parameters
Return ValuesThe function returns a character set object with the following properties:
ExamplesExample #1 mysqli::get_charset() example Object oriented style
<?phpProcedural style
<?phpThe above examples will output:
object(stdClass)#2 (7) {
["charset"]=>
string(6) "latin1"
["collation"]=>
string(17) "latin1_swedish_ci"
["dir"]=>
string(0) ""
["min_length"]=>
int(1)
["max_length"]=>
int(1)
["number"]=>
int(8)
["state"]=>
int(801)
}
See Also
|
more
Most requested
more
Last requests
|