t; You are just saving seven keystrokes.
>
> main();
>
> Besides, PHP already has main function so what you are proposing would be
> confusing.
>
fennic, you don't get the concept of the `main` function. Nothing will be
printed before nor after. Only what is inside it as a rule nothing else is
executed outside that scope. You will end up with "headers already sent"
and so on with that proposition.
Kamil, you forgot to count the enter button for the new line... sheesh :)
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
, now the php engine would need
> to inspect the parameter attributes before deciding on generating a warning
> or not, idk how hard that would be.
>
> On Sat, Apr 5, 2025, 22:27 Iliya Miroslavov Iliev
> wrote:
>
>>
>>
>> On Sat, Apr 5, 2025 at 11:04 PM Rob Land
validation on forms. As I said earlier, a simple loose check with an
> empty string is usually all you need, not empty().
>
> Best Regards,
> Kayck Matias ☕
>
>
> — Rob
>
Just something that came into my mind. A "normal space" character is 32,
"non-breaking space" is 160 and a "zero width space" is 8203. These are all
characters so they are not blank and cannot be ignored
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
ue ?? '') == ''
>
> ... but these days, trim doesn't accept `null`, so that makes it a bit
> more wordy than it really should be. However, it is just a deprecation
> notice, so it is easy to ignore. For now.
>
> — Rob
>
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
t; >>
> >> Note that this does not support all possible Opcache optimizations
> >> _yet_, nor does it support the JIT yet.
> >> However, there are no real blockers to add support for that.
> >>
> >> I look forward to hearing you!
> >>
> >> Have a nice first day of the month ;)
> >> Kind regards
> >> Niels
> >
> >Naturally, the degree of closeness for strings or for floats should be
> controlled by an ini setting. Maximum flexibility!
> >
> >--Larry Garfield
>
> You got to be joking! Everybody knows ini settings make things unportable.
> I suggest we introduce AI to determine the closeness instead.
>
> cheers
> Derick
>
>
> We have to be careful not to tie ourselves to a specific AI model. But we
> can use ini settings to allow the user to specify which model to use.
>
> — Rob
>
Rob, I don't trust users. This must be hardcoded inside PHP and we can
build and support 100 different versions just to be sure no user makes
mistakes. No hassle here
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
On Tue, Apr 1, 2025 at 9:14 PM Rob Landers wrote:
> On Tue, Apr 1, 2025, at 15:06, Iliya Miroslavov Iliev wrote:
>
> Claude, in your example if `var_dump(false == true);` is `false` what is
> `true` in this world? It is `true` that `false` is not `true`.
>
> On Tue, Apr 1, 2025
whatever (?) equality (=) is right (->) here (!)
> operator, e.g.
>
> $value1 ?=->! $value2
>
> I leave the trivial implementation as exercise to the reader, while I'm
> porting the even more powerful rmmadwim TCL command[1], which,
> incidentially, also had been proposed on an April 1st.
>
> [1] <https://core.tcl-lang.org/tips/doc/trunk/tip/131.md>
>
> Christoph
>
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
about.
>
> As a bonus, with this amendment, the principle of explosion could be used
> to severely optimise the implementation.
>
> —Claude
>
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
are actually equal, close enough amirite?
>>
>>
> Hi Niels,
>
> When I was reading it, I felt a bit unsure, but numbers related, it was
> making sense.
> When you got to strings with `"This is a tpyo" ~= "This is a typo"`, I
> also remembered today it's 1st of April, so there's that...
>
> --
> Alex
>
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
r states and the call stack (as well as the state of the Zend
> engine).
>
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
w flag at least. (See also:
> readonly.) One thing should not do two things. Unless what you mean here
> is it creates a logical coroutine, within the current async scope.
>
> (I suspect this level of nitpickiness is where the confusion between us
> lies.)
>
> --Larry Garfield
>
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
([$task1, $task2], $cancellation);
> ```
>
> This approach is actually used in all other languages.
>
> My question is: Should cancellation have its own syntax, or should we
> follow the conventional approach?
>
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
cal research, it was originally designed to
> reuse `::` as namespace separator, but it was finally changed to something
> else due to ambiguity between static class elements and namespaced
> functions/constants. See https://wiki.php.net/rfc/namespaceissues and
> https://wiki.php.net/r
the word
'aside' because it is something that happens somewhere around me but I
didn't specified where
On Sun, Mar 16, 2025 at 9:54 PM Edmond Dantes wrote:
> > What is this?
>
> I mean structured concurrency:
> https://wiki.php.net/rfc/true_async#structured_concurrency
>
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
*spawn* is not the best choice?
>
Edmond, I vote with my two hands for "spawn".
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
we would prefer to use a verb.
>
> From a brevity standpoint, I like go, but after that, Go developers will
> have to implement the $ symbol for all variables :)
>
> ---
>
> Ed.
>
>>
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
to
> sacrifice a bit of backward compatibility for the sake of language elegance.
>
> After all, Fiber is unlikely to be used by ordinary programmers.
>
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
ppen, when in
> reality, a fiber throwing an exception (without anyone await()ing on the
> fiber handle, thus throwing out of the event loop) is not the end of the
> world, and can be handled by other means, without limiting concurrency.
>
> Regards,
> Daniil Gentili.
>
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
scheduler, just track a group of fibers.
>
> If we're building this into the language, we're not limited to expressing
> things with functions and objects, and a block syntax makes it trivial for
> the compiler to detect a mismatched start and end.
>
> Regards,
> Rowan Tommins
> [IMSoP]
>
--
Iliya Miroslavov Iliev
i.mirosla...@gmail.com
gt; for RabbitMQ required changing only 10-20 lines, and overall, it worked
> quickly without tests.
>
> The true strength of any language is not in its syntax. The main strength
> is its infrastructure.
> Even if a language is poor in terms of development quality, if it has a
&g
20 matches
Mail list logo