PHP Versions

Version Management

phpenv 8e2f7b5664f7a772fda0b84ce17ee477a92dfb12

Note: Inspecode does not support .phpenv-version as of now, so that any .phpenv-version files checked-in to your repository are always ignored.

Available Versions

  • 5.4.0 - 5.4.44
  • 5.4.45 5.4
  • 5.4.45e
  • 5.4snapshot
  • 5.5.0 - 5.5.37
  • 5.5.38 5.5
  • 5.5snapshot
  • 5.6.0 - 5.6.39
  • 5.6.40 5 5.6
  • 5.6snapshot
  • 7.0.0 - 7.0.32
  • 7.0.33 7.0
  • 7.0snapshot
  • 7.1.0 - 7.1.32
  • 7.1.33 preinstalled 7.1
  • 7.1snapshot
  • 7.2.0 - 7.2.26
  • 7.2.27 preinstalled 7 7.2
  • 7.2snapshot
  • 7.3.0 - 7.3.14
  • 7.3.14 preinstalled 7.3
  • 7.3snapshot
  • 7.4.0 - 7.4.1
  • 7.4.2 default preinstalled 7.4
  • 7.4snapshot
  • master

Note: Use one of the preinstalled versions as much as possible to get quick results from Inspecode. The other versions will be installed at runtime and it may take a long time (several minutes or more).

YAML Configuration

inspecode:
  experimental:
    runtime:
      php: <string>

See also: Configuration > Global Configuration > [EXPERIMENTAL] Runtime versions.

YAML Examples

  • The latest version of PHP 7.x (7.2.13)

    inspecode:
      experimental:
        runtime:
          php: 7
    
  • The latest version of PHP 7.3 (7.3.0)

    inspecode:
      experimental:
        runtime:
          php: 7.3
    
  • PHP 7.2.1

    inspecode:
      experimental:
        runtime:
          php: 7.2.1
    

results matching ""

    No results matching ""