Re: [PHP-DEV] Re: Voting choice for language changes (Was: "Re: [PHP-DEV][RFC][DISCUSSION] Strict Argument Count")

2015-07-25 Thread David Muir
> On 24 Jul 2015, at 2:33 am, "S.A.N" wrote: > > 2015-07-23 18:10 GMT+03:00 Marcio Almada : >> Hi, you replied to the wrong thread ;) >> >> 2015-07-22 19:38 GMT-03:00 S.A.N : >>> I am satisfied, the possibility of group declarations, but the that lack: >>> >>> >> >>> use App\RestException\

Re: [PHP-DEV] Core functions throwing exceptions in PHP7

2015-07-25 Thread Larry Garfield
On 07/24/2015 06:58 PM, Stanislav Malyshev wrote: Hi! On the surface, this sounds like a good thing. Although, I question that if a user is not checking $result === false, then will they end up just wrapping this in an empty try/catch so their code does not fail? There is a mechanism to detect

[PHP-DEV] Re: json_decode/encode should return full precision values by default

2015-07-25 Thread Yasuo Ohgaki
Hi all, Created bug report for this issue. https://bugs.php.net/bug.php?id=70137 -- Yasuo Ohgaki yohg...@ohgaki.net On Sun, Jul 26, 2015 at 7:01 AM, Yasuo Ohgaki wrote: > Hi all, > > I had to work with Google Map API and need to handle values precisely. > Fortunately, it seems values are IEEE

[PHP-DEV] json_decode/encode should return full precision values by default

2015-07-25 Thread Yasuo Ohgaki
Hi all, I had to work with Google Map API and need to handle values precisely. Fortunately, it seems values are IEEE double, but I get rounded float values by default. For example, object(stdClass)#5 (2) { ["results"]=> array(2) { [0]=> object(stdClass)#1 (3) { ["elevation"]=>

Re: [PHP-DEV] RFE to allow dirname($foo, 2)

2015-07-25 Thread Dennis Birkholz
Hi, Am 25.07.2015 um 19:42 schrieb Scott Arciszewski: > On Sat, Jul 25, 2015 at 10:11 AM, Dennis Birkholz wrote: >> Hi, >> >> Am 23.07.2015 um 11:54 schrieb Josh Di Fabio: >>> Now, most often, dirname(... dirname(__DIR__) ...) is used in application >>> entry >>> points during the bootstrapping

Re: [PHP-DEV] RFE to allow dirname($foo, 2)

2015-07-25 Thread Scott Arciszewski
On Sat, Jul 25, 2015 at 10:11 AM, Dennis Birkholz wrote: > Hi, > > Am 23.07.2015 um 11:54 schrieb Josh Di Fabio: >> Now, most often, dirname(... dirname(__DIR__) ...) is used in application >> entry >> points during the bootstrapping process. In my experience, it's most commonly >> used in order

Re: [PHP-DEV] PCRE JIT stack size limit

2015-07-25 Thread Christoph Becker
Hi Anatol, Anatol Belski wrote: >> -Original Message- >> From: Christoph Becker [mailto:cmbecke...@gmx.de] >> Sent: Saturday, July 25, 2015 2:25 AM >> To: Anatol Belski ; 'Pierre Joye' >> >> Cc: 'PHP internals' >> Subject: Re: [PHP-DEV] PCRE JIT stack size limit >> >> I would not sugges

RE: [PHP-DEV] PCRE JIT stack size limit

2015-07-25 Thread Anatol Belski
Hi Christoph, > -Original Message- > From: Christoph Becker [mailto:cmbecke...@gmx.de] > Sent: Saturday, July 25, 2015 2:25 AM > To: Anatol Belski ; 'Pierre Joye' > > Cc: 'PHP internals' > Subject: Re: [PHP-DEV] PCRE JIT stack size limit > > Hi Anatol, > > Anatol Belski wrote: > > > H

Re: [PHP-DEV] Make debug_zval_dump prints int as long

2015-07-25 Thread Rowan Collins
On 25/07/2015 12:49, Christoph Becker wrote: I agree that the manual page needs an update, but it seems that would result in an even more lengthy explanation of the caveats due to the different behavior under PHP 5 and PHP 7, respectively. Well, the current manual page is invalid for any versio

Re: [PHP-DEV] RFE to allow dirname($foo, 2)

2015-07-25 Thread Dennis Birkholz
Hi, Am 23.07.2015 um 11:54 schrieb Josh Di Fabio: > Now, most often, dirname(... dirname(__DIR__) ...) is used in application > entry > points during the bootstrapping process. In my experience, it's most commonly > used in order to include an autoloader or some bootstrap file which itself is > r

Re: [PHP-DEV] Make debug_zval_dump prints int as long

2015-07-25 Thread Christoph Becker
Rowan Collins wrote: > On 24/07/2015 09:21, Xinchen Hui wrote: >> >> I made a small PR about changes output of some types name in >> debug_zval_dump, to make it behavior consistently with var_dump. >> https://github.com/php/php-src/pull/1434 > > That function desperately needs an updated man