Source

pecl-event / tests / 20-bevent-error.phpt

Ruslan Osmanov a70bed0 







1
2
3
4
5
6
7
8
9
--TEST--
Check for EventBufferEvent::__construct() error behavior
--FILE--
<?php
$b = new EventBufferEvent(new EventBase());
?>
--EXPECTF--

Fatal error: EventBufferEvent::__construct(): EventBase must be passed by reference in %s on line %d