|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69148 Class member malfunction
Submitted: 2015-02-28 21:33 UTC Modified: 2015-03-26 12:26 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: ordinaryparksee at gmail dot com Assigned:
Status: Not a bug Package: pthreads (PECL)
PHP Version: 5.6Git-2015-02-28 (snap) OS: Ubuntu14.10 Server
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.
Block user comment
Status: Assign to:
Bug Type:
From: ordinaryparksee at gmail dot com
New email:
PHP Version: OS:


 [2015-02-28 21:33 UTC] ordinaryparksee at gmail dot com
Different result return between extending Thread class and not.

Test script:
class Test extends Thread
    protected $member;
    public function __construct($member = null)
        $this->member = $member;
        $this->member->text = 'changed text';
class Text
    public $text = 'this is text';
$text = new Text();
$test = new Test($text);
echo $text->text.PHP_EOL;

Expected result:
changed text

Actual result:
this is text


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-03-02 00:23 UTC] cmbecker69 at gmx dot de
This is not a bug.

Please consult the pthreads documentation on[1] and
consider to ask for support on an appropriate mailing list or
newsgroup[2] or another support forum.

[1] <>
[2] <>
 [2015-03-26 12:26 UTC]
-Status: Open +Status: Not a bug
 [2015-03-26 12:26 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Aug 03 15:01:23 2021 UTC