Req #53315 [Opn->Bgs]: can php support threading?

From: Date: Mon, 15 Nov 2010 09:53:21 +0000
Subject: Req #53315 [Opn->Bgs]: can php support threading?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-156043@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53315&edit=1 ID: 53315 Updated by: pajoye@php.net Reported by: yangqingrong at gmail dot com Summary: can php support threading? -Status: Open +Status: Bogus Type: Feature/Change Request Package: Unknown/Other Function Operating System: all PHP Version: 5.3.3 Block user comment: N New Comment: http://www.php.net/pcntl Previous Comments: ------------------------------------------------------------------------ [2010-11-15 10:50:49] yangqingrong at gmail dot com Description: ------------ Hi sir: I am a php programmer work in php area for more than 3 years.i have a suggestion about threading for you. i found than php doesn't support threading. could you develop threading in the new version? i think the threading will like this: <?php using namespace Php.Threading; class MyThread extends Thread { public $num; public function __construct() { } public function run() { echo $num . "\n"; } } $thread1 = new MyThread(); $thread2 = new MyThread(); $thread1->start(); $thread2->start(); ?> Yang Qing-rong http://www.wudimei.com ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53315&edit=1

« previous php.bugs (#156043) next »