|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch pthreads-php-7-0-1 for pthreads Bug #71265Patch version 2016-01-02 23:47 UTC Return to Bug #71265 | Download this patchPatch Revisions: Developer: konstantinos@wgr.gr
class My extends Thread {
public function run() {
global $std;
Thread::globally(function(){
$std = new stdClass;
});
var_dump($std);
}
}
$my = new My();
$my->start();
// result: PHP Fatal error: Uncaught Error: Call to undefined method Thread::globally()
|
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 16:00:02 2025 UTC |