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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 18:01:31 2024 UTC