1
0
mirror of https://github.com/php/php-src.git synced 2026-04-09 00:53:30 +02:00
Files
archived-php-src/ext
Alex Dowad 57e194e02d Fix compile error in Windows CI job caused by 0779950768
In 6fc8d014df, pakutoma added some additional validation logic to
mb_detect_encoding. Since the implementation of mb_detect_encoding
has changed significantly between PHP 8.2 and 8.3, when merging this
change down from PHP-8.2 into master, I had to port his code over to
the new implementation in master.

However, I did this in a wrong way. In merge commit 0779950768,
the ported code modifies a function argument (to mb_guess_encoding)
which is marked 'const'. In the Windows CI job, MS VC++ rightly
flags this as a compile error.

Adjust the code to accomplish the same thing, but without destructively
modifying 'const' arguments.
2023-03-25 06:02:01 +02:00
..
2022-10-27 14:42:17 +01:00
2023-03-22 20:58:33 +01:00
2023-03-24 10:10:20 +00:00
2023-03-06 17:03:41 +00:00
2022-09-07 17:41:10 +02:00
2022-10-27 14:42:40 +01:00
2023-03-20 23:31:04 +01:00
2023-02-25 14:36:56 +00:00
2023-02-17 16:40:14 +00:00
2023-03-24 18:09:05 +01:00
2022-09-06 10:42:34 +01:00
2023-03-05 22:16:23 +01:00
2023-03-03 11:56:34 +01:00
2023-03-15 21:47:34 +01:00
2023-01-16 12:27:33 +01:00
2023-03-18 07:10:57 +00:00
2023-03-15 09:06:29 +01:00
2023-01-16 12:27:33 +01:00
2022-09-07 17:41:10 +02:00
2023-03-20 21:01:21 +01:00
2023-03-01 23:05:24 +01:00
2023-02-21 14:32:52 +00:00
2023-02-26 14:34:39 +00:00
2023-02-12 21:34:14 -07:00
2023-03-13 12:39:40 +01:00