Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(ERROR @ /home/s30946/www/core/components/pdotools/model/pdotools/pdotools.class.php : 999) Unexpected token 'match' in expression #352

Open
wax100 opened this issue Nov 14, 2022 · 0 comments
Labels

Comments

@wax100
Copy link

wax100 commented Nov 14, 2022

Сообщение об ошибке / Error message

(ERROR @ /home/s30946/www/core/components/pdotools/model/pdotools/pdotools.class.php : 999) Unexpected token 'match' in expression

Резюме / Summary

Краткое резюме о чем эта проблема. / A short summary of what this problem is about.

Шаг для воспроизведения / Step to play

php8 на сервере и выражение в чанке типа
{if ('fonts_site' | option) | fnmatch : 'fonts.googleapis.com'}



{/if}

Наблюдаемое поведение / Observed behavior

белый экран

Ожидаемое поведение / Expected behavior

должно работать )

PS
я так понимаю match зарезервированная функция php8? что то похоже тут t-regx/T-Regx#87

@wax100 wax100 added the bug label Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant