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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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.


 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Aug 10 16:01:23 2020 UTC