On 20/09/2022 19:29, Olle Härstedt wrote:
Ya ok, this kills my idea. If heredoc was designed from start so that
the delimiter would not be allowed at all in the text, then it would
make sense. Weird that they did it like that, would be easy enough to
come up with a unique delimiter so that it wou
Hi Nicolas
On 9/20/22 19:40, Nicolas Grekas wrote:
I'm a bit busy with conferences these days...
Understood. Enjoy!
Are those two examples based on real-world use cases or did you craft
them specifically to point out how the proposal would introduce a
behavioral change?
They were inspired
2022-09-20 17:00 GMT+02:00, Sara Golemon :
> On 19 September 2022 15:24:26 BST, "Olle Härstedt" <
> olle.haerst...@limesurvey.org> wrote:
>>Some editors can guess the domain-specific language inside heredoc, e.g.
> if you do
>>
>>$query = <<>SELECT * FROM foo
>>MySQL;
>>
>>It would be nice if this
2022-09-20 11:54 GMT+02:00, Rowan Tommins :
> On 19/09/2022 20:10, Olle Härstedt wrote:
>> More for users to learn? Don't you mean less, haha? This is an
>> arbitrary limitation of heredoc, that we can remove (it might not be
>> arbitrary from a yacc perspective, someone would have to explain that
On Sun, Sep 11, 2022 at 8:22 AM Larry Garfield
wrote:
>
>
> Hm. I seem to recall during the discussion of readonly classes someone
> saying that object properties of a readonly class had to also be readonly
> classes, which would render the above code a compile error. However, I
> just checked
Hi Tim,
I'm a bit busy with conferences these days...
On 9/12/22 21:46, Nicolas Grekas wrote:>> unserialize() is a generic
> function that will also call arbitrary
> >> callbacks. You already have no guarantees whatsoever about the kind of
> >> exception that is thrown from it. I am unable to thi
Hi
On 9/20/22 00:15, juan carlos morales wrote:
The RFC still contains a non-empty "Open Issues" section. This needs to
be resolved before the vote starts.
I would also recommend inserting a closed voting widget (or multiple, if
you want to have additional votes for the details), so that it's c
On 19 September 2022 15:24:26 BST, "Olle Härstedt" <
olle.haerst...@limesurvey.org> wrote:
>Some editors can guess the domain-specific language inside heredoc, e.g.
if you do
>
>$query = <
On 19/09/2022 20:10, Olle Härstedt wrote:
More for users to learn? Don't you mean less, haha? This is an
arbitrary limitation of heredoc, that we can remove (it might not be
arbitrary from a yacc perspective, someone would have to explain that
if so).
I don't think the rules for heredoc are ar
Hi Nicolas, Larry,
Mate, WDYT?
>
When I was working on the readonly class RFC, I realized that the readonly
keyword very naturally fits services besides value objects. So my
expectation has been that until we can fix the issue with cloning, people
would mainly apply readonly to services. Not that