- Fixed crashes on invalid parameters in intl extension (Stas, Maksymilian
Arciemowicz)
- Fixed bug #53362 (Segmentation fault when extending SplFixedArray). (Felipe)
+- Fixed bug #50987 (unaligned memory access in phar.c).
+ (geissert at debian dot org, Ilia)
- Fixed bug #47168 (printf of floating point variable prints maximum of 40
decimal places). (Ilia)
*((buffer) + 1) = (unsigned char) (((var) >> 8) & 0xFF);
*((buffer) + 0) = (unsigned char) ((var) & 0xFF);
#else
- *(php_uint32 *)(buffer) = (php_uint32)(var);
+ memcpy(buffer, &var, sizeof(var));
#endif
} /* }}} */