Doc #78760 [Opn->Ver]: [ZH] "upload-progress" in example should be "upload_progress"
| From: | requinix@php.net | Date: | Wed, 30 Oct 2019 05:00:25 +0000 |
| Subject: | Doc #78760 [Opn->Ver]: [ZH] "upload-progress" in example should be "upload_progress" | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17038@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78760&edit=1
ID: 78760
Updated by: requinix@php.net
Reported by: 954093370 at qq dot com
-Summary: null
+Summary: [ZH] "upload-progress" in example should be
"upload_progress"
-Status: Open
+Status: Verified
Type: Documentation Problem
-Package: PHP Language Specification
+Package: Translation problem
Operating System: linux
PHP Version: 7.3.11
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2019-10-30 04:53:43] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78760&edit=1