Source

pecl-event / tests / 14-httpconn-error.phpt

1
2
3
4
5
6
7
8
9
--TEST--
Check for EventHttpConnection::__construct() error behavior
--FILE--
<?php
$e = new EventHttpConnection(new EventBase(), NULL, '10.10.0.1', 9899);
?>
--EXPECTF--

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