Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 732 Bytes

php5.6.md

File metadata and controls

38 lines (33 loc) · 732 Bytes

Quick recap first

php 5.3

  • Namespaces
  • Late static binding
  • Mysqlnd
  • Goto
  • Better garbage collection
  • Closures

php 5.4

  • short array syntax
  • Traits
  • Function array dereferencing
  • Built-in webserver
  • SessionHandler
  • File upload extension
  • Binary notation
  • Safe mode removed

php 5.5

  • generators

  • simple way of implementing iterators

  • yield

  • foreach over function

  • finally

  • password_hash, password_verify

  • OPcache

  • Opcode cache (like APC)

  • variadic functions ($param1, ....$other_params)

Changes in php 5.6

  • default charset is UTF-8
  • phpdbg - interactive debugger
  • Exponent operator
  • constant expressions
  • json_decode strictness: true, false, null values