rfc:match_expression
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:match_expression [2020/04/24 20:29] – Typo ilijatovilo | rfc:match_expression [2020/04/25 09:55] – Describe gotcha in (true) ilijatovilo | ||
---|---|---|---|
Line 261: | Line 261: | ||
</ | </ | ||
- | This introduces an ambiguity with the '' | + | This introduces an ambiguity with the '' |
<code php> | <code php> | ||
Line 323: | Line 323: | ||
</ | </ | ||
- | The keyword '' | + | The keyword '' |
+ | |||
+ | <code php> | ||
+ | match { | ||
+ | preg_match(...) => {}, // preg_match returns 1 which is NOT identical (===) to true | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Because I have no strong opinion on this it will be moved to a secondary vote. | ||
===== Miscellaneous ===== | ===== Miscellaneous ===== | ||
Line 544: | Line 552: | ||
==== If you voted no, why? ==== | ==== If you voted no, why? ==== | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
+ | - Other | ||
<doodle title=" | <doodle title=" | ||
Line 560: | Line 569: | ||
* 6 | * 6 | ||
* 7 | * 7 | ||
+ | * 8 | ||
</ | </ | ||
rfc/match_expression.txt · Last modified: 2020/05/09 15:59 by ilijatovilo