Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (15 sloc) 0.294 kb
--TEST--
Bug #18656: E_WARNING errors from is_a() usage in PEAR::isError on PHP 5.4+
--SKIPIF--
<?php
if (!getenv('PHP_PEAR_RUNTESTS')) {
echo 'skip';
}
?>
--FILE--
<?php
require_once 'PEAR.php';
var_dump(PEAR::isError('string to trigger warning', 'PEAR_Error'));
?>
--EXPECT--
bool(false)
Jump to Line
Something went wrong with that request. Please try again.