WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Off-Topic »
  • PHP 7: Scalar types
  • Print
Pages: [1]   Go Down

Author Topic: PHP 7: Scalar types  (Read 5565 times)

Offline easyuser

  • Posts: 832
PHP 7: Scalar types
« on: May 12, 2015, 09:17:05 AM »
Hello,

PHP 7 is expected in Summer 2015. The biggest feature for developers is perhaps the possibilitiy for using scalar types (int, float, string, bool).
In my opinion that's really necessary.

Also deprecated functionality like ext/mysql will be completely removed.

https://blog.engineyard.com/2015/what-to-expect-php-7

Please don't expect WebsiteBaker running on PHP7 without changes.
Logged

Offline DarkViper

  • Forum administrator
  • *****
  • Posts: 3087
  • Gender: Female
Re: PHP 7: Scalar types
« Reply #1 on: May 12, 2015, 11:46:31 AM »
I like these changes.. am waiting for years to get scalar type hints. ;-) They will save a lot of sanitizing code.
The newer WB code will have only less problems to be adapted.

Right now we already use "good will" type hints. See the notation for variables from WB2.8.4 (i.e.  $sString, $iInteger, $fFloat, $aArray, $oObject  a.s.o.). SPL-types has been unliked crutches only.

All other incompatibilities will not make too much trouble... i hope..  8-)
How it looks at modules? It's better don't think about.  :?

Manuela
Logged
Der blaue Planet - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen

"We need education to cope with digitalization - and NOT the digitalization of education.!"

Tägliches Stoßgebet: Oh Herr, wirf Hirn vom Himmel !

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Off-Topic »
  • PHP 7: Scalar types
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2