Source

pecl-event / tests / 16-http-error.phpt

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

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