php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78760 [ZH] "upload-progress" in example should be "upload_progress"
Submitted: 2019-10-30 04:53 UTC Modified: 2019-11-09 15:51 UTC
From: 954093370 at qq dot com Assigned: jhdxr (profile)
Status: Closed Package: Translation problem
PHP Version: 7.3.11 OS: linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: 954093370 at qq dot com
New email:
PHP Version: OS:

 

 [2019-10-30 04:53 UTC] 954093370 at qq dot com
Description:
------------
---
From manual page: https://php.net/session.upload-progress
---
manual:
https://www.php.net/manual/zh/session.upload-progress.php


where:
$key = ini_get("session.upload_progress.prefix") . ini_get("session.upload-progress.name");

is

$key = ini_get("session.upload_progress.prefix") . ini_get("session.upload_progress.name");


Test script:
---------------
<?php
$key = ini_get("session.upload_progress.prefix") . ini_get("session.upload_progress.name");
var_dump($_SESSION[$key]);

Expected result:
----------------
null

Actual result:
--------------
null

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-30 05:00 UTC] requinix@php.net
-Summary: null +Summary: [ZH] "upload-progress" in example should be "upload_progress" -Status: Open +Status: Verified -Package: PHP Language Specification +Package: Translation problem
 [2019-11-09 15:50 UTC] jhdxr@php.net
Automatic comment from SVN on behalf of jhdxr
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=348277
Log: sync with en version
fix #78760
 [2019-11-09 15:51 UTC] jhdxr@php.net
-Status: Verified +Status: Closed -Assigned To: +Assigned To: jhdxr
 [2019-11-09 15:51 UTC] jhdxr@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-12-30 10:47 UTC] nikic@php.net
Automatic comment on behalf of jhdxr
Revision: http://git.php.net/?p=doc/zh.git;a=commit;h=78381fd92b60bd59085c9a8e521cf2477727b38f
Log: sync with en version fix #78760
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC