projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
back to dev
[m6w6/ext-http]
/
tests
/
object008.phpt
1
--TEST--
2
object normal error2
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
$eh->setErrorHandling(http\Object::EH_NORMAL);
16
$eh->triggerError(E_USER_WARNING, http\Exception::E_UNKNOWN, "warning");
17
18
?>
19
Done
20
--EXPECTF--
21
Test
22
23
Warning: http\Object::triggerError(): warning in %s on line %d
24
Done