pid / speakingurl

Generate a slug – transliteration with a lot of options
http://pid.github.io/speakingurl/
BSD 3-Clause "New" or "Revised" License
1.12k stars 84 forks source link

Fatal Compile Error: Unparenthesized `a ? b : c ? d : e` is not supported. #131

Closed artshevtsov closed 3 years ago

artshevtsov commented 3 years ago

Compiler version: PHP 8.0.2

$su = new SpeakingUrl();
throws:
In SpeakingUrl.php line 89:

  Compile Error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`