Source

pecl-event / tests / 15-dnsbase-error.phpt

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

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