Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[6.x] Use of undefined constant STDOUT #30571

@lazosweb

Description

@lazosweb
  • Laravel Version: 6.5.1
  • PHP Version: 7.3.11
  • Database Driver & Version:
  • OS: Windows Server 2016
  • IIS: 10

Description:

Symfony Console 4.3.7 introduced a new method to return whether STDOUT has vt100 support (some Windows 10+ configurations)

When calling from a controller Artisan::call("demo:command");

This method errors with the following "Use of undefined constant STDOUT - assumed 'STDOUT' (this will throw an Error in a future version of PHP)"

Steps To Reproduce:

Call an artisan command from a controller on a Windows 2016 Server and IIS 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions