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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
15 - 2 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

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-2021 The PHP Group
All rights reserved.
Last updated: Wed Dec 08 05:03:34 2021 UTC