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

php 8 and pico not good #584

Closed
tuckson opened this issue May 6, 2021 · 2 comments
Closed

php 8 and pico not good #584

tuckson opened this issue May 6, 2021 · 2 comments

Comments

@tuckson
Copy link

tuckson commented May 6, 2021

When running a default install of pice on xampp with php 8 I get this error:
Fatal error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in C:\portable\XAMPP\xampp\htdocs\pico\vendor\twig\twig\lib\Twig\Node.php on line 42

Now in version 7 this Unparenthesized stuff was named 'depreceated' already, so the current pico will not run on php 8. I suppose

@PhrozenByte
Copy link
Collaborator

Please try Pico v3.0.0-alpha.2. There are no functional changes in comparison to stable v2.1.4 besides updated dependencies (which come with some, but rather small functional changes). This version is safe to use in production due to the very limited changeset, specifically aiming for Pico to support PHP 8.0+.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two days if no further activity occurs. Thank you for your contributions! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants