Hello again php-internals.
I was the original poster of the (most recent) thread on making taint a
first-class feature for php.
Shortly after the start of the original thread, Laruence ported the existing
php-taint extension to php7 (thank you very much sir!).
For those of you who might like t
On Tue, 17 Nov 2015, 02:07 Andrea Faulds wrote:
Hi,
Chris Riley wrote:
>
> There has been a lot of interest recently (eg psr-7) in immutable data.
I'm
> considering putting an RFC together to add language support for
immutables:
>
I wonder if immutable classes are really the right way to go. Im
Hi,
Chris Riley wrote:
There has been a lot of interest recently (eg psr-7) in immutable data. I'm
considering putting an RFC together to add language support for immutables:
I wonder if immutable classes are really the right way to go. Immutable
reference types with manual copying are some
Chris,
On Mon, Nov 16, 2015 at 4:15 AM, Chris Riley wrote:
> Hi,
>
> There has been a lot of interest recently (eg psr-7) in immutable data. I'm
> considering putting an RFC together to add language support for immutables:
>
> immutable class Foo {
> public $bar;
> public function __construct($ba
Hi Larry,
Larry Garfield wrote:
The "everything in the constructor" is the problem. That results in,
essentially, an obscenely long function call that just happens to be
named __construct(). If I wanted something that obscure and hard to
work with I'd just use anonymous arrays. :-)
Huh?
"wi
On Mon, Nov 16, 2015 at 12:13 PM, Jefferson Gonzalez wrote:
> On 11/14/2015 08:03 PM, Rasmus Lerdorf wrote:
>>
>> Beyond that I can't picture what possible use this could be.
>
>
> I also think that the ability to have a .phpc and .php side by side would be
> nice, but not for hiding the source co
On 11/16/2015 04:15 AM, Chris Riley wrote:
Any thoughts?
Would love to have it for implementing value objects.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On 11/16/15 5:11 PM, Mathieu Rochette wrote:
On 11/16/2015 11:11 PM, Larry Garfield wrote:
On 11/16/15 3:15 AM, Chris Riley wrote:
Immutable on a property makes the property immutable once it takes on a
none null value. Attempts to modify the property after this results
in a
fatal error.
A
On Mon, Nov 16, 2015 at 2:15 AM, Chris Riley wrote:
> Hi,
>
> There has been a lot of interest recently (eg psr-7) in immutable data. I'm
> considering putting an RFC together to add language support for immutables:
>
> immutable class Foo {
> public $bar;
> public function __construct($bar) {
>
On 11/16/2015 11:11 PM, Larry Garfield wrote:
On 11/16/15 3:15 AM, Chris Riley wrote:
Hi,
There has been a lot of interest recently (eg psr-7) in immutable
data. I'm
considering putting an RFC together to add language support for
immutables:
immutable class Foo {
public $bar;
public funct
On 11/16/15 3:15 AM, Chris Riley wrote:
Hi,
There has been a lot of interest recently (eg psr-7) in immutable data. I'm
considering putting an RFC together to add language support for immutables:
immutable class Foo {
public $bar;
public function __construct($bar) {
$this->bar = $bar;
}
}
Immu
On 11/16/15 4:21 AM, Aurélien Dudouit wrote:
Hello,
Someone at OVH started this kind of survey a few days ago, and tries to
keep an up-to-date list:
https://forum.ovh.com/showthread.php/106907-Testez-PHP7-en-avant-premi%C3%A8re?s=f3af21aec8d6f6c59d3af8f037abec15
Beware, french writing; I'm p
On 11/16/2015 04:11 PM, Jefferson Gonzalez wrote:
> On 11/16/2015 04:22 PM, Rasmus Lerdorf wrote:
>> But that is exactly what the file-based opcache does by itself. The only
>> speedup you achieve by trying to distribute the .bin files would be a
>> minor boost the first time a cli script is execut
On 11/16/2015 04:22 PM, Rasmus Lerdorf wrote:
But that is exactly what the file-based opcache does by itself. The only
speedup you achieve by trying to distribute the .bin files would be a
minor boost the first time a cli script is executed. All subsequent runs
of the script would hit the cache.
On 11/16/2015 03:13 PM, Jefferson Gonzalez wrote:
> On 11/14/2015 08:03 PM, Rasmus Lerdorf wrote:
>> Beyond that I can't picture what possible use this could be.
>
> I also think that the ability to have a .phpc and .php side by side
> would be nice, but not for hiding the source code. It would be
On 11/14/2015 08:03 PM, Rasmus Lerdorf wrote:
Beyond that I can't picture what possible use this could be.
I also think that the ability to have a .phpc and .php side by side
would be nice, but not for hiding the source code. It would be useful
especially for php-cgi and secondary for php-cli
Hi Matt,
> -Original Message-
> From: Matt Wilmas [mailto:php_li...@realplain.com]
> Sent: Monday, November 16, 2015 2:59 PM
> To: Anatol Belski ; internals@lists.php.net;
internals-
> w...@lists.php.net
> Cc: 'Dmitry Stogov' ; 'Pierre Joye'
> Subject: [INTERNALS-WIN] Re: [PHP-DEV] Window
Developing the PHP runtime
Maintaining an official, bundled PHP extension
Maintaining the documentation
Maintaining php.net
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Results for project PHP master, build date 2015-11-16 05:25:57+02:00
commit: 1a1349b336633e5977c41d555035c7146e06e0c7
revision date: 2015-11-16 08:16:07+11:00
environment:Haswell-EP
cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping
2, LLC 45 MB
mem
On 11/14/15 10:13 AM, Pascal Chevrel wrote:
Do you know of any public list of what CMS are working with PHP 7
without a problem? I am starting to test by myself what we use. My own
projects are of course PHP 7 compatible but we also have the usual tools
that open source project use for their day
Hi Pascal,
Pascal Chevrel wrote:
Do you know of any public list of what CMS are working with PHP 7
without a problem? I am starting to test by myself what we use. My own
projects are of course PHP 7 compatible but we also have the usual tools
that open source project use for their day to day act
Hi Anatol,
- Original Message -
From: "Anatol Belski"
Sent: Monday, November 16, 2015
Hello Matt,
-Original Message-
From: Matt Wilmas [mailto:php_li...@realplain.com]
Sent: Sunday, November 15, 2015 11:31 PM
To: internals@lists.php.net; internals-...@lists.php.net
Cc: Dmitry
Hi guys,
Does anybody know why PHP sources are compiled as shared objects only on linux,
meaning that libtool is adding -fPIC -DPIC flags during compilation?
Shared objects are mandatory for building libphp7 library and module
extensions, but why are they used for building binaries like php-fpm,
Hello Matt,
> -Original Message-
> From: Matt Wilmas [mailto:php_li...@realplain.com]
> Sent: Sunday, November 15, 2015 11:31 PM
> To: internals@lists.php.net; internals-...@lists.php.net
> Cc: Dmitry Stogov ; Anatol Belski
;
> Pierre Joye
> Subject: [PHP-DEV] Windows (Visual Studio) comp
Mathieu Rochette wrote on 16/11/2015 10:00:
Would it be allowed to assign non immutable types to properties of an
immutable class ?
I think this is the trickiest part of trying to enforce immutability:
nesting. Consider the following:
// Basic properties
$my_immutable_object->foo = 42;
$my_i
2015-11-16 10:40 GMT+01:00 Chris Riley :
>
>
> On 16 November 2015 at 09:33, Lorenzo Fontana
> wrote:
>
>> I really like the concept of immutability, but I think that it should be
>> applicable at instance level rather than declaration.
>>
>> I would also prefer another keyword than immutable.
>
i m intreassted
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
On 16/11/2015 10:33, Lorenzo Fontana wrote:
I really like the concept of immutability, but I think that it should be
applicable at instance level rather than declaration.
I'm not sure about that, most PHP code assume mutable objects, I doubt
much existing classes would be usable as immutab
Hello,
Someone at OVH started this kind of survey a few days ago, and tries to
keep an up-to-date list:
https://forum.ovh.com/showthread.php/106907-Testez-PHP7-en-avant-premi%C3%A8re?s=f3af21aec8d6f6c59d3af8f037abec15
Beware, french writing; I'm pushing for a translation.
Quick summary:
Compat
On 16 November 2015 at 09:33, Lorenzo Fontana
wrote:
> I really like the concept of immutability, but I think that it should be
> applicable at instance level rather than declaration.
>
> I would also prefer another keyword than immutable.
>
> Final does not make the properties immutable, it mak
I really like the concept of immutability, but I think that it should be
applicable at instance level rather than declaration.
I would also prefer another keyword than immutable.
Final does not make the properties immutable, it makes the class not
extensible.
On Nov 16, 2015 10:24, "Daniel Perss
On 16 November 2015 at 09:24, Daniel Persson wrote:
> Any differance from the final keyword?
>
> http://php.net/manual/en/language.oop5.final.php
>
> On Mon, Nov 16, 2015 at 10:15 AM, Chris Riley wrote:
>
>> Hi,
>>
>> There has been a lot of interest recently (eg psr-7) in immutable data.
>> I'm
Any differance from the final keyword?
http://php.net/manual/en/language.oop5.final.php
On Mon, Nov 16, 2015 at 10:15 AM, Chris Riley wrote:
> Hi,
>
> There has been a lot of interest recently (eg psr-7) in immutable data. I'm
> considering putting an RFC together to add language support for im
Hi,
There has been a lot of interest recently (eg psr-7) in immutable data. I'm
considering putting an RFC together to add language support for immutables:
immutable class Foo {
public $bar;
public function __construct($bar) {
$this->bar = $bar;
}
}
Immutable on a class declaration makes all (ma
> -Original Message-
> From: Matt Wilmas [mailto:php_li...@realplain.com]
> Sent: Friday, November 13, 2015 1:49 PM
> To: internals@lists.php.net; Andrea Faulds
> Subject: Re: [PHP-DEV] Re: Benchmark Results for PHP Master 2015-11-12
>
> Hi,
>
> - Original Message -
> From: "And
35 matches
Mail list logo