I suggest you ...

HHVM in php 5 mode

For HHVM please don't only enable php 7 mode. It's important to test against both php5mode and php7 mode since php 7 mode is still really new and less tested than the default php 5 mode. There are type annotations on internal functions issues with php7 mode currently https://github.com/facebook/hhvm/issues/7198.

In my testing on travis CI I use latest HHVM and the most recent LTS to get 4 builds
So currently I have 2 LTS versions (until 3.16 is released)
- 3.15LTS (php 5 mode)
- 3.15LTS (php 7 mode)
- 3.12LTS (php 5 mode)
- 3.12LTS (php 7 mode)

That is the intent of the request I made to have a similar setup on 3v4l https://3v4l.uservoice.com/forums/219058-general/suggestions/16067680-run-hhvm-both-with-and-without-php-7-mode

We really do need both php 7 and php 5 modes to test with

19 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    walt shared this idea  ·   ·  Admin →

    4 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Erin commented  · 

        I would also value this feature, although I can certainly appreciate that would come at the cost of longer execution time.

      • walt commented  · 

        A number of HHVM versions currently running on 3v4l are past EOL http://hhvm.com/blog/6083/hhvm-long-term-support

        I would suggest that rather than running all of these old versions, it would be better to have a more focused group of more recent HHVM versions with a select group of binary/config combinations.

      • walt commented  · 

        I wouldn't take the following statement from HHVM doc as a recommendation to run in PHP 7 mode. "The vast majority of users will want to just set hhvm.php7.all = 1 to fully enable PHP 7 mode". IMO that statement is saying if you want php 7 mode most will want to just use the specific flag to enable.

        HHVM's PHP 7 mode is still very new and there is very little live use of it. Because PHP 7 mode is so new, HHVM defaults to the PHP 5 mode.

        Maybe rather than having all the versions from 3.12 that can do php 7 mode running both, we just have one at the latest LTS version (currently 3.15)

        - 3.15LTS (php 5 mode)
        - 3.15LTS (php 7 mode)
        with all previous versions runing in the more used and better tested default php 5 mode.

      • AdminSjon Hortensius (Admin, 3v4l) commented  · 

        I'm willing to discuss this; but I'm not yet convinced;

        * Hhvm has a big impact on the script runtime; every binary/config combi I add results in an average of .25s longer execution time.
        * Tthe UI for running the same version with different settings is horrible; I haven't found a good-looking way of doing that.
        * Tthere are a limited number of bugs in php7-mode; but enabling this is recommended by the docs @ https://docs.hhvm.com/hhvm/configuration/INI-settings

      Feedback and Knowledge Base