From 44f1f2cfd6791b7eec92093ab7c939564722b810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Porto=20Mari=C3=B1o?= Date: Thu, 11 Dec 2025 15:10:03 +0100 Subject: [PATCH 1/3] DateTimeZone::listIdentifiers improvements --- .../datetime/datetimezone/listidentifiers.xml | 42 ++++++++++++------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/reference/datetime/datetimezone/listidentifiers.xml b/reference/datetime/datetimezone/listidentifiers.xml index 097406c4a..15ae139c2 100644 --- a/reference/datetime/datetimezone/listidentifiers.xml +++ b/reference/datetime/datetimezone/listidentifiers.xml @@ -1,7 +1,7 @@ - - + + DateTimeZone::listIdentifiers @@ -22,6 +22,18 @@ inttimezoneGroupDateTimeZone::ALL stringnullcountryCode&null; + + Devuelve la lista de identificadores de zona horaria de IANA. + + + + + Es posible detectar la zona horaria del cliente (navegador) con JavaScript usando + Intl.DateTimeFormat o + Temporal.ZonedDateTime. + + + @@ -100,25 +112,28 @@ &reftitle.examples; - Ejemplo con <methodname>DateTimeZone::listIdentifiers</methodname> + Lista de identificadores con comentarios de ubicación getLocation()['comments']; + echo $tzid . " (" . ($comments ?: 'Toda la región') . ")\n"; } -?> ]]> &example.outputs.similar; @@ -133,7 +148,6 @@ $timezone_identifiers = DateTimeZone::listIdentifiers( DateTimeZone::ASIA ); for ($i=0; $i < 5; $i++) { echo "$timezone_identifiers[$i]\n"; } -?> ]]> &example.outputs.similar; @@ -157,7 +171,6 @@ Asia/Aqtau ]]> &example.outputs.similar; @@ -204,7 +217,6 @@ $timezone_identifiers = DateTimeZone::listIdentifiers( DateTimeZone::PER_COUNTRY foreach( $timezone_identifiers as $identifier ) { echo "$identifier\n"; } -?> ]]> &example.outputs.similar; From b9ec0350f47f82441d3f327da2811e9c132390c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Porto=20Mari=C3=B1o?= Date: Thu, 11 Dec 2025 15:23:31 +0100 Subject: [PATCH 2/3] Document key_length param deprecation in openssl_pkey_derive --- .../openssl/functions/openssl-pkey-derive.xml | 32 ++++++++++++++++--- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/reference/openssl/functions/openssl-pkey-derive.xml b/reference/openssl/functions/openssl-pkey-derive.xml index 8e025921d..1f121d656 100644 --- a/reference/openssl/functions/openssl-pkey-derive.xml +++ b/reference/openssl/functions/openssl-pkey-derive.xml @@ -1,6 +1,6 @@ - - + + openssl_pkey_derive @@ -50,9 +50,9 @@ - Este parámetro no debe utilizarse, ya que no funciona como se espera. Nunca devuelve un secreto - más largo que el tamaño del primero. Si la longitud deseada es menor que el tamaño del - primero, solo trunca la longitud para claves ECDH pero falla para claves DH. + Este parámetro está obsoleto y no debe utilizarse, ya que no funciona como se espera. Nunca devuelve un secreto + más largo que el tamaño del primero Si la longitud deseada es menor que + el tamaño del primero, trunca la longitud solo para las claves ECDH, pero falla para las claves DH. @@ -67,6 +67,28 @@ + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.5.0 + + El parámetro key_length ahora está obsoleto. + + + + + + + &reftitle.examples; From 16b27f4f68fa1d43f8ed50440e1f4d1a0aff5294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Porto=20Mari=C3=B1o?= Date: Thu, 11 Dec 2025 15:26:47 +0100 Subject: [PATCH 3/3] XMLWriter: Change setIndent as it expects a boolean --- reference/xmlwriter/xmlwriter/setindent.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/xmlwriter/xmlwriter/setindent.xml b/reference/xmlwriter/xmlwriter/setindent.xml index 74969e47d..03ad0c673 100644 --- a/reference/xmlwriter/xmlwriter/setindent.xml +++ b/reference/xmlwriter/xmlwriter/setindent.xml @@ -1,6 +1,6 @@ - - + + XMLWriter::setIndent @@ -78,7 +78,7 @@ openMemory(); -$writer->setIndent(2); +$writer->setIndent(true); $writer->startDocument(); $writer->startElement('p'); $writer->text('before');