Fixed bug #64821 Custom Exceptions crash when internal properties overridden

If user inherits Exception and overrides the properties to arbitrary data types,
or simply doesn't run parent::__construct(), here we go. Just convert everything
to the appropriate data type, like Exception::__toString() does.
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #64821 Custom Exceptions crash when internal properties overridden
updated NEWS
fix heap overflow warnings on win x64 debug crt
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  fix heap overflow warnings on win x64 debug crt
php_stream_fopen_tmpfile may file, causing any following stream usage to crash
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  php_stream_fopen_tmpfile may file, causing any following stream usage to crash
Fixed bug #64830 mimetype detection segfaults on mp3 file
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
updated libmagic.patch after fix for #64830
more check for php_stream_fopen_tmpfile failure
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  more check for php_stream_fopen_tmpfile failure
Fix unitialized vars when sql.safe_mode=1

which can break the subsequent mysqlnd_connect() call
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix unitialized vars when sql.safe_mode=1
  more check for php_stream_fopen_tmpfile failure
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4