php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #76134 [ZH] 执行结果不同
Submitted: 2018-03-22 02:57 UTC Modified: 2018-11-16 16:40 UTC
From: tiantian1712 at 126 dot com Assigned: daijie (profile)
Status: Closed Package: Translation problem
PHP Version: 7.1.15 OS: windows
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: tiantian1712 at 126 dot com
New email:
PHP Version: OS:

 

 [2018-03-22 02:57 UTC] tiantian1712 at 126 dot com
Description:
------------
手册地址 http://php.net/manual/zh/language.oop5.basic.php

xample #2 $this 伪变量的示例

在php5.6 执行结果同手册一样

$this is defined (A)
$this is not defined.
$this is defined (B)
$this is not defined.

在php7.0> 执行结果

$this is defined (A)
$this is not defined.
$this is not defined.
$this is not defined.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-03-22 12:47 UTC] cmb@php.net
-Summary: 执行结果不同 +Summary: [ZH] 执行结果不同 -Package: Documentation problem +Package: Translation problem
 [2018-11-16 16:38 UTC] daijie@php.net
Automatic comment from SVN on behalf of daijie
Revision: http://svn.php.net/viewvc/?view=revision&revision=345994
Log: Fix #76134 [ZH] 执行结果不同
 [2018-11-16 16:40 UTC] daijie@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: daijie
 [2018-11-16 16:40 UTC] daijie@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.


 [2020-12-30 10:47 UTC] nikic@php.net
Automatic comment on behalf of daijie
Revision: http://git.php.net/?p=doc/zh.git;a=commit;h=34c621a9dd9c8a63b935cd95965b75c4988da5ce
Log: Fix #76134 [ZH] 执行结果不同
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 13:01:29 2024 UTC