craigk5n / webcalendar

WebCalendar is a PHP application used to maintain a calendar for a single user or an intranet group of users. It can also be configured as an event calendar.
http://www.k5n.us/webcalendar.php
GNU General Public License v2.0
148 stars 70 forks source link

examples of new-ish php functions to shorten code #415

Closed bbannon closed 9 months ago

bbannon commented 9 months ago

array range elvis version of ternary match

craigk5n commented 9 months ago

This looks good, but I believe these are first code changes that will force people to upgrade to PHP 8 (due to using match).

bbannon commented 9 months ago

Well, according to https://www.php.net/supported-versions.php 8.0 has reached end of life as of Nov 2022

So, I imagine most ISPs will have upgraded to 8.something by now.

On Tue, Sep 19, 2023 at 9:03 AM Craig Knudsen @.***> wrote:

Merged #415 https://github.com/craigk5n/webcalendar/pull/415 into master.

— Reply to this email directly, view it on GitHub https://github.com/craigk5n/webcalendar/pull/415#event-10411943770, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHJ7GLSNADGIZTSZ5GIRNKTX3GX5VANCNFSM6AAAAAA425Z4AM . You are receiving this because you authored the thread.Message ID: @.***>