rfc:reclassify_e_strict
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:reclassify_e_strict [2015/02/22 22:04] – nikic | rfc:reclassify_e_strict [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
* Date: 2015-02-22 | * Date: 2015-02-22 | ||
* Author: Nikita Popov < | * Author: Nikita Popov < | ||
- | * Status: | + | * Status: |
===== Introduction ===== | ===== Introduction ===== | ||
Line 49: | Line 49: | ||
==== " | ==== " | ||
+ | |||
+ | **Update**: This notice is already removed by [[https:// | ||
<code php> | <code php> | ||
Line 61: | Line 63: | ||
Proposed resolution: Remove notice. | Proposed resolution: Remove notice. | ||
- | Reason: If a PHP 5 constructor exists, the PHP 4 constructor will be a normal method, as such the notice is somewhat bogus. It is also order dependent, i.e. it will not be thrown if the order of '' | + | Reason: If a PHP 5 constructor exists, the PHP 4 constructor will be a normal method, as such the notice is somewhat bogus. It is also order dependent, i.e. it will not be thrown if the order of '' |
==== Signature mismatch during inheritance ==== | ==== Signature mismatch during inheritance ==== | ||
Line 79: | Line 81: | ||
Reason: If the same signature mismatch occurs when implementing an interface or an abstract function a fatal error is thrown instead of a strict standards notice. A signature mismatch is a significant issue, which will likely prevent the use of the child object in place of the parent object. | Reason: If the same signature mismatch occurs when implementing an interface or an abstract function a fatal error is thrown instead of a strict standards notice. A signature mismatch is a significant issue, which will likely prevent the use of the child object in place of the parent object. | ||
- | |||
- | Possible alternative: | ||
==== Same (compatible) property in two used traits ==== | ==== Same (compatible) property in two used traits ==== | ||
Line 118: | Line 118: | ||
Proposed resolution: Convert to '' | Proposed resolution: Convert to '' | ||
- | Reason: | + | Reason: |
==== Only variables should be assigned by reference ==== | ==== Only variables should be assigned by reference ==== | ||
Line 168: | Line 168: | ||
===== Vote ===== | ===== Vote ===== | ||
- | Requires a 2/3 majority, as it is a language change. | + | Requires a 2/3 majority, as it is a language change. |
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
===== Patch ===== | ===== Patch ===== | ||
- | TBD | + | https:// |
rfc/reclassify_e_strict.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1