Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104790 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 25042 invoked from network); 19 Mar 2019 01:39:28 -0000 Received: from unknown (HELO mail-it1-f176.google.com) (209.85.166.176) by pb1.pair.com with SMTP; 19 Mar 2019 01:39:28 -0000 Received: by mail-it1-f176.google.com with SMTP id m137so7528897ita.0 for ; Mon, 18 Mar 2019 15:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salesforce.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=odcZVj7xbV7Xo9/xTjWOkkXxH57TzAZvz+NzALNzS60=; b=Eaxa9tJiEWC5hWuv0Ko2Y5NlvdHph7iCmergLakYviaBeQp0TD8V2zS0p0D6hYHi7Z EvEniY9/qFU0OFaQCIUuHFHtm+sC2AR2Tw8eR7e/G2KwbKEEurDnAm7XioXJrkY7OHWT 5/CSF4w6+YYkPQvc+94AhfAUjHnYIS3Rxze04= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=odcZVj7xbV7Xo9/xTjWOkkXxH57TzAZvz+NzALNzS60=; b=BBgmY1A5GRGnCloO/udHPveM6/dldOlNXXzRebTQDkXLR4tNCCLexajrI8bLRgUSKg sQ49za03+y+gITpwi9pJ0cTaqyp5QlFnEaDp5S2Ta/b43IoxHEuA9N87yAzwwLamqzuV SGJd+K+0dFAnUJL7KJp88hSVbYFkKY+cXJHDWG5uIJe8Ku0gPJXaOK3XyCWQEh5CST1b gRVM/fbXizIjKh1WmVhjxjQqnrLz9Y9eU7+SkCIA8ilF8Qg5MKm0PAN7Q0M4ybeUZAKs LcWizQ34no+35afCv1urX0sINMWjIFfQX7ttWa+3NMQq6ghjIhlmRb0woQb4BloHilrl qZGQ== X-Gm-Message-State: APjAAAWn+z2fCIw3AzmtkGAoO318T/772vEHdgFCeJcfYZtppZHEkIox /vSSfpPPgFcufYsOuq5YIcyukL5NZ07XXUaQMlEAQaOhwfZnXw== X-Google-Smtp-Source: APXvYqz/mzIzPVdytgUVia7384sPq/Ox2hsHKHQzOVmKkz71HFlVx2bXGFEXCg+9gyq4yl7fzDR/tQflxSGQgD6u6fQ= X-Received: by 2002:a24:4051:: with SMTP id n78mr779553ita.118.1552948257014; Mon, 18 Mar 2019 15:30:57 -0700 (PDT) MIME-Version: 1.0 Date: Mon, 18 Mar 2019 23:30:45 +0100 Message-ID: To: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: PHP_VERSION_SERIES_EOL_DATE or similar constants? From: dzuelke@salesforce.com (David Zuelke) Hi all, Would it not be lovely to have, say, two new constants, that contain the date (ISO, UTC, I guess) of when the running PHP series will be end-of-maintenance and end-of-life? Of course PHP_VERSION_SERIES_EOM_DATE and PHP_VERSION_SERIES_EOL_DATE are a little verbose, but... It would be really useful for e.g. code check systems, tools like Composer, hosting platforms, to inform the user of an upcoming or past EOM/EOL date, without having to maintain a list of these dates separately (by copying from, or scraping, php.net/eol.php). Does that sound useful to anyone? It would of course be problematic in cases where the EOL date is yet to be determined, or changes later (as it happened with the 5.6 extension), but given that there would still be newer releases after such a case, where the value of the constant(s) could then be updated, that'd probably not be so problematic. Trivial? Not? Great? Bad? RFC worthy? Regards, David