Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72809 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78255 invoked from network); 25 Feb 2014 16:43:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Feb 2014 16:43:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=ingwie2000@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ingwie2000@googlemail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 74.125.83.45 as permitted sender) X-PHP-List-Original-Sender: ingwie2000@googlemail.com X-Host-Fingerprint: 74.125.83.45 mail-ee0-f45.google.com Received: from [74.125.83.45] ([74.125.83.45:36349] helo=mail-ee0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 81/A0-09491-E18CC035 for ; Tue, 25 Feb 2014 11:43:11 -0500 Received: by mail-ee0-f45.google.com with SMTP id d17so414914eek.4 for ; Tue, 25 Feb 2014 08:43:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=yVT0yFpnvM1EQVaIjRutY/4pGMn4syptulfMNJq/bek=; b=uOzDbLRaW/rhmE4N1B3OYhB0XEgbH3V1yaEUXb0BuqmXyO4zdrW1gHanaecbyM5Nm7 +gTkk3dJq2Egl/gFJHpM8heFOIB3c5fMt0yNL1rq94pBuOK1cisR6kAkUA+jz5DAZ9rr YH/vCQaezYSHqICdjMNxsHjMWzTIYLx6KBxp5M05e/yKqrPLb4y0lnHScUQg6rUII2Pp m+sa5aktyV6DYF5OqlzxwCmqWQPGT4FrXbH+rISM0Yyo2G+EdhUQ115LyVgpWXx0v0/0 2anB3gYm7qxQMHoWDsPwbEQimbnigUm5YEQyObpvgqCaY4tSl14JoI6IbxqGcksZZs7S vhkA== X-Received: by 10.15.67.201 with SMTP id u49mr812853eex.1.1393346588308; Tue, 25 Feb 2014 08:43:08 -0800 (PST) Received: from [192.168.200.19] (dslb-088-069-040-226.pools.arcor-ip.net. [88.69.40.226]) by mx.google.com with ESMTPSA id j41sm78204090eeg.10.2014.02.25.08.43.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 08:43:07 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Message-ID: Date: Tue, 25 Feb 2014 17:43:06 +0100 To: internals Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) X-Mailer: Apple Mail (2.1822) Subject: Async operating in PHP From: ingwie2000@googlemail.com (Kevin Ingwersen) Hey. For a long time now, I have been using nodejs and its async methods. I = am even working on bridging nodejs and PHP via a native addon=85but = thats more complex for another thread. But, as I used nodejs, I enjoyed of being able to just push a callback = into the event loop, so I could continue my code, while a heavier = operation is sent to the background. Will PHP ever have this? That would certainly be very interesting to = have, the option to just push away a bigger task. Kind regards, Ingwie.=