Doc->Bug #75008 [Opn->Sus]: [KR] Example code error
| From: | cmb@php.net | Date: | Thu, 03 Aug 2017 12:41:05 +0000 |
| Subject: | Doc->Bug #75008 [Opn->Sus]: [KR] Example code error | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14882@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75008&edit=1
ID: 75008
Updated by: cmb@php.net
Reported by: prioriqz at gmail dot com
-Summary: Example code error
+Summary: [KR] Example code error
-Status: Open
+Status: Suspended
-Type: Documentation Problem
+Type: Bug
-Package: Documentation problem
+Package: Translation problem
Operating System: irrelevant
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Well, the Korean translation should have been removed due to being
out-dated.[1] Therefore, I'm suspending this ticket.
[1] <https://github.com/php/web-php/pull/113>
Previous Comments:
------------------------------------------------------------------------
[2017-07-31 05:14:34] prioriqz at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.preg-match
---
In Korean language page: http://php.net/manual/kr/function.preg-match.php
Example #4 code has errors
see below
<?php
$str = 'foobar: 2008';
preg_match('/(?<name>\w+): (?<digit>\d+/', $str, $matches);
print_r($matches);
?>
expected code
<?php
$str = 'foobar: 2008';
preg_match('/(?<name>\w+): (?<digit>\d+)/', $str, $matches);
print_r($matches);
?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75008&edit=1