Fix Bug #65538 (cafile now supports stream wrappers)
Add tests for Bug #65538
Move code out, that handles the actual structure to be used for the decoded
data. Will make it easier to add different structures
remove dead code
Fixed broken build when EC unavailable
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed broken build when EC unavailable
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed broken build when EC unavailable
Add __debugInfo() magic method

class Foo {
  private $val = 'Random, meaningless data';

  public function count() { return 42; }

  public function __debugInfo() {
    return ['count' => $this->count()];
  }
}

$f = new Foo;
var_dump($f);
update NEWS
5.4.27 now
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  5.4.27 now
  update NEWS

Conflicts:
	configure.in
	main/php_version.h
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  5.4.27 now
  update NEWS
Fixed Bug #66731 file: infinite recursion

Upstream commit (available in file-5.17)

https://github.com/glensc/file/commit/3c081560c23f20b2985c285338b52c7aae9fdb0f
https://github.com/glensc/file/commit/cc9e74dfeca5265ad725acc926ef0b8d2a18ee70
NEWS
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  NEWS
  Fixed Bug #66731 file: infinite recursion
NEWS
Set fileinfo version to 1.0.5 (as in php 5.4, no diff)
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Set fileinfo version to 1.0.5 (as in php 5.4, no diff)
  NEWS
  NEWS
  Fixed Bug #66731 file: infinite recursion
5.5.11 next for NEWS
5.5.11-dev next