Re: [PHP-DEV] Fw: unpack()

2016-02-28 Thread Dmitry Stogov
I think the most clear way is to apply the new $offset argument and then the old way to skip first bytes of input string. So unpack("@$skip/N4", $message, $offset) will skip $offset+$skip. Actually, this is the way how the proposed patch works. Thanks. Dmitry. _

Re: [PHP-DEV] Change in internal call_user_function() API.

2016-02-28 Thread Dmitry Stogov
On 02/28/2016 05:01 AM, Xinchen Hui wrote: Hey: On Thu, Feb 25, 2016 at 11:16 PM, Dmitry Stogov > wrote: Hi, PHP-7.0 internal call_user_function() API doesn't support function calls with preinitialised symbol tables. This just can't work in general

Re: [PHP-DEV] RFC Proposal: Pluggable Mail Transports

2016-02-28 Thread Ángel González
I don't think more than a direct SMTP transport will be needed (LMTP perhaps?), but it seems a good idea that #29629 can finally be fixed. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] RFC Proposal: Pluggable Mail Transports

2016-02-28 Thread Dolf Schimmel
Howdy, I'm planning to create an RFC on this shortly, but would like to gauge the initial response first. Currently whenever an email is sent through the mail() function it is sent by an invocation of a sendmail-compatible executable. However, there are scenario's in which an alternative tran

Re: [PHP-DEV] Static class property can be accessed as $object::$property?

2016-02-28 Thread Etienne Kneuss
On Fri, Feb 26, 2016 at 7:12 PM wrote: > Hi, > > > I'd be very thankful for a clear explanation on this: > http://stackoverflow.com/questions/35656898 > > > May be it's just a word game and I don't understand it correctly, but > documentation states one, though $object::$staticProperty works in a

[PHP-DEV] NEWS entries

2016-02-28 Thread Tom Sommer
I'm reading the 7.0.4 NEWS file[1] and I get the policy of just writing the bug number and headline, but in a lot of cases the bug report headline says nothing about the actual problem, or the actual fix. For instance: Fixed bug #71559 (Built-in HTTP server, we can download file in web by bug

Re: [PHP-DEV] [RFC Proposal] var keyword deprecation/removal

2016-02-28 Thread James Titcumb
On 28 Feb 2016 06:18, "Jakub Kubíček" wrote: > > I see a difference in its > _semantics_. While the `public` modifier states anyone can change the > property, `var` is useful for marking internal properties which must > be public, but should not be manipulated by simply anybody If it's public, it

Re: [PHP-DEV] Re: Request for Karma

2016-02-28 Thread Dominic Grostate
Thank you On 28 Feb 2016 9:17 a.m., "Ferenc Kovacs" wrote: > > > On Fri, Feb 26, 2016 at 4:33 PM, Dominic Grostate < > codekest...@googlemail.com> wrote: > >> Username is: orolyn >> On 26 Feb 2016 3:31 p.m., "Dominic Grostate" >> wrote: >> >> > Hello, >> > >> > I would like to request karma for

Re: [PHP-DEV] Re: Request for Karma

2016-02-28 Thread Ferenc Kovacs
On Fri, Feb 26, 2016 at 4:33 PM, Dominic Grostate < codekest...@googlemail.com> wrote: > Username is: orolyn > On 26 Feb 2016 3:31 p.m., "Dominic Grostate" > wrote: > > > Hello, > > > > I would like to request karma for the wiki. > > I'm assisting Rasmus Schultz with the Generics RFC. > > > > Tha