tolerant-php-parser reports errors on the following:
<?php $val = true ? true ? true : true : true;
The error reported is "':' expected." Per php -l, the code itself is valid for php8. If I explicitly add parentheses to clarify the order of operations, no errors are reported:
<?php $val = true ? (true ? true : true) : true;