In D25249#8543, @speck wrote:The reason that @ is used instead of try/catch -- the comment on the function is saying if you have a string in e.g. Latin-1 and $to_encoding is set to something different-yet-valid such as Korean (e.g. ISO-2022-KR) -- then the encoding conversion will silently fail, not throwing an exception, but still populating the result with incorrect garbage.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Jun 14 2023
Jun 14 2023
0 added a comment to D25249: Fix PHP 8.0 ValueError calling mb_convert_encoding() with an invalid encoding.
Jun 8 2023
Jun 8 2023
0 requested changes to D25038: Conduit column.search: add status, sequence and isDefault to API results.
@valerio.bozzolan, do you want to commandeer this revision and add the cast yourself?
Mar 18 2023
Mar 18 2023
Mar 17 2023
Mar 17 2023
0 added inline comments to D25038: Conduit column.search: add status, sequence and isDefault to API results.
Dec 3 2022
Dec 3 2022
0 added inline comments to D25060: Fix NULL pointer exception in some circumstances from Calendar's homepage.
Sep 24 2022
Sep 24 2022
Jul 26 2022
Jul 26 2022
Fix subtype extension support check
Suppress PHP 8 deprecation warning in startup
Saturate day of month in datepicker
May 22 2022
May 22 2022
0 requested changes to D25038: Conduit column.search: add status, sequence and isDefault to API results.
Mar 2 2022
Mar 2 2022
This patch suppresses the deprecation errors at each site, but there might be a simpler workaround in the same spirit: change the error_reporting calls (of which there are only a handful) to exclude E_DEPRECATED. That would risk masking any other deprecations (probably fine in production, but not in development), whereas this patch risks hiding any non-deprecation errors at these locations.
Nov 13 2021
Nov 13 2021
Although there's merit to the "zero, one, infinity" rule, it might not be the best option here. If something goes wrong and $err happens to always be falsy, this will end up in an infinite loop instead of giving a clear error message. There is probably a reasonable finite value (that's greater than 4) which can be chosen as the limit to the number of attempts.
Aug 28 2021
Aug 28 2021
Jul 15 2021
Jul 15 2021
There are some projects listed on the Phabricator Community Resources page. Would all of those be eligible for hosting here, or would there be some criteria to limit the number of external projects?
But why would we need to explicitly keep them? They already exist upstream...
My suspicion, though I hadn't thought through it much, is that it might be useful during migration periods where someone has the repository checked out and there's are clear linear branches of the phabricator development vs. phorge development.
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0