projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
typo
[m6w6/ext-http]
/
tests
/
object002.phpt
1
--TEST--
2
object instance error handling
3
--SKIPIF--
4
<?php
5
include "skipif.inc";
6
?>
7
--FILE--
8
<?php
9
10
echo "Test\n";
11
12
class eh extends http\Object {}
13
14
$eh = new eh;
15
var_dump(null === $eh->getErrorHandling());
16
$eh->setErrorHandling(eh::EH_SUPPRESS);
17
var_dump(eh::EH_SUPPRESS === $eh->getErrorHandling());
18
19
?>
20
Done
21
--EXPECT--
22
Test
23
bool(true)
24
bool(true)
25
Done