[PHP-DEV] Re: Is there documentation somewhere on public CMS/Framework/Libs thatare PHP7 compat?

2015-11-16 Thread Tom Worster
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

[PHP-DEV] Re: Is there documentation somewhere on public CMS/Framework/Libs thatare PHP7 compat?

2015-11-16 Thread Andrea Faulds
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

RE: [PHP-DEV] Windows (Visual Studio) compiler stuff

2015-11-16 Thread Anatol Belski
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

[PHP-DEV] building binaries with static objects

2015-11-16 Thread Andone, Bogdan
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

Re: [PHP-DEV] Windows (Visual Studio) compiler stuff

2015-11-16 Thread Matt Wilmas
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

[PHP-DEV] VCS Account Request: rkgudboy

2015-11-16 Thread Rohit Kashyap
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

[PHP-DEV] Benchmark Results for PHP Master 2015-11-16

2015-11-16 Thread lp_benchmark_robot
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

Re: [PHP-DEV] Is there documentation somewhere on public CMS/Framework/Libs that are PHP7 compat?

2015-11-16 Thread Larry Garfield
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

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Larry Garfield
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; } }

Re: [PHP-DEV] Support for writing and executing compiled opcode Stephen Coakley <m...@stephencoakley.com>

2015-11-16 Thread Jefferson Gonzalez
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

Re: [PHP-DEV] Support for writing and executing compiled opcode Stephen Coakley <m...@stephencoakley.com>

2015-11-16 Thread Rasmus Lerdorf
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

[PHP-DEV] RE: [INTERNALS-WIN] Re: [PHP-DEV] Windows (Visual Studio) compiler stuff

2015-11-16 Thread Anatol Belski
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'

Re: [PHP-DEV] Support for writing and executing compiled opcodeStephen Coakley <m...@stephencoakley.com>

2015-11-16 Thread Rasmus Lerdorf
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

Re: [PHP-DEV] Support for writing and executing compiled opcodeStephen Coakley <m...@stephencoakley.com>

2015-11-16 Thread Jefferson Gonzalez
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.

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Mathieu Rochette
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

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Sebastian Bergmann
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

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Levi Morrison
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

Re: [PHP-DEV] Support for writing and executing compiled opcode

2015-11-16 Thread Sara Golemon
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

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Larry Garfield
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.

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Andrea Faulds
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

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Andrea Faulds
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?

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Anthony Ferrara
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

Re: [PHP-DEV] Is there documentation somewhere on public CMS/Framework/Libs that are PHP7 compat?

2015-11-16 Thread Aurélien Dudouit
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:

[PHP-DEV] Immutable modifier

2015-11-16 Thread Chris Riley
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

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Daniel Persson
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

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Chris Riley
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

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Lorenzo Fontana
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

[PHP-DEV] VCS Account Request: anaymalpani

2015-11-16 Thread ABHIHEK MALPANI
i m intreassted -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread 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. > > Final does not make the

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Mathieu Rochette
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

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Lorenzo Fontana
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

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Rowan Collins
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;

RE: [PHP-DEV] Re: Benchmark Results for PHP Master 2015-11-12

2015-11-16 Thread Andone, Bogdan
> -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:

[PHP-DEV] taint as a first-class feature for php 7.1

2015-11-16 Thread Christopher Owen
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

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Chris Riley
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