Re: [PHP-DEV] Is fgetss() useless?

2014-07-29 Thread Tjerk Meesters
Hi Maciej, On Mon, Jul 28, 2014 at 7:21 PM, Maciej Sobaczewski wrote: > Hello guys, > > so... fgetss(). We have such a beautiful function in PHP. As it's > described in the manual: "Get line from file pointer and strip HTML tags". > I'm wondering if it has any differences/advantages over using

Re: [PHP-DEV] Is fgetss() useless?

2014-07-29 Thread Maciej Sobaczewski
Hello Tjerk, thanks for the explanation. This is close to what I thought. So, if there is a difference, I see no point in proposing to remove it. You can consider this thread as closed ;) Have a nice day, Maciej. Hi Maciej, On Mon, Jul 28, 2014 at 7:21 PM, Maciej Sobaczewski wrote: Hel

Re: [PHP-DEV] Problems with the fix for the BC break introduced in 5.4.29 and 5.5.13

2014-07-29 Thread Stas Malyshev
Hi! > What I found *not safe*, throwing unwanted warnings hitting an > undesired behavior, or even segfaulting, and thus needing patch : > - Dom > - Mysqli > - sqlite3 (sqlite3stmt class segfaults) I've fixed all the instances of problematic behavior with no ctor that I could catch now. I could

Re: [PHP-DEV] Problems with the fix for the BC break introduced in 5.4.29 and 5.5.13

2014-07-29 Thread Julien Pauli
On Tue, Jul 29, 2014 at 9:48 AM, Stas Malyshev wrote: > Hi! > > > What I found *not safe*, throwing unwanted warnings hitting an > > undesired behavior, or even segfaulting, and thus needing patch : > > - Dom > > - Mysqli > > - sqlite3 (sqlite3stmt class segfaults) > > I've fixed all the instanc

Re: [PHP-DEV] Improving the "Getting involved" section on the php.net website

2014-07-29 Thread Simon Schick
Hi, Nikita That's right, but the link, Ferenc Kovacs provided, should be added to that list, and this list should be linked on the php.net website on the page "Getting involved" if you ask me. Bye, Simon On Fri, Jul 25, 2014 at 1:46 PM, Nikita Popov wrote: > On Fri, Jul 25, 2014 at 1:43 PM, S

[PHP-DEV] VCS Account Request: fredemmott

2014-07-29 Thread Fred Emmott
PHP language spec -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: fredemmott

2014-07-29 Thread PHP Group
VCS Account Approved: fredemmott approved by bjori \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [VOTE][RFC] Name of Next Release of PHP (again)

2014-07-29 Thread Andrea Faulds
On 23 Jul 2014, at 14:38, Andrea Faulds wrote: > My sincerest apologies about all the mess earlier and the delay. Both me and > Zeev are happy enough with the RFC, so the voting for this RFC has started > (again). It shall end on 2014-07-30 (next Wednesday, a week’s time) and it > won’t be ca

[PHP-DEV] [VOTE][RFC] intdiv()

2014-07-29 Thread Andrea Faulds
Good evening, The intdiv RFC is put to the vote, with separate votes for the integer division operator (%%) and intdiv function, the latter as a fallback. I would highly encourage you to read the discussion in the “[RFC] intdiv()” thread and the whole RFC before voting. The vote is here: https

[PHP-DEV] signed long hash index for PHP7?

2014-07-29 Thread Yasuo Ohgaki
Hi all, Current Zend hash uses ulong for numeric array indexes. This causes bug #67693 https://bugs.php.net/bug.php?id=67693 Signed/unsigned mismatch is the root cause of this bug. Since PHP's int is signed by default, it might be better to change Zend hash index to signed long. I would like to

Re: [PHP-DEV] signed long hash index for PHP7?

2014-07-29 Thread Andrea Faulds
On 30 Jul 2014, at 03:37, Yasuo Ohgaki wrote: > Current Zend hash uses ulong for numeric array indexes. > This causes bug #67693 > > https://bugs.php.net/bug.php?id=67693 > > Signed/unsigned mismatch is the root cause of this bug. > Since PHP's int is signed by default, it might be better > to

Re: [PHP-DEV] "PHP" namespace?

2014-07-29 Thread Yasuo Ohgaki
Hi Andrey, On Mon, Jul 28, 2014 at 4:42 PM, Andrey Andreev wrote: > This would be a major BC break, that couldn't possibly happen in PHP > 5.x and IMO is way too radical even for PHP 6/7. > It wouldn't be major BC, but minor. Most compatible way is to allow namespace alias to \ (root) and simp

Re: [PHP-DEV] "PHP" namespace?

2014-07-29 Thread Yasuo Ohgaki
Hi Ferenc, On Mon, Jul 28, 2014 at 5:22 PM, Ferenc Kovacs wrote: > namespaces has a bit clunky way of supporting constants: define always > assumes global ns(and the const syntax only allows scalar values so it > isn't always an option to use const). define() is problem because it's an excepti

Re: [PHP-DEV] signed long hash index for PHP7?

2014-07-29 Thread Tjerk Meesters
Hi, On Wed, Jul 30, 2014 at 10:37 AM, Yasuo Ohgaki wrote: > Hi all, > > Current Zend hash uses ulong for numeric array indexes. > This causes bug #67693 > > https://bugs.php.net/bug.php?id=67693 > > Signed/unsigned mismatch is the root cause of this bug. > Since PHP's int is signed by default,

Re: [PHP-DEV] signed long hash index for PHP7?

2014-07-29 Thread Andrea Faulds
> On July 30, 2014 at 6:01 AM Tjerk Meesters wrote: > > > Instead of doing that, why not simply disallow negative array indices to be > used as integers? > > In other words, negative indices are treated as if you had used strings so > that it doesn't upset the the last numeric index kept in t

Re: [PHP-DEV] signed long hash index for PHP7?

2014-07-29 Thread Tjerk Meesters
On 30 Jul, 2014, at 1:48 pm, Andrea Faulds wrote: > > >> On July 30, 2014 at 6:01 AM Tjerk Meesters wrote: >> >> >> Instead of doing that, why not simply disallow negative array indices to be >> used as integers? >> >> In other words, negative indices are treated as if you had used strings