theodorejb
- Messages
- 178
- Threads started
- 18
- RFCs authored
- 4
- Official votes
- 0
On the mailing list
-
RFC · Discussion Started[RFC] Deprecate lossy conversions to and from bool “Hi Rowan, Thank you for your thoughtful feedback. I added a sentence to the Proposal clarifying that the deprecation will be promoted to a TypeError in the next major version, consistent with the existing deprecation of…”
2 messages of 6 · last
-
[RFC] Strict Namespace Resolution
“Hi Paul, Thank you for working on this RFC! It's essentially the same as my declare(root_fallback=0) idea from 2019. 1 I think the global_fallback=0 alternative from Tim indicates the resulting behavior most clearly, but…”
1 message of 21 · last
-
[RFC] Deprecations for PHP 8.6
“Per the PHP documentation for CURLOPT_PROGRESSFUNCTION 1: The cURL page for this option also states that it is deprecated since 7.32.0. 2 It probably would be good to update the RFC to clarify this. Sincerely, Theodore”
1 message of 99 · last
-
[Vote] Add Form Feed in Trim Functions
“Hi Weilin, Thank you for your work on this RFC. I would also prefer that this change target PHP 8.6. The BC break is extremely minor, more along the lines of a bugfix that makes the trim functions work as expected. If ev…”
1 message of 6 · last
-
[RFC] Partial Function Application for instance of non-static methods ("$this")
“Hi Tim and Arnaud, Thank you for your work on this. However, I'm struggling to see the benefit of this syntax over short closures given the examples in the RFC: This saves only three characters compared to a short closur…”
1 message of 23 · last
-
Inconsistency in PHP 8.5 deprecation of terminating case with semicolon
“Hi Juliette, Thank you for pointing out the discrepancy. You are correct that default is just a special case statement, and the intention in the RFC was to output the deprecation message for default cases as well (the ex…”
1 message of 3 · last
-
[RFC] [VOTE] Deprecations for PHP 8.5
“Update: it looks like nearly all the Symfony usages have already been fixed for Symfony 8. I re-downloaded and analyzed the top 1500 packages again this afternoon, and now there are a total of 159 __sleep methods and 207…”
2 messages of 17 · last
-
[RFC] Deprecations for PHP 8.5
“Hi Juliette, You are welcome. It takes time to download top packages and write analysis scripts, which is probably why it hasn't been done for more of the deprecation proposals. I agree that it's generally nice to have i…”
7 messages of 73 · last
-
[RFC] Deprecate type juggling to and from bool type within the function type juggling context
“From my experience there is a very real benefit to deprecating both cast-from-bool and cast-to-bool. Let me give an example of both. Recently had to fix some legacy code where the result of filemtime was being passed to…”
3 messages of 26 · last
-
[RFC] Clone with v2
“Thank you Volker and Tim for your work on this RFC. It will be a great quality- of-life improvement for the language, and I look forward to voting in favor. Theodore”
3 messages of 52 · last
-
[Vote] Pipe operator
“I think it's fine to fix typos, misspellings, and grammar mistakes which don't affect what's being voted on. While you're at it, please also fix the match() example, which should not contain case keywords. Theodore”
1 message of 9 · last
-
StartedDeprecate alternate switch case syntax? “Hi Tim, I have now added an item to the general deprecations RFC for PHP 8.5 to deprecate terminating case statements with a semicolon. Kind regards, Theodore Brown”
5 messages of 14 · last
-
[RFC] [VOTE] Transform exit() from a language construct into a standard function
“Hi Derick, I'm confused by this, since earlier in the thread Tim responded with examples showing how the behavior of exit() can still be observed and correctly handled. If that didn't address your issue, can you explain…”
2 messages of 37 · last
-
[Vote] Asymmetric visibility v2
“Hi Larry and Ilija, Thank you for all your work on this RFC! One part that doesn't make sense to me is this sentence near the end in the "Readonly is incompatible with inheritance" section: protected protected(set) just…”
1 message of 9 · last
-
[VOTE] Increasing the default BCrypt cost
“Hi Tim, Thanks for your work on this. I think bumping the default BCrypt cost from 10 to 11 is reasonable, as this typically adds less than 100 milliseconds additional latency, which shouldn't be too noticeable for users…”
1 message of 20 · last
-
[RFC] [Vote] Deprecate functions with overloaded signatures
“I must have been really tired when I wrote the above paragraph, because I forgot that the filter_value parameter matches against the value, not the key (so the Object Keys in Arrays RFC has nothing to do with it). But th…”
3 messages of 10 · last
-
[Vote] More Appropriate Date/Time Exceptions
“Thank you for the clarification. I know that the functions date_create and date_create_immutable have this difference in behavior from the DateTime and DateTimeImmutable constructors, and this is documented in the PHP ma…”
2 messages of 7 · last
-
[RFC][Under discussion] Arbitrary string interpolation
“Concatenation works fine for a simple example like this, but it can get a lot messier when there are more than a few embedded variables. It's particularly an issue with heredoc strings which are far more cumbersome to co…”
2 messages of 22 · last
-
[RFC] Nullable intersection types
“Hi Nicolas, Thanks for your work on this. The RFC states: I also strongly believe this would be a mistake. When union types were introduced, it was explicitly decided not to use the ?(T1|T2) syntax, for the following rea…”
1 message of 48 · last
-
[VOTE] noreturn type
“Hi Matt, I'm confused by this. If Ondrej strongly prefers never, why does the RFC say "we believe noreturn is the best name for this type"? It might be better to just remove this sentence, or else list your separate pref…”
2 messages of 30 · last