PHP 8.5.7 `levenshtein()` sign... Note

PHP 8.5.7 levenshtein() signed-integer overflow

Posted by Khashayar Fereidani on Jun 20# PHP 8.5.7 levenshtein() signed-integer overflow Author: Khashayar Fereidani Disclosure Date: 2026-06-18 Advisory: https://fereidani.com/php-857-levenshtein-signed-integer-overflow Contact: https://fereidani.com/contact ## Description The levenshtein() function calculates the Levenshtein distance between two strings, optionally accepting custom costs for insertion, replacement, and deletion operations. In PHP 8.5.7, the...