# PHP 8 Preview Releases

- Thread: https://externals.io/message/105001
- Original archive: https://news-web.php.net/php.internals/105001
- Started by Joe Watkins on 2019-03-29T12:40:04+00:00
- Messages: 9
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #105001 — Joe Watkins — 2019-03-29T12:40:04+00:00

URL: https://externals.io/message/105001#105001

Morning internals,

Since we now have a result for JIT and we know it will be included in PHP
8, I think it's time to visit the idea brought up in discussion to have
preview releases of PHP 8.

I'm interested in hearing what kind of schedules we think are going to be
useful - it's tempting to say let's track PHP-7.4 releases, possibly with a
bi-monthly interval, but I'm not sure if that may be too soon, or too slow,
or too fast.

Thoughts please (especially from Dmitry) ?

Cheers
Joe

---

## #105004 — Dmitry Stogov — 2019-03-29T13:42:43+00:00

URL: https://externals.io/message/105001#105004

Hi Joe,


I think, PHP-8 preview is too early.

We even didn't freeze PHP-7.4 yet, and PHP-8 didn't get any new major features (may be I forgot something) only deprecations and some internal improvements

.

According to JIT, it's probably going to be changed a lot in the nearest future.


Thanks. Dmitry.

---

## #105005 — Joe Watkins — 2019-03-29T13:57:55+00:00

URL: https://externals.io/message/105001#105005

Hi Dmitry,

I'm not suggesting we do it right now, I'm suggesting we look at the
planning of it right now as it deviates from our normal release cycle.

At the moment we should just consider how we want it to work, including
when it should start ...

Cheers
Joe



> Hi Joe,
>
>
> I think, PHP-8 preview is too early.
>
> We even didn't freeze PHP-7.4 yet, and PHP-8 didn't get any new major
> features (may be I forgot something) only deprecations and some internal
> improvements
>
> .
>
> According to JIT, it's probably going to be changed a lot in the nearest
> future.
>
>
> Thanks. Dmitry.
> ------------------------------
> *From:* Joe Watkins <krakjoe@php.net>
> *Sent:* Friday, March 29, 2019 3:40:04 PM
> *To:* release-managers@php.net; PHP internals; Dmitry Stogov
> *Subject:* PHP 8 Preview Releases
>
> Morning internals,
>
> Since we now have a result for JIT and we know it will be included in PHP
> 8, I think it's time to visit the idea brought up in discussion to have
> preview releases of PHP 8.
>
> I'm interested in hearing what kind of schedules we think are going to be
> useful - it's tempting to say let's track PHP-7.4 releases, possibly with a
> bi-monthly interval, but I'm not sure if that may be too soon, or too slow,
> or too fast.
>
> Thoughts please (especially from Dmitry) ?
>
> Cheers
> Joe

---

## #105006 — Arvids Godjuks — 2019-03-29T14:17:41+00:00

URL: https://externals.io/message/105001#105006

Hello,

I'd like to add that as the userland developer, it would be nice to be able
to build JIT against an active branch (a.k.a PHP 7.4), cause if PHP 8
brings enough changes, it would not be realistic to fix our apps to be
compatible with PHP 8 months or years away from actual release.

пт, 29 мар. 2019 г. в 15:58, Joe Watkins <krakjoe@gmail.com>:

> Hi Dmitry,
>
> I'm not suggesting we do it right now, I'm suggesting we look at the
> planning of it right now as it deviates from our normal release cycle.
>
> At the moment we should just consider how we want it to work, including
> when it should start ...
>
> Cheers
> Joe
>
> 
>
> > […]
> with a
> > […]
> slow,
> > […]
>


-- 
Arvīds Godjuks

+371 26 851 664
arvids.godjuks@gmail.com
Skype: psihius
Telegram: @psihius https://t.me/psihius

---

## #105007 — Rowan Collins — 2019-03-29T14:27:42+00:00

URL: https://externals.io/message/105001#105007

On Fri, 29 Mar 2019 at 14:18, Arvids Godjuks <arvids.godjuks@gmail.com>
wrote:

> Hello,
>
> I'd like to add that as the userland developer, it would be nice to be able
> to build JIT against an active branch (a.k.a PHP 7.4), cause if PHP 8
> brings enough changes, it would not be realistic to fix our apps to be
> compatible with PHP 8 months or years away from actual release.
>


This was the purpose of the secondary vote on the RFC (
https://wiki.php.net/rfc/jit#proposed_voting_choices). The result was 18
Yes to 36 No, so JIT will be PHP 8 only.

I won't repeat the discussion here, see the original RFC thread for the
pros and cons, and why I suggested a "PHP 8 Preview" would be a better
target for people to test against.

Regards,
-- 
Rowan Collins
[IMSoP]

---

## #105008 — Dmitry Stogov — 2019-03-29T14:35:18+00:00

URL: https://externals.io/message/105001#105008

Hi Arvids,


It's possible to test JIT with PHP-7.4 building PHP from https://github.com/zendtech/php-src/tree/jit-dynasm-7.4

But this branch is not going to be supported anymore.


Thanks. Dmitry.

---

## #105009 — Peter Kokot — 2019-03-29T14:48:25+00:00

URL: https://externals.io/message/105001#105009

Hello,


>
> Hi Arvids,
>
>
> It's possible to test JIT with PHP-7.4 building PHP from https://github.com/zendtech/php-src/tree/jit-dynasm-7.4
>
> But this branch is not going to be supported anymore.
>
>
> Thanks. Dmitry.
>
> ________________________________
> From: Arvids Godjuks <arvids.godjuks@gmail.com>
> Sent: Friday, March 29, 2019 5:17:41 PM
> To: Joe Watkins
> Cc: Dmitry Stogov; release-managers@php.net; PHP internals
> Subject: Re: [PHP-DEV] Re: PHP 8 Preview Releases
>
> Hello,
>
> I'd like to add that as the userland developer, it would be nice to be able to build JIT against an active branch (a.k.a PHP 7.4), cause if PHP 8 brings enough changes, it would not be realistic to fix our apps to be compatible with PHP 8 months or years away from actual release.
>
> пт, 29 мар. 2019 г. в 15:58, Joe Watkins <krakjoe@gmail.com<mailto:krakjoe@gmail.com>>:
> Hi Dmitry,
>
> I'm not suggesting we do it right now, I'm suggesting we look at the
> planning of it right now as it deviates from our normal release cycle.
>
> At the moment we should just consider how we want it to work, including
> when it should start ...
>
> Cheers
> Joe
>
> 
>
> > […]
>
>
> --
> Arvīds Godjuks
>
> +371 26 851 664
> arvids.godjuks@gmail.com<mailto:arvids.godjuks@gmail.com>
> Skype: psihius
> Telegram: @psihius https://t.me/psihius

PHP 8.0 is definitely tempting and wanted. First phase is definitely
for users to have option to install it manually from Git as is now.
The snapshot script:
https://github.com/php/php-src/blob/master/scripts/dev/snapshot
is on my list to improve a bit to have at least an option to get
archive package out of the current Git state. Between this and the
official downloadable release there isn't much difference in doing the
build manually.

What is more important for the end users is to have Docker image(s)
available or even some Linux packages.

Also, practice shows that the dev branch in state before the few
months prior to the releases contains really a lot of bugs and also
build system bugs that normal users will have serious issues setting
this up. If Linux packagers and 3rd party repository maintainers can
help here, that would be also one way to go since PHP seems to be very
far away from doing such steps on the php.net side...

But to have PHP 8.0.0alpha1 version available at this and this date
before the PHP 7.4 release is quite challenging for all, I think.

-- 
Peter Kokot

---

## #105010 — Sara Golemon — 2019-03-29T15:42:42+00:00

URL: https://externals.io/message/105001#105010

> Since we now have a result for JIT and we know it will be included
> in PHP 8, I think it's time to visit the idea brought up in discussion
> to have preview releases of PHP 8.
>
> I'm interested in hearing what kind of schedules we think are going
> to be useful - it's tempting to say let's track PHP-7.4 releases,
> possibly with a bi-monthly interval, but I'm not sure if that may
> be too soon, or too slow, or too fast.
>
IMO, preview releases should (for the time being) be largely driven by the
progress of branch.  And by branch, let's be honest, I really mean the
JIT.  So for the rest of 2019, this essentially (but not completely) means
"When Dmitry wants something taken for a spin".  Maybe he rolls those, I
don't mind rolling them for him if he's not inclined to do it.

Coming into 2020, I think we should have monthly previews beginning one
month after 7.4.0 GA until we reach the normal alpha period. (Preceding
sentence is entirely provisional and subject to review as that time
approaches)

-Sara

---

## #105011 — Alan Willms — 2019-03-29T16:00:49+00:00

URL: https://externals.io/message/105001#105011

This could be a wonderful new feature for PHP 8:

https://github.com/nikic/scalar_objects

$string = "Hello world";
$string->toUpper()->replaceAll("world", "PHP 8");




> 
> > […]
> IMO, preview releases should (for the time being) be largely driven by the
> progress of branch.  And by branch, let's be honest, I really mean the
> JIT.  So for the rest of 2019, this essentially (but not completely) means
> "When Dmitry wants something taken for a spin".  Maybe he rolls those, I
> don't mind rolling them for him if he's not inclined to do it.
>
> Coming into 2020, I think we should have monthly previews beginning one
> month after 7.4.0 GA until we reach the normal alpha period. (Preceding
> sentence is entirely provisional and subject to review as that time
> approaches)
>
> -Sara
