Bug #68502 [NEW]: execution sequence is wrong on the ISAPI
| From: | hewei986532 at sina dot com | Date: | Wed, 26 Nov 2014 08:58:47 +0000 |
| Subject: | Bug #68502 [NEW]: execution sequence is wrong on the ISAPI | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-188796@lists.php.net to get a copy of this message | ||
From: hewei986532 at sina dot com
Operating system: centos
PHP version: 5.4Git-2014-11-26 (Git)
Package: *Web Server problem
Bug Type: Bug
Bug description:execution sequence is wrong on the ISAPI
Description:
------------
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:
---------------
<?php
class test {
public static function hello()
{
return true;
}
}
if (test::hello()) {
printf("...1\n");
if (test::hello()) {
printf("...2\n");
}
}
class UserThread extends Thread {
public function run () {
if (test::hello()) {
printf("...3\n");
if (test::hello()) {
printf("...4\n");
}
}
}
}
$thread = new UserThread();
$thread->start();
Expected result:
----------------
...1 ...2 ...3 ...4
Actual result:
--------------
...3 ...4 ...1 ...2
--
Edit bug report at https://bugs.php.net/bug.php?id=68502&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68502&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68502&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68502&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68502&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68502&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68502&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68502&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68502&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68502&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68502&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68502&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68502&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68502&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68502&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68502&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68502&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68502&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68502&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68502&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68502&r=mysqlcfg