From: Peter Kokot Date: Tue, 14 May 2019 00:59:06 +0000 (+0200) Subject: Convert CRLF to LF X-Git-Tag: php-7.4.0alpha1~272 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63e43e19ea3f47cfbc28b02d0df3f0255d3d2309;p=php Convert CRLF to LF --- diff --git a/Zend/tests/array_unpack/basic.phpt b/Zend/tests/array_unpack/basic.phpt index 0e10638f06..3363c487ec 100644 --- a/Zend/tests/array_unpack/basic.phpt +++ b/Zend/tests/array_unpack/basic.phpt @@ -1,119 +1,119 @@ ---TEST-- -Basic array unpacking ---FILE-- - - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -array(2) { - [0]=> - int(4) - [1]=> - int(5) -} -array(4) { - [0]=> - int(11) - [1]=> - int(12) - [2]=> - int(13) - [3]=> - int(14) -} -array(3) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - [2]=> - string(1) "c" -} -array(15) { - [0]=> - int(0) - [1]=> - int(1) - [2]=> - int(2) - [3]=> - int(3) - [4]=> - int(4) - [5]=> - int(5) - [6]=> - int(6) - [7]=> - int(7) - [8]=> - int(8) - [9]=> - int(9) - [10]=> - int(10) - [11]=> - int(11) - [12]=> - int(12) - [13]=> - int(13) - [14]=> - int(14) -} -array(8) { - [0]=> - int(0) - [1]=> - int(1) - [2]=> - int(2) - [3]=> - int(3) - [4]=> - int(1) - [5]=> - int(2) - [6]=> - int(3) - [7]=> - string(3) "end" -} +--TEST-- +Basic array unpacking +--FILE-- + + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +array(2) { + [0]=> + int(4) + [1]=> + int(5) +} +array(4) { + [0]=> + int(11) + [1]=> + int(12) + [2]=> + int(13) + [3]=> + int(14) +} +array(3) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(1) "c" +} +array(15) { + [0]=> + int(0) + [1]=> + int(1) + [2]=> + int(2) + [3]=> + int(3) + [4]=> + int(4) + [5]=> + int(5) + [6]=> + int(6) + [7]=> + int(7) + [8]=> + int(8) + [9]=> + int(9) + [10]=> + int(10) + [11]=> + int(11) + [12]=> + int(12) + [13]=> + int(13) + [14]=> + int(14) +} +array(8) { + [0]=> + int(0) + [1]=> + int(1) + [2]=> + int(2) + [3]=> + int(3) + [4]=> + int(1) + [5]=> + int(2) + [6]=> + int(3) + [7]=> + string(3) "end" +} diff --git a/Zend/tests/array_unpack/classes.phpt b/Zend/tests/array_unpack/classes.phpt index 349c5d95a8..573c5f1c32 100644 --- a/Zend/tests/array_unpack/classes.phpt +++ b/Zend/tests/array_unpack/classes.phpt @@ -1,46 +1,46 @@ ---TEST-- -Array unpacking with classes ---FILE-- -getMessage() . "\n"; -} ---EXPECT-- -array(5) { - [0]=> - int(0) - [1]=> - int(1) - [2]=> - int(2) - [3]=> - int(3) - [4]=> - int(4) -} -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -Exception: Cannot declare self-referencing constant 'self::B' \ No newline at end of file +--TEST-- +Array unpacking with classes +--FILE-- +getMessage() . "\n"; +} +--EXPECT-- +array(5) { + [0]=> + int(0) + [1]=> + int(1) + [2]=> + int(2) + [3]=> + int(3) + [4]=> + int(4) +} +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +Exception: Cannot declare self-referencing constant 'self::B' diff --git a/Zend/tests/array_unpack/ref1.phpt b/Zend/tests/array_unpack/ref1.phpt index 10b33b8e4f..a43e2fa09f 100644 --- a/Zend/tests/array_unpack/ref1.phpt +++ b/Zend/tests/array_unpack/ref1.phpt @@ -1,17 +1,17 @@ ---TEST-- -Array unpacking with element rc=1 ---FILE-- - (refcount=2, is_ref=1)=1) - -unset($a); //array (0 => (refcount=1, is_ref=1)=1) - -var_dump([...$b]); //array (0 => (refcount=0, is_ref=0)=1) - ---EXPECT-- -array(1) { - [0]=> - int(1) -} +--TEST-- +Array unpacking with element rc=1 +--FILE-- + (refcount=2, is_ref=1)=1) + +unset($a); //array (0 => (refcount=1, is_ref=1)=1) + +var_dump([...$b]); //array (0 => (refcount=0, is_ref=0)=1) + +--EXPECT-- +array(1) { + [0]=> + int(1) +}