On 2013-01-09 15:23, Ruslan Osmanov wrote:
On 01/09/2013 04:19 PM, Johannes Schlüter wrote:
       * You are using resources, that is fine while we tend to use
         objects instead.

johannes

That's interesting. Is it better to use class objects instead of
resources? I'm implementing event extension wrapping libevent. It will
export around 7 resource types.

$base = event_base_new();
$event = event_new($base, ...);
event_add($event, 4.23);
etc.

Ermm.. http://php.net/libevent ?

--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime profiling for PHP

--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to