Re: [PHP-DEV] PHP7 / foreach / references / ugly code / discrepancy to PHP 5.6

2015-11-10 Thread Martin Amps
Here’s a 3v4l demonstrating this too: https://3v4l.org/OXAd3 > On Nov 10, 2015, at 8:48 AM, Philip Hofstetter > wrote: > > Hi, > > I'm having a cause of slightly ugly code that runs differently from PHP 5.6 > to PHP 7 and I don't think this difference is documented,

Re: [PHP-DEV] [RFC] Add is_cacheable() stream-wrapper operation

2015-01-05 Thread Martin Amps
Ah gotcha — ok, awesome. Good work! > On Jan 4, 2015, at 8:09 PM, François Laupretre wrote: > >> De : Martin Amps [mailto:ph...@rtin.so] > >> Did you mean to omit the “return” for is_cacheable_stream_path if > !PHP_STREAMS_SUPPORT_IS_CACHEABLE? > > Right.

Re: [PHP-DEV] [RFC] Add is_cacheable() stream-wrapper operation

2015-01-04 Thread Martin Amps
Did you mean to omit the “return” for is_cacheable_stream_path if !PHP_STREAMS_SUPPORT_IS_CACHEABLE? https://github.com/flaupretre/php-src/commit/d012ba6cb357df9fcb8f6669e3c7103018590b41?diff=unified#diff-f6d4b551c6233faa294ae9a97897c7d4R143

Re: [PHP-DEV] ezmlm warning

2013-09-23 Thread Martin Amps
Same here - also using gmail On Sep 23, 2013, at 8:47 AM, Camilo Sperberg wrote: > > On Sep 23, 2013, at 17:30, Georg Hubinger wrote: > >> I received this as well. I'm also on gmail. >> >>> Am 23.09.2013 um 17:06 schrieb Madara Uchiha : >>> >>> What does this mean? >>> Is this a one-time er

Re: [PHP-DEV] [VOTE] Importing namespaced functions

2013-08-19 Thread Martin Amps
It did appear correctly in the Mail.app client on OSX On Aug 19, 2013, at 1:17 AM, Ferenc Kovacs wrote: > On Mon, Aug 19, 2013 at 7:35 AM, Pierre Joye wrote: > >> On Thu, Aug 15, 2013 at 4:23 PM, Igor Wiedler wrote: >>> Hi Peter, >>> >>> This *is* the [VOTE] thread. Am I missing something? :

Re: [PHP-DEV] Compatibility changes for 5.5

2013-07-19 Thread Martin Amps
Understood. But given for the entire 5 series it was valid I feel people finding their code randomly breaking now would expect to see it in the documentation somewhere. Where would you suggest we place it? Given it’s a bug fix, would it still fit here? http://www.php.net/manual/en/migration55.

[PHP-DEV] Compatibility changes for 5.5

2013-07-18 Thread Martin Amps
Hey internals Much the same as https://bugs.php.net/bug.php?id=49348 since 5.5 trying to access an uninitialized property of an object throws a notice but isn’t listed anywhere as a change that I can see. A sample is here: http://3v4l.org/BYq1G Should we make this apparent in the documentation

Re: [PHP-DEV] Feature Proposal: Allow letter decrementing

2013-07-18 Thread Martin Amps
> One hiccup. I imagine maybe the reason we don't support decrementing is > because what would happen if you tried to decrement 'A'. In that case I > would suggest either returning NULL or throwing a notice. It would make sense to make it stay as ‘A’ like incrementing ‘Z' stays as ‘Z’. I do agree

Re: [PHP-DEV] Request for testers of and feedback on GCI-enabled OPcache

2013-06-21 Thread Martin Amps
When do you expect to have support for 5.5? I’d be happy to test it on a few of our servers as soon as you are Martin Amps | CIO www.iCracked.com iCracked | Redwood City, CA On Jun 21, 2013, at 3:52 AM, Terry Ellison wrote: > The Multi-Level Cache (MLC) OPcache fork typically delivers 80%

Re: [PHP-DEV] [PHP] PHP 5.5.0 final has been released!

2013-06-21 Thread Martin Amps
I second this - great to see both finally available. Fantastic release! Martin Amps | CIO www.iCracked.com iCracked | Redwood City, CA On Jun 21, 2013, at 2:01 PM, Julian wrote: > Awesome work and the new design for the php.net website is also nice ;) > > Am 20.06.2013, 23:22 Uhr

[PHP-DEV] SessionHandlerInterface vs Built in Memcache handler

2012-03-26 Thread Martin Amps
Hi Internals, Is there any notable difference or advantage to either method? The only thing I can think of is in the code you could fallback to another handler if a Memcache server was unavailable, or use a slave. Regards, Martin -- PHP Internals - PHP Runtime Development Mailing List To unsub