Fixed bugs #47675 and #64577 (fd leak on Solaris)
leave a sane environment behind (even if empty) when exiting
some OS atexit() handlers call getenv()
leave a sane environment behind (even if empty) when exiting
some OS atexit() handlers call getenv()
upgraded libmagic to 5.14
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  upgraded libmagic to 5.14
updated NEWS
Merge branch 'PHP-5.5'

* PHP-5.5:
  updated NEWS
  upgraded libmagic to 5.14
  leave a sane environment behind (even if empty) when exiting some OS atexit() handlers call getenv()
fixed EOL
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fixed EOL
Merge branch 'PHP-5.5'

* PHP-5.5:
  fixed EOL
fix memory leak at apprentice.c:1095
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix memory leak at apprentice.c:1095
Merge branch 'PHP-5.5'

* PHP-5.5:
  fix memory leak at apprentice.c:1095
Refactored the previous memleak fix

to avoid usage of a freed pointer. Thanks Laruence )
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Refactored the previous memleak fix
Merge branch 'PHP-5.5'

* PHP-5.5:
  Refactored the previous memleak fix
fix ident
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix ident
Merge branch 'PHP-5.5'

* PHP-5.5:
  fix ident
updated libmagic.patch