Welcome Guest, Not a member yet? Register   Sign In
Poll: Which PHP version features should CI 4 target?
You do not have permission to vote in this poll.
5.4
23.26%
20 23.26%
5.5
12.79%
11 12.79%
5.6
50.00%
43 50.00%
5.3 (unsuported already)
1.16%
1 1.16%
This should depend on dev process
12.79%
11 12.79%
Total 86 vote(s) 100%
* You voted for this item. [Show Results]

Which PHP 5.X version should be considered as Required
#1

(This post was last modified: 04-07-2015, 04:39 AM by sv3tli0.)

This is hard point of discussion. 
Each PHP major version 5.4, 5.5, 5.6 has its own nice things.

Here is short description of latest 3 major versions changelog:
5.4

Quote:The key features of PHP 5.4.0 include:
  • New language syntax including Traitsshortened array syntax and more

  • Improved performance and reduced memory consumption

  • Support for multibyte languages now available in all builds of PHP at the flip of a runtime switch

  • Built-in webserver in CLI mode to simplify development workflows and testing

  • Cleaner code base thanks to the removal of multiple deprecated language features

  • Many more improvements and fixes
Changes that affect compatibility:

5.5:
Quote:The key features of PHP 5.5.0 include:
Changes that affect compatibility:
  • PHP logo GUIDs have been removed.

  • Windows XP and 2003 support dropped.

  • Case insensitivity is no longer locale specific. All case insensitive matching for function, class and constant names is now performed in a locale independent manner according to ASCII rules.

5.6:

Quote:The main features of PHP 5.6.0 include:


PHP 5.6.0 also introduces changes that affect compatibility:
  • Array keys won't be overwritten when defining an array as a property of a class via an array literal.

  • json_decode() is more strict in JSON syntax parsing.

  • Stream wrappers now verify peer certificates and host names by default when using SSL/TLS.

  • GMP resources are now objects.

  • Mcrypt functions now require valid keys and IVs.
Best VPS Hosting : Digital Ocean
Reply


Messages In This Thread
Which PHP 5.X version should be considered as Required - by sv3tli0 - 04-07-2015, 04:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB