diff --git a/language/predefined/attribute/construct.xml b/language/predefined/attribute/construct.xml index a44ad592a..5954e9f2c 100644 --- a/language/predefined/attribute/construct.xml +++ b/language/predefined/attribute/construct.xml @@ -1,5 +1,5 @@ - + Attribute::__construct @@ -10,7 +10,7 @@ &reftitle.description; public Attribute::__construct - intflagsAttribute::TARGET_ALL + intflagsAttribute::TARGET_ALL Constrói uma nova instância da classe Attribute. diff --git a/reference/bc/bcmath.number.xml b/reference/bc/bcmath.number.xml index ac9fa4a58..84cd7ad76 100644 --- a/reference/bc/bcmath.number.xml +++ b/reference/bc/bcmath.number.xml @@ -1,5 +1,5 @@ - + A classe BcMath\Number @@ -34,38 +34,42 @@
&reftitle.classsynopsis; - - - final - readonly - BcMath\Number - + + BcMath - - implements - Stringable - + + + final + readonly + Number + - &Properties; - - public - string - value - - - public - int - scale - + + implements + Stringable + - &Methods; - - - - - - - + &Properties; + + public + string + value + + + public + int + scale + + + &Methods; + + + + + + + +
diff --git a/reference/fileinfo/functions/finfo-close.xml b/reference/fileinfo/functions/finfo-close.xml index eb7e576a9..e3833a5b9 100644 --- a/reference/fileinfo/functions/finfo-close.xml +++ b/reference/fileinfo/functions/finfo-close.xml @@ -1,5 +1,5 @@ - + @@ -18,7 +18,9 @@ - Esta função fecha uma instância aberta por finfo_open. + Esta função era usada para fechar uma instância aberta por finfo_open até o PHP 7.4, + mas é uma operação nula desde a conversão de recurso finfo para objeto feita no PHP 8.0, + e foi descontinuada no PHP 8.5. diff --git a/reference/ftp/functions/ftp-set-option.xml b/reference/ftp/functions/ftp-set-option.xml index 9dffe1840..225359c58 100644 --- a/reference/ftp/functions/ftp-set-option.xml +++ b/reference/ftp/functions/ftp-set-option.xml @@ -1,5 +1,5 @@ - + ftp_set_option @@ -24,7 +24,7 @@ ftp - &ftp.parameter.ftp; + &ftp.parameter.ftp; @@ -85,6 +85,15 @@ + + &reftitle.errors; + + Um ValueError é lançado se a option + não for suportada. Um TypeError é lançado se o + value passado não corresponder ao tipo esperado para a option fornecida. + + + &reftitle.changelog; diff --git a/reference/mysqli/mysqli/get-charset.xml b/reference/mysqli/mysqli/get-charset.xml index 890ad83d1..cc3b85424 100644 --- a/reference/mysqli/mysqli/get-charset.xml +++ b/reference/mysqli/mysqli/get-charset.xml @@ -1,5 +1,5 @@ - + mysqli::get_charset @@ -67,7 +67,7 @@ state - Status do conjunto de caracteres (?) + A partir do PHP 8.2.0, é sempre 1 @@ -83,6 +83,7 @@ real_connect("localhost","root","","test"); + $db->set_charset('latin1'); var_dump($db->get_charset()); ?> ]]> @@ -93,6 +94,7 @@ ]]> @@ -114,7 +116,7 @@ object(stdClass)#2 (7) { ["number"]=> int(8) ["state"]=> - int(801) + int(1) } ]]> diff --git a/reference/pcntl/functions/pcntl-exec.xml b/reference/pcntl/functions/pcntl-exec.xml index 92c5e818a..2bc4bc3ef 100644 --- a/reference/pcntl/functions/pcntl-exec.xml +++ b/reference/pcntl/functions/pcntl-exec.xml @@ -1,5 +1,5 @@ - + pcntl_exec @@ -9,7 +9,7 @@ &reftitle.description; - boolpcntl_exec + falsepcntl_exec stringpath arrayargs[] arrayenv_vars[]