Skip to content

PHP Deprecated, Using null as an array offset is deprecated #537

@GR8DAN

Description

@GR8DAN

I attempted to install Xdebug via PIE on Windows with PHP 8.4 and saw an error:

C:\php>php pie.phar install xdebug/xdebug

Box Requirements Checker
========================

> Using PHP 8.4.10
> PHP is not using any php.ini file.

> Checking Box requirements:
  .......E...

 [ERROR] Your system is not ready to run the application.

Fix the following mandatory requirements:
=========================================

 * The package "composer/ca-bundle" requires the extension "openssl".
   You either need to enable it or request the application to be
   shipped with a polyfill for this extension.

C:\php>

I updated to PHP 8.5.3 and the error became:

C:\php>php pie.phar install xdebug/xdebug
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Box Requirements CheckerPHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

========================PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
> Using PHP 8.5.3PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
> PHP is using the following php.ini file:PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

  C:\php\php.iniPHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
> Checking Box requirements:PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
  .......E...PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

 [ERROR] Your system is not ready to run the application.PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Fix the following mandatory requirements:PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

=========================================PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
 * The package "composer/ca-bundle" requires the extension "openssl". You either need to enable it or
   request the application to be shipped with a polyfill for this extension.
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

C:\php>php pie.phar install xdebug/xdebug
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Box Requirements CheckerPHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

========================PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
> Using PHP 8.5.3PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
> PHP is using the following php.ini file:PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

  C:\php\php.iniPHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
> Checking Box requirements:PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
  .......E...PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

 [ERROR] Your system is not ready to run the application. PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Fix the following mandatory requirements:PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

=========================================PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
 * The package "composer/ca-bundle" requires the extension "openssl". You either need to enable it or
   request the application to be shipped with a polyfill for this extension.
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

Deprecated: Using null as an array offset is deprecated, use an empty string instead in phar://C:/php/pie.phar/.box/src/Printer.php on line 97

C:\php>

Does PIE need to be changed for PHP 8.5?

I fixed the error by copying php.ini-development to php.ini and uncommenting extension_dir = "ext" and extension=openssl. This may need to be added to the Windows install instructions.

Metadata

Metadata

Assignees

Labels

maintainer investigatingThis ticket is being investigated by maintainers. Please check with us before contributing PRs etc!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions