|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71265 Call to undefined method Thread::globally()
Submitted: 2016-01-02 23:39 UTC Modified: 2017-05-10 11:57 UTC
Avg. Score:3.6 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:1 (33.3%)
From: konstantinos at wgr dot gr Assigned: peehaa (profile)
Status: Closed Package: pthreads (PECL)
PHP Version: 7.0.1 OS: Ubuntu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
28 + 4 = ?
Subscribe to this entry?

 [2016-01-02 23:39 UTC] konstantinos at wgr dot gr
From manual page:

Although threads are working the static method Thread::globally appears not even exists with a fatal error “Call to undefined method Thread::globally()”. The code tested is the code from the example #1 in . 

Test script:


pthreads-php-7-0-1 (last revision 2016-01-02 23:47 UTC by konstantinos at wgr dot gr)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-15 12:46 UTC]
-Status: Open +Status: Verified
 [2016-01-15 12:46 UTC]
As pointed out in the Github repos' README[1] the documentation
has not yet been updated for PHP 7/pthreads 3. And indeed,
Thread::globally() has been removed as of pthreads 3.0.0.

[1] <>
 [2017-05-10 11:57 UTC]
-Status: Verified +Status: Closed -Assigned To: +Assigned To: peehaa
 [2017-05-10 11:57 UTC]
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.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Jul 28 16:01:23 2021 UTC