Am 19.08.2011 13:12, schrieb Jonathan Bond-Caron:
On Thu Aug 4 09:54 PM, Raymond Irving wrote:
Hello,

I came across this little library called TameJS (http://tamejs.org/)
and fell in love with the it's syntax. This had me thinking if it was
possible to add such features to a PHP CLI (or web app):


Thanks for sharing, never heard of tame. Love the await{} block

await {
   mysql_query_async($sql, $args, defer($rs));
   curl_post_async($url,$data, defer($response));
}
$rows = $rs->fetchAll();

http://de.php.net/manual/en/mysqli.query.php

[...]
With *MYSQLI_ASYNC (available with mysqlnd)*, it is possible to perform query asynchronously. mysqli_poll() is then used to get results from such queries.
[...]

PG should have similar functionality.


Ulf

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to