projects
/
awesomized
/
ext-ion
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
ed74080
)
tests: unserialize($stream)
author
Michael Wallner
<mike@php.net>
Mon, 10 Jan 2022 14:34:35 +0000
(15:34 +0100)
committer
Michael Wallner
<mike@php.net>
Mon, 10 Jan 2022 14:34:35 +0000
(15:34 +0100)
tests/unserialize/stream.phpt
[new file with mode: 0644]
patch
|
blob
diff --git a/tests/unserialize/stream.phpt
b/tests/unserialize/stream.phpt
new file mode 100644
(file)
index 0000000..
96a21bb
--- /dev/null
+++ b/
tests/unserialize/stream.phpt
@@ -0,0
+1,17
@@
+--TEST--
+ion\unserialize/stream
+--EXTENSIONS--
+ion
+--FILE--
+TEST
+<?php
+$s = fopen("php://temp", "w+");
+fwrite($s, "123");
+rewind($s);
+var_dump(ion\unserialize($s));
+?>
+DONE
+--EXPECTF--
+TEST
+int(123)
+DONE