Re: [PHP-DEV] Using PECL without installing PEAR

2019-11-15 Thread Matthieu Napoli
> Le 15 nov. 2019 à 16:03, Pierre Joye a écrit : > > On Fri, Nov 15, 2019, 3:41 PM Nikita Popov wrote: > On Wed, Nov 13, 2019 at 5:44 PM Matthieu Napoli wrote: > > > Hi all, > > > > Following a discussion with Nikita, I understood that [installing PEAR >

[PHP-DEV] Re: Using PECL without installing PEAR

2019-11-13 Thread Matthieu Napoli
> Le 13 nov. 2019 à 18:52, Christoph M. Becker a écrit : > > On 13.11.2019 at 18:38, Matthieu Napoli wrote: > >>> Le 13 nov. 2019 à 18:33, Christoph M. Becker a écrit : >>> >>> On 13.11.2019 at 17:43, Matthieu Napoli wrote: >>> >>&g

[PHP-DEV] Using PECL without installing PEAR

2019-11-13 Thread Matthieu Napoli
Hi all, Following a discussion with Nikita, I understood that [installing PEAR with PHP is deprecated](https://github.com/php/php-src/blob/PHP-7.4/UPGRADING#L98-L101 ). However, installing PEAR is necessary for PECL to work (it uses

[PHP-DEV] Re: RFC: Automatic Property Initialization

2013-09-27 Thread Matthieu Napoli
Le 27/09/2013 09:17, Gordon Oheim a écrit : Independent but related to - https://wiki.php.net/rfc/constructor-promotion I wrote an RFC about porting Dart-like Automatic Property Initialization to PHP. Nikic was so generous to provide an initial PoC for it (since I don't do C): - https://wiki.

Re: [PHP-DEV] RFC: Anonymous Classes

2013-09-23 Thread Matthieu Napoli
Le 23/09/2013 10:39, Rasmus Lerdorf a écrit : On 09/22/2013 11:39 PM, Joe Watkins wrote: https://wiki.php.net/rfc/anonymous_classes I'd like to hear thoughts regarding the addition of anonymous classes, patch included. I am having a hard time picturing a real-world use-case for this

Re: [PHP-DEV] Wake up

2013-09-12 Thread Matthieu Napoli
Le 12/09/2013 07:40, Daniel Brown a écrit : On Thu, Sep 12, 2013 at 12:10 AM, Seva Lapsha wrote: PHP is a collective mind. Any dictatorship would mean a degradation for it. If you don't like how it's managed, there is an easy path: 1. Earn authority. 2. Propose a change. 3. Implement it. 4. Ma

Re: [PHP-DEV] Forum software

2013-09-11 Thread Matthieu Napoli
Le 11/09/2013 17:15, Hartmut Holzgraefe a écrit : My greatest concern personally would be the lack of an offline option. Not that I do matter in current affairs anymore at all, but back in the days a lot of the work I've done on PHP code, documentation and mailing lists and newsgroups (yes, we h

Re: [PHP-DEV] Wake up

2013-09-11 Thread Matthieu Napoli
Le 11/09/2013 16:06, Arvids Godjuks a écrit : 2013/9/11 Lester Caine Arvids Godjuks wrote: P.S. While I was writing this, 4 people posted. Only Patrick Schaaf posted usefull information. If this would be a forum - those 3 posts should be marked as off topic and hidden by default. But who

[PHP-DEV] array_unique() and object comparison

2013-08-13 Thread Matthieu Napoli
array_unique() is perfect for removing duplicates in a string array, but not so great for an array of objects. SORT_REGULAR was added to compare items without casting them to string. However it uses the "==" comparison operator. I see two improvements: - on a short term, improve the document

Re: [PHP-DEV] RFC: constructor argument promotion

2013-08-08 Thread Matthieu Napoli
Le 08/08/2013 13:11, Martin Keckeis a écrit : Am 08.08.2013 12:34 schrieb "Jordi Boggiano" : On 08.08.2013 10:34, Leigh wrote: I'm not sure what problem this is really trying to solve, the boilerplate code you mention is very explicit and it is very clear to the reader what is being done.

Re: [PHP-DEV] property de-referencing

2013-05-07 Thread Matthieu Napoli
I am really surprised that there is so few people interested in such a feature. IMO, it's an amazing idea, not just for forms, and not just for properties. Here is a quick list of use cases where one would use "meta" on its code: - Forms generation (examples have already been given) - ORM mapp