1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 04:51:03 +02:00
Files
archived-php-src/ext
Tim Düsterhus c63f18dd9b Unify ext/random unserialize errors with ext/date (#9185)
* Unify ext/random unserialize errors with ext/date

- Use `Error` instead of `Exception`.
- Adjust wording.

* Make `zend_read_property` silent in `Randomizer::__unserialize()`

Having:

> Error: Typed property Random\Randomizer::$engine must not be accessed before
> initialization

is not a value-add in this case.

* Insert the actual class name in the unserialization error of Engines

* Revert unserialization failure back to Exception from Error

see https://news-web.php.net/php.internals/118311
2022-08-02 09:00:37 +02:00
..
2022-06-25 07:40:19 +01:00
2022-07-28 19:36:04 +01:00
2022-07-20 17:01:42 +02:00
2022-06-10 12:45:30 -04:00
2022-07-28 21:09:18 +02:00
2022-07-28 21:09:18 +02:00
2022-06-09 13:42:45 +02:00
2022-06-13 14:44:49 +02:00
2022-07-27 13:11:58 +02:00
2022-07-28 19:36:04 +01:00
2022-07-29 12:15:38 +02:00
2022-07-25 19:28:25 +01:00
2022-05-16 14:47:02 +02:00