Conversation
|
You can just merge the patches I wrote and linked in the RFC as apart of this PR |
|
@nikic: Hi, are you still open to proposals to include in the RFC?
|
|
@Majkl578 We can't add anything to this RFC anymore due to timing constraints, but please add your ideas to the next RFC (https://wiki.php.net/rfc/deprecations_php_7_4) so they will not be forgotten. |
|
Alright. 👍 Is it okay if I edit the RFC directly myself, adding paragraphs for each of those? Should I note myself there (as the one who proposed them)? |
|
@Majkl578 Yeah, feel free to edit directly. |
|
Thanks, updated. (For I didn't include |
|
@Majkl578 You can use |
|
@Majkl578 Not really the place to discuss this, but you can still deprecate Also my 2c, I don't think it makes sense to deprecate |
|
I agree with @nikic here, I think CLASS should remain for consistency, some doubles are fine imo. |
|
@nikic since we opted to add the new ADD_SLASHES filter for ext/filter the deprecation should be reverted and the patch for pdo_odbc.db2_instance_name should be added and we're good (looking at the current vote) |
|
@nikic Is this basically good to merge (with the omission of the magic_quotes filter deprecation)? Also the ext/standard/tests/file/fgetss_basic2-win32-mb.phpt | 2 ++
ext/standard/tests/file/fgetss_basic2-win32.phpt | 2 ++
ext/standard/tests/file/fgetss_variation1-win32.phpt | 2 ++
ext/standard/tests/file/fgetss_variation3-win32.phpt | 2 ++
ext/standard/tests/file/fgetss_variation5-win32.phpt | 2 ++
5 files changed, 10 insertions(+)
diff --git a/ext/standard/tests/file/fgetss_basic2-win32-mb.phpt b/ext/standard/tests/file/fgetss_basic2-win32-mb.phpt
index 783e6c3edd..c875024718 100644
--- a/ext/standard/tests/file/fgetss_basic2-win32-mb.phpt
+++ b/ext/standard/tests/file/fgetss_basic2-win32-mb.phpt
@@ -8,6 +8,8 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
?>
--FILE--
<?php
+error_reporting(E_ALL & ~E_DEPRECATED);
+
/*
Prototype: string fgetss ( resource $handle [, int $length [, string $allowable_tags]] );
Description: Gets line from file pointer and strip HTML tags
diff --git a/ext/standard/tests/file/fgetss_basic2-win32.phpt b/ext/standard/tests/file/fgetss_basic2-win32.phpt
index 1fac3afb15..c7f3aa4c06 100644
--- a/ext/standard/tests/file/fgetss_basic2-win32.phpt
+++ b/ext/standard/tests/file/fgetss_basic2-win32.phpt
@@ -8,6 +8,8 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
?>
--FILE--
<?php
+error_reporting(E_ALL & ~E_DEPRECATED);
+
/*
Prototype: string fgetss ( resource $handle [, int $length [, string $allowable_tags]] );
Description: Gets line from file pointer and strip HTML tags
diff --git a/ext/standard/tests/file/fgetss_variation1-win32.phpt b/ext/standard/tests/file/fgetss_variation1-win32.phpt
index 7cd49333bf..688f5e624a 100644
--- a/ext/standard/tests/file/fgetss_variation1-win32.phpt
+++ b/ext/standard/tests/file/fgetss_variation1-win32.phpt
@@ -8,6 +8,8 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
?>
--FILE--
<?php
+error_reporting(E_ALL & ~E_DEPRECATED);
+
/*
Prototype: string fgetss ( resource $handle [, int $length [, string $allowable_tags]] );
Description: Gets line from file pointer and strip HTML tags
diff --git a/ext/standard/tests/file/fgetss_variation3-win32.phpt b/ext/standard/tests/file/fgetss_variation3-win32.phpt
index fc7561dff5..19699b2fb3 100644
--- a/ext/standard/tests/file/fgetss_variation3-win32.phpt
+++ b/ext/standard/tests/file/fgetss_variation3-win32.phpt
@@ -8,6 +8,8 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
?>
--FILE--
<?php
+error_reporting(E_ALL & ~E_DEPRECATED);
+
/*
Prototype: string fgetss ( resource $handle [, int $length [, string $allowable_tags]] );
Description: Gets line from file pointer and strip HTML tags
diff --git a/ext/standard/tests/file/fgetss_variation5-win32.phpt b/ext/standard/tests/file/fgetss_variation5-win32.phpt
index a2d4a705e8..211c158ae2 100644
--- a/ext/standard/tests/file/fgetss_variation5-win32.phpt
+++ b/ext/standard/tests/file/fgetss_variation5-win32.phpt
@@ -8,6 +8,8 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
?>
--FILE--
<?php
+error_reporting(E_ALL & ~E_DEPRECATED);
+
/*
Prototype: string fgetss ( resource $handle [, int $length [, string $allowable_tags]] );
Description: Gets line from file pointer and strip HTML tags |
SplFileObject::fgetss() will also generate a deprecation notice through an internal call to fgetss(). Part of RFC https://wiki.php.net/rfc/deprecations_php_7_3.
Implementation for https://wiki.php.net/rfc/deprecations_php_7_3 (apart from the ones linked there).