--TEST-- Check for eio_custom function basic behaviour --SKIPIF-- --FILE-- 1001, 'data_modified' => "my custom data", ); return $result; } $data = "my_custom_data"; $req = eio_custom("my_custom", 0, "my_custom_callback", $data); var_dump($req); eio_event_loop(); ?> --CLEAN-- --EXPECTF-- resource(%d) of type (EIO Request Descriptor) string(14) "my_custom_data" string(14) "my_custom_data" int(2) string(14) "my custom data" int(1001)