Re: [PHP-DEV] First-class types RFC

2024-11-09 Thread Rob Landers
On Sat, Nov 9, 2024, at 09:39, Adam Kecskes wrote: > Hello internals, > > I propose adding first-class types to PHP, as this feature could greatly > enhance the language, especially given PHP's unique runtime type-checking > system. Many libraries currently rely on class strings as function > p

[PHP-DEV] First-class types RFC

2024-11-09 Thread Adam Kecskes
Hello internals, I propose adding first-class types to PHP, as this feature could greatly enhance the language, especially given PHP's unique runtime type-checking system. Many libraries currently rely on class strings as function parameters, which could be made significantly safer with native

[PHP-DEV] Deprecate building ext/ldap against Oracle LDAP

2024-11-09 Thread Christoph M. Becker
Hi all, there has been some discussion about this in a GH issue[1]. TL;DR: building ext/ldap against Oracle LDAP had been supported, and is theoretically still supported, but is apparently broken for a while. The Oracle LDAP implementation is part of Oracle Instant Client, and uses an older LDAP

Re: [PHP-DEV] First-class types RFC

2024-11-09 Thread Rowan Tommins [IMSoP]
On 9 November 2024 08:39:57 GMT, Adam Kecskes wrote: >I propose adding first-class types to PHP, as this feature could greatly >enhance the language, especially given PHP's unique runtime type-checking >system. Many libraries currently rely on class strings as function parameters, >which cou