From c7d3c027d5ce45c96c8450a7f074ab2dfbcaa0c4 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Sat, 1 Aug 2015 21:15:37 -0700 Subject: [PATCH] ignore signatures for packages too --- .gitignore | 2 ++ ext/spl/tests/bug70168.phpt | 23 ++++++++++++++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 32d6ae03f8..46cddfb00a 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,8 @@ *.tgz *.tar.gz *.tar.bz2 +*.tar.gz.asc +*.tar.bz2.asc .FBCIndex .FBCLockFolder .deps diff --git a/ext/spl/tests/bug70168.phpt b/ext/spl/tests/bug70168.phpt index 192f0f3dca..e1f7e9f820 100644 --- a/ext/spl/tests/bug70168.phpt +++ b/ext/spl/tests/bug70168.phpt @@ -11,9 +11,26 @@ for($i = 0; $i < 5; $i++) { $v[$i] = 'hi'.$i; } -var_dump($data[1]); +var_dump($data); ?> ===DONE=== ---EXPECT-- -int(1) +--EXPECTF-- +array(2) { + [0]=> + object(SplObjectStorage)#%d (1) { + ["storage":"SplObjectStorage":private]=> + array(1) { + ["%s"]=> + array(2) { + ["obj"]=> + object(stdClass)#2 (0) { + } + ["inf"]=> + NULL + } + } + } + [1]=> + int(1) +} ===DONE=== -- 2.40.0