Skip to content

Bug: preload.php has an echo statement in it that messes up spark command output #9821

Description

@donpwinston

PHP Version

8.1

CodeIgniter4 Version

4.6.0

CodeIgniter4 Installation Method

Composer (using codeigniter4/appstarter)

Which operating systems have you tested for this bug?

Linux

Which server did you use?

apache

Database

No response

What happened?

php spark app:info ci_version
/vendor/codeigniter4/framework/system/....
/vendor/codeigniter4/framework/system/....
/vendor/codeigniter4/framework/system/....
/vendor/codeigniter4/framework/system/....
/vendor/codeigniter4/framework/system/....
...

CodeIgniter v4.6.0 Command Line Tool - Server Time: 2025-12-03 08:57:55 UTC-05:00

4.6.0

Steps to Reproduce

Turn on opcache preload in opcache.ini or php.ini

Expected Output

CodeIgniter v4.6.0 Command Line Tool - Server Time: 2025-12-03 08:57:55 UTC-05:00

4.6.0

Anything else?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions