projects
/
awesomized
/
ext-ion
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
fix #6: compatibility with 8.2
[awesomized/ext-ion]
/
tests
/
serialize
/
resource.phpt
1
--TEST--
2
ion\serialize/resource
3
--EXTENSIONS--
4
ion
5
--FILE--
6
TEST
7
<?php
8
try {
9
ion\serialize(STDOUT);
10
} catch (Throwable $e) {
11
printf("caught %s: %s\n", get_class($e), $e->getMessage());
12
}
13
?>
14
DONE
15
--EXPECTF--
16
TEST
17
caught ion\Exception: Failed to serialize value of type resource
18
DONE