Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #15510
| From | Matthew Carter <m@ahungry.com> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: PHP7 Stack Trace Mess |
| Date | 2015-06-24 22:12 -0400 |
| Organization | Ahungry (http://ahungry.com) |
| Message-ID | <87mvzo4jtr.fsf@ahungry.com> (permalink) |
| References | (5 earlier) <mmdqki$4gj$1@news.albasani.net> <mmerau$3l2$1@solani.org> <87r3p13rmn.fsf@ahungry.com> <mmeu5v$ibm$1@news.albasani.net> <mmfdas$5g7$1@solani.org> |
"Christoph M. Becker" <cmbecker69@arcor.de> writes: > Thomas Mlynarczyk wrote: > >> On 24/06/15 20:09, Matthew Carter wrote: >> >>> Off the direct topic, but on general topic, other than performance >>> enhancements to attempt to outdo facebook's HHVM PHP implementation (or >>> whatever its called), what type of new features does PHP7 plan to >>> introduce? >> >> Have a look here: >> <http://www.slideshare.net/jpauli/php7-is-coming> > > Very nice! Haven't seen it before - thanks. > >> Among other things: >> - Scalar type hints and return type hints >> - Null coalesce operator (??) >> - Spaceship operator (<=>) > > See also <https://github.com/tpunt/PHP7-Reference>. Hm, so with new strict type scalar hints it is turned on via per file (not global) basis, and whether something is strict or not is dependent on the declare being in the file that makes calls to the functions, not the file that defines the functions. Doesn't that seem sort of weird? If using a third party library that expects things to be on a strict basis, the library can't enforce the strict behaviour, it requires the user of the library to include a declare strict at the top of their file that makes use of it. What happens when two external libraries are being used, one which assumes the user is operating in strict mode, while the other assumes not? -- Matthew Carter (m@ahungry.com) http://ahungry.com
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
PHP7 Stack Trace Mess Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2015-06-23 16:28 +0200
Re: PHP7 Stack Trace Mess Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2015-06-23 16:58 +0000
Re: PHP7 Stack Trace Mess "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-23 20:00 +0200
Re: PHP7 Stack Trace Mess Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2015-06-23 22:22 +0200
Re: PHP7 Stack Trace Mess "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-24 00:03 +0200
Re: PHP7 Stack Trace Mess Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2015-06-24 10:44 +0200
Re: PHP7 Stack Trace Mess "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-24 20:02 +0200
Re: PHP7 Stack Trace Mess Matthew Carter <m@ahungry.com> - 2015-06-24 14:09 -0400
Re: PHP7 Stack Trace Mess Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2015-06-24 20:50 +0200
Re: PHP7 Stack Trace Mess "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-25 01:09 +0200
Re: PHP7 Stack Trace Mess Matthew Carter <m@ahungry.com> - 2015-06-24 22:12 -0400
Re: PHP7 Stack Trace Mess Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2015-06-25 10:02 +0200
Re: PHP7 Stack Trace Mess "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-25 15:48 +0200
Re: PHP7 Stack Trace Mess Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2015-06-25 18:04 +0200
Re: PHP7 Stack Trace Mess "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-25 19:14 +0200
Re: PHP7 Stack Trace Mess Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2015-06-23 22:07 +0200
Re: PHP7 Stack Trace Mess "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-23 22:15 +0200
Re: PHP7 Stack Trace Mess Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2015-06-24 06:13 +0000
csiph-web