# alpha1 status update

- Thread: https://externals.io/message/39483
- Original archive: https://news-web.php.net/php.internals/39483
- Started by Lukas Kahwe Smith on 2008-07-30T20:03:50+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #39483 — Lukas Kahwe Smith — 2008-07-30T20:03:50+00:00

URL: https://externals.io/message/39483#39483

Hi,

I assume the following items are done by now:
- LSB parent::/self:: forwarding (Etienne/Dmitry)
- string optmization patches (Matt/Scott)

I assume everything will be ready on the windows side of things as  
well. If not shout ASAP.

I am still expecting to see the following commits:
- openssl/openldap patches (Pierre)
- array_replace(_recursive) (Johannes)
- revert ming changes so things compile with 0.3 again (Johannes)
- remove __toString() from closures (Johannes/Dmitry)

Zend Signal Handling is now moved to alpha2, along with any further  
string optimizations, zend_parse_parameters and arg info tweaks.

Just so that everybody knows. Johannes will handling the actual  
packaging and releasing. I will probably add a summary of the  
additions/changes. Not sure yet where this will go, maybe on  
qa.php.net .. or maybe on the php.net frontpage (though in that case  
alpha1 would be the only 5.3.0 release mentioned on php.net before  
5.3.0 stable).

regards,
Lukas Kahwe Smith
smith@pooteeweet.org

---

## #39487 — Dmitry Stogov — 2008-07-30T20:57:06+00:00

URL: https://externals.io/message/39483#39487 · In reply to: #39483

> - remove __toString() from closures (Johannes/Dmitry)

What is wrong here?
What behavior do you prefer?
I just missed the discussion.

Thanks. Dmitry.

---

## #39489 — Lukas Kahwe Smith — 2008-07-30T21:04:45+00:00

URL: https://externals.io/message/39483#39489 · In reply to: #39487

> > […]
>
> What is wrong here?
> What behavior do you prefer?
> I just missed the discussion.

This was in the thread "closures questions" and later there were some  
votes by Stas and Marcus in favor of its removal in the "towards 5.3  
alpha1" thread.

Here is a comment by Christian about the topic:

> > […]
>
> There is one case which *may* cause problems:
>
> function doSomething ($callback) {
>  if (!is_callable ($callback)) {
>    throw new Exception (...);
>  }
>
>  // special treatment
>  if ($callback == 'default') {
>    ...
>  } else {
>    ...
>  }
> }
>
> Here, the comparison of $callback with 'default' will yield a notice
> that $callback couldn't be converted. The comparison will fail
> correctly, of course, but it could cause some confusion. The correct
> way of comparing would obviously be using ===, that won't cause these
> hickups.


regards,
Lukas Kahwe Smith
smith@pooteeweet.org
