|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68502 execution sequence is wrong on the ISAPI
Submitted: 2014-11-26 08:58 UTC Modified: 2014-11-26 17:34 UTC
From: hewei986532 at sina dot com Assigned:
Status: Not a bug Package: *Web Server problem
PHP Version: 5.4Git-2014-11-26 (Git) OS: centos
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: hewei986532 at sina dot com
New email:
PHP Version: OS:


 [2014-11-26 08:58 UTC] hewei986532 at sina dot com
The result is wrong when access test script which is Similar to the Singleton.php example file  In the browser to access .Then it's correct on the cli.

Pthread is a great progress for phper。

Test script:

class test {
    public static function hello()
        return true;

if (test::hello()) {
    if (test::hello()) {

class UserThread extends Thread {

    public function run () {
        if (test::hello()) {
            if (test::hello()) {

$thread = new UserThread();

Expected result:
...1 ...2 ...3 ...4 

Actual result:
...3 ...4 ...1 ...2 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-11-26 17:34 UTC]
-Status: Open +Status: Not a bug
 [2014-11-26 17:34 UTC]
Please reopen this bug against the pthreads extension, rather than PHP itself:
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Dec 06 16:01:27 2023 UTC