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.grclass 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-2024 The PHP Group All rights reserved. |
Last updated: Fri Dec 27 07:01:28 2024 UTC |