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.1 Upgrade Features/Notes #2234

Open
1 task done
chrisblakley opened this issue Dec 25, 2022 · 0 comments
Open
1 task done

🔮 PHP 8.1 Upgrade Features/Notes #2234

chrisblakley opened this issue Dec 25, 2022 · 0 comments
Labels
Backend (Server) Related to the server-side (includes PHP, HTML, etc). 💭 Question / Research Additional research/discussion is needed to answer this question.
Milestone

Comments

@chrisblakley
Copy link
Owner

chrisblakley commented Dec 25, 2022

PHP Version Timeline: https://www.php.net/supported-versions.php
PHP Release Notes: https://php.watch/versions
Version Stats: https://stitcher.io/blog/php-version-stats-january-2023

PHP 8.1 Info & References

https://php.watch/versions/8.1
https://stitcher.io/blog/new-in-php-81

  • Release Date: November 2021
  • Active Support Until November 2023
  • Security Support Until December 2025

Initial Tasks

  • Update /inc/data/php_timeline.json Nebula file

Projected Nebula Minimum Version Timeline

Active table will be moved here as it gets closer
#1992

Notable Features related to Nebula in PHP 8.1

date_sunrise() and date_sunset() functions are deprecated in favor of date_sun_info()

//Old Way:
$sunrise = date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude);
$sunset  = date_sunset($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude);

//New Way:
$suninfo = date_sun_info($time, $latitude, $longitude);
$sunrise = $suninfo['sunrise'];
$sunset  = $suninfo['sunset'];

This has been updated in Nebula.

@chrisblakley chrisblakley added 💭 Question / Research Additional research/discussion is needed to answer this question. Backend (Server) Related to the server-side (includes PHP, HTML, etc). labels Dec 25, 2022
@chrisblakley chrisblakley added this to the 11.0 Carina milestone Dec 25, 2022
@chrisblakley chrisblakley modified the milestones: 11.0 Carina, 12.0 Flame May 1, 2023
@chrisblakley chrisblakley modified the milestones: 12.0 Flame, 13.0 Bubble May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend (Server) Related to the server-side (includes PHP, HTML, etc). 💭 Question / Research Additional research/discussion is needed to answer this question.
Projects
None yet
Development

No branches or pull requests

1 participant