projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
tests: skip tests with dynamic properties in PHP-8.2
[m6w6/ext-pq]
/
tests
/
lob001.phpt
diff --git
a/tests/lob001.phpt
b/tests/lob001.phpt
index 990d6f02a774e7df01f94afa845ce6e4985e35d9..19587e1e2d37c15eb458d0c358c13adbc79f8799 100644
(file)
--- a/
tests/lob001.phpt
+++ b/
tests/lob001.phpt
@@
-20,7
+20,7
@@
var_dump($lob->tell());
$lob->seek(0, SEEK_SET);
$dat = $lob->read(filesize(__FILE__));
$lob->seek(0, SEEK_SET);
$dat = $lob->read(filesize(__FILE__));
-var_dump(
hash("md5", $dat)==hash_file("md5",
__FILE__));
+var_dump(
md5($dat)===md5_file(
__FILE__));
$lob->truncate(5);
$lob->truncate(5);
@@
-35,7
+35,7
@@
DONE
--EXPECTF--
Test
bool(true)
--EXPECTF--
Test
bool(true)
-int(4
89
)
+int(4
74
)
bool(true)
string(5) "%c?php"
DONE
bool(true)
string(5) "%c?php"
DONE