php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81320 Missing arginfo warning get_info and get_contents
Submitted: 2021-08-01 18:41 UTC Modified: 2021-09-28 23:57 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: dtcarpenter at comcast dot net Assigned: ramsey (profile)
Status: Closed Package: uploadprogress (PECL)
PHP Version: 8.0.9 OS: Windows 10 21H1
Private report: No CVE-ID: None
 [2021-08-01 18:41 UTC] dtcarpenter at comcast dot net
Description:
------------
Very vanilla PHP 8.0.9 install. Running Apache 2.4 with php8apache2_4.dll. Apache error log generates warnings on startup:

   PHP Warning:  Missing arginfo for uploadprogress_get_info() in Unknown on line 0
   PHP Warning:  Missing arginfo for uploadprogress_get_contents() in Unknown on line 0

From the PHP 8.0 upgrade notes:

   All internal functions and methods are now required to specify arginfo 
   information, otherwise warnings will be thrown on startup.

Warnings may not actually impede functionality, but they do prevent the installation of Composer via the Windows installation file, and may have other side effects.


Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-08-02 15:29 UTC] cmb@php.net
The following pull request has been associated:

Patch Name: Add arginfo to functions
On GitHub:  https://github.com/php/pecl-php-uploadprogress/pull/8
Patch:      https://github.com/php/pecl-php-uploadprogress/pull/8.patch
 [2021-08-02 15:29 UTC] cmb@php.net
-Status: Open +Status: Verified
 [2021-09-28 23:56 UTC] ramsey@php.net
-Assigned To: +Assigned To: ramsey
 [2021-09-28 23:57 UTC] ramsey@php.net
-Status: Verified +Status: Closed
 [2021-09-28 23:57 UTC] ramsey@php.net
This is fixed in uploadprogress version 1.1.4
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 12:01:29 2024 UTC