On 01/09/2013 08:40 PM, Antony Dovgal wrote:
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 ?
No, "event", another one :) I'd like to write it from scratch.
--
Regards,
Ruslan Osmanov
http://osmanov-dev-notes.blogspot.com | @ruslan_osmanov
--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php