Skip to content

Commit 64651de

Browse files
committed
issue fix in msgpack
1 parent 3bd98dd commit 64651de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/types.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function types_simple_test ($m, $options)
7777
}
7878
}
7979

80-
memc_run_test ('types_simple_test', memc_get_serializer_options (true));
80+
memc_run_test ('types_simple_test', memc_get_serializer_options (version_compare(phpversion("msgpack"), "0.5.5", "<=")));
8181

8282
?>
8383
--EXPECT--

tests/types_multi.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function types_test ($m, $options)
6666
}
6767
}
6868

69-
memc_run_test ('types_test', memc_get_serializer_options (true));
69+
memc_run_test ('types_test', memc_get_serializer_options (version_compare(phpversion("msgpack"), "0.5.5", "<=")));
7070

7171
?>
7272
--EXPECT--

0 commit comments

Comments
 (0)