php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77964 [JA] documentation miss
Submitted: 2019-05-03 14:21 UTC Modified: 2019-05-03 14:44 UTC
From: abcdcba123456789 at gmail dot com Assigned:
Status: Closed Package: Translation problem
PHP Version: 7.2.18 OS: Windows10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: abcdcba123456789 at gmail dot com
New email:
PHP Version: OS:

 

 [2019-05-03 14:21 UTC] abcdcba123456789 at gmail dot com
Description:
------------
---
From manual page: https://php.net/function.explode
---

I read the Japanese manual of function explode()
That manual sed, this script explode() returned "abc"
But now returned "\n"!

That is a Bug or Japanese documentation miss!

Test script:
---------------
<?php

$a="abc";
$b=explode($a,"\n");
echo($b[0]);



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-05-03 14:35 UTC] peehaa@php.net
-Status: Open +Status: Feedback
 [2019-05-03 14:35 UTC] peehaa@php.net
There is no occurrence of "abc" nor "\n" in the Japanese version of that page.
 [2019-05-03 14:38 UTC] cmb@php.net
-Summary: Japanese documentation miss or Bug? +Summary: [JA] documentation miss -Package: Documentation problem +Package: Translation problem
 [2019-05-03 14:38 UTC] cmb@php.net
The parameter order is wrong in the test script.
 [2019-05-03 14:39 UTC] peehaa@php.net
Which is afaict is what both the note and the signature is telling OP?
 [2019-05-03 14:44 UTC] abcdcba123456789 at gmail dot com
-Status: Feedback +Status: Closed
 [2019-05-03 14:44 UTC] abcdcba123456789 at gmail dot com
Sorry, I missed the parameter.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Aug 10 16:01:23 2020 UTC