Re: [PHP-DEV] Improved zend_string API

2015-07-02 Thread Bob Weinand
> Am 01.07.2015 um 18:32 schrieb François Laupretre : > >> De : Bob Weinand [mailto:bobw...@hotmail.com] >> >> Interesting idea (from the concept). I even could get on board with this; I'm >> just not that sure about the performance impact. (alignment of refcount to >> base address etc.) > >

Re: [PHP-DEV] date extension / Type Hinting

2015-07-02 Thread Christoph Becker
Anatol Belski wrote: >> -Original Message- >> From: Philip Hofstetter [mailto:phofstet...@sensational.ch] >> Sent: Thursday, July 2, 2015 6:00 PM >> To: Anatol Belski; PHP internals >> Subject: Re: [PHP-DEV] date extension / Type Hinting >> >> yeah. I also understood Nikita's response. I g

Re: [PHP-DEV] [RFC] UString

2015-07-02 Thread Sara Golemon
On Thu, Jul 2, 2015 at 6:43 AM, "Ivan Enderlin"@Hoa wrote: > Just a small detail. Please, choose another name. The `Hoa\String` > https://packagist.org/packages/hoa/string library has been renamed to > `Hoa\Ustring` because of PHP7. So, please, don't force us to rename the > library again ;-). > A

RE: [PHP-DEV] date extension / Type Hinting

2015-07-02 Thread Anatol Belski
Hi Philip, > -Original Message- > From: Philip Hofstetter [mailto:phofstet...@sensational.ch] > Sent: Thursday, July 2, 2015 6:00 PM > To: Anatol Belski; PHP internals > Subject: Re: [PHP-DEV] date extension / Type Hinting > > Hi, > > > On Thu, Jul 2, 2015 at 4:52 PM Anatol Belski wrot

Re: [PHP-DEV] date extension / Type Hinting

2015-07-02 Thread Philip Hofstetter
Hi, On Thu, Jul 2, 2015 at 4:52 PM Anatol Belski wrote: > please read this thread for more info > https://github.com/php/php-src/commit/8e19705a93d785cd1ff8ba3a69699b00169fea47 > . > yeah. I also understood Nikita's response. I guess you can close the two bugs for now as this really isn't fix

RE: [PHP-DEV] date extension / Type Hinting

2015-07-02 Thread Anatol Belski
Hi Philip, > -Original Message- > From: Philip Hofstetter [mailto:phofstet...@sensational.ch] > Sent: Thursday, July 2, 2015 3:35 PM > To: PHP internals > Subject: [PHP-DEV] date extension / Type Hinting > > Hi, > > as this probably requires some discussion, I'm coming here to ask. > >

Re: [PHP-DEV] date extension / Type Hinting

2015-07-02 Thread Nikita Popov
On Thu, Jul 2, 2015 at 3:34 PM, Philip Hofstetter < phofstet...@sensational.ch> wrote: > Hi, > > as this probably requires some discussion, I'm coming here to ask. > > I'm talking about bug 69977 and 61483: Both are about the fact that it's > currently not possible to properly type-hint descendant

Re: [PHP-DEV] [RFC] UString

2015-07-02 Thread Kalle Sommer Nielsen
Hi Ivan 2015-07-02 15:48 GMT+02:00 "Ivan Enderlin"@Hoa : > I fear it will be a reserved keyword. Internally defined classes, such as UConverter or stdClass are not reserved keywords, they are not an actual part of the language but a part of the library. Code like the one below is perfectly valid,

Re: [PHP-DEV] [RFC] UString

2015-07-02 Thread "Ivan Enderlin"@Hoa
I fear it will be a reserved keyword. On 02/07/15 15:46, Andreas Heigl wrote: Hi. Am 02.07.15 um 15:43 schrieb "Ivan Enderlin"@Hoa: Hello :-), Just a small detail. Please, choose another name. The `Hoa\String` https://packagist.org/packages/hoa/string library has been renamed to `Hoa\Ustring`

Re: [PHP-DEV] [RFC] UString

2015-07-02 Thread Andreas Heigl
Hi. Am 02.07.15 um 15:43 schrieb "Ivan Enderlin"@Hoa: > Hello :-), > > Just a small detail. Please, choose another name. The `Hoa\String` > https://packagist.org/packages/hoa/string library has been renamed to > `Hoa\Ustring` because of PHP7. So, please, don't force us to rename the > library aga

Re: [PHP-DEV] [RFC] UString

2015-07-02 Thread "Ivan Enderlin"@Hoa
Hello :-), Just a small detail. Please, choose another name. The `Hoa\String` https://packagist.org/packages/hoa/string library has been renamed to `Hoa\Ustring` because of PHP7. So, please, don't force us to rename the library again ;-). Moreover, this library provides an API that is useful

[PHP-DEV] date extension / Type Hinting

2015-07-02 Thread Philip Hofstetter
Hi, as this probably requires some discussion, I'm coming here to ask. I'm talking about bug 69977 and 61483: Both are about the fact that it's currently not possible to properly type-hint descendant classes of DateTime and friends. The reason is the missing use ZEND_ARG_OBJ_INFO, so right now,

RE: [PHP-DEV] Re: Fixes for #69900 and #69963

2015-07-02 Thread Anatol Belski
Hi Christoph, > -Original Message- > From: Christoph Becker [mailto:cmbecke...@gmx.de] > Sent: Thursday, July 2, 2015 1:32 AM > To: Anatol Belski; 'PHP Internals' > Cc: 'Pierre Joye'; 'Kalle Sommer Nielsen'; 'Dmitry Stogov'; 'Xinchen Hui'; > 'Nikita > Popov' > Subject: Re: [PHP-DEV] Re: F

Re: [PHP-DEV] Fix division by zero to throw exception (round 2)

2015-07-02 Thread Jakub Kubíček
+1 for everything proposed here :-) Kubo2 2015-07-02 9:59 GMT+02:00 Dmitry Stogov : > On Thu, Jul 2, 2015 at 3:26 AM, Bob Weinand wrote: > >> > Am 29.06.2015 um 19:14 schrieb Andrea Faulds : >> > >> > Hi again, >> > >> >> On 29 Jun 2015, at 18:02, Bob Weinand wrote: >> >> >> >> Yes, it genera

Re: [PHP-DEV] Fix division by zero to throw exception (round 2)

2015-07-02 Thread Dmitry Stogov
On Thu, Jul 2, 2015 at 3:26 AM, Bob Weinand wrote: > > Am 29.06.2015 um 19:14 schrieb Andrea Faulds : > > > > Hi again, > > > >> On 29 Jun 2015, at 18:02, Bob Weinand wrote: > >> > >> Yes, it generally makes sense... > >> Then I have other questions: > >> > >> - Why do we then still have a Warni