diff options
author | Nikita Popov <nikic@php.net> | 2016-11-22 22:12:07 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2016-11-24 22:39:39 +0100 |
commit | 5af586bec52564e05d8c75ec533e132a9f06e749 (patch) | |
tree | cada51fab29d89f724338cdc2ed626ccbee1327d /ext/session/tests | |
parent | 895a82695c148f15df1ff6ab2aa9f55f9b3725ad (diff) | |
download | php-git-5af586bec52564e05d8c75ec533e132a9f06e749.tar.gz |
Remove more PHP 6 leftovers from tests
Diffstat (limited to 'ext/session/tests')
-rw-r--r-- | ext/session/tests/rfc1867.phpt | 74 | ||||
-rw-r--r-- | ext/session/tests/rfc1867_cleanup.phpt | 24 | ||||
-rw-r--r-- | ext/session/tests/rfc1867_disabled.phpt | 24 | ||||
-rw-r--r-- | ext/session/tests/rfc1867_disabled_2.phpt | 24 | ||||
-rw-r--r-- | ext/session/tests/rfc1867_inter.phpt | 74 | ||||
-rw-r--r-- | ext/session/tests/rfc1867_no_name.phpt | 24 | ||||
-rw-r--r-- | ext/session/tests/rfc1867_sid_cookie.phpt | 74 | ||||
-rw-r--r-- | ext/session/tests/rfc1867_sid_get.phpt | 74 | ||||
-rw-r--r-- | ext/session/tests/rfc1867_sid_get_2.phpt | 74 | ||||
-rw-r--r-- | ext/session/tests/rfc1867_sid_invalid.phpt | 24 | ||||
-rw-r--r-- | ext/session/tests/rfc1867_sid_only_cookie.phpt | 74 | ||||
-rw-r--r-- | ext/session/tests/rfc1867_sid_only_cookie_2.phpt | 24 | ||||
-rw-r--r-- | ext/session/tests/rfc1867_sid_post.phpt | 74 |
13 files changed, 331 insertions, 331 deletions
diff --git a/ext/session/tests/rfc1867.phpt b/ext/session/tests/rfc1867.phpt index 6b14bcb4ef..b194c63e86 100644 --- a/ext/session/tests/rfc1867.phpt +++ b/ext/session/tests/rfc1867.phpt @@ -54,76 +54,76 @@ session_destroy(); string(%d) "rfc1867-tests" bool(true) array(2) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } - [%u|b%"file2"]=> + ["file2"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file2.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } } array(5) { - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"content_length"]=> + ["content_length"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(%d) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"files"]=> + ["files"]=> array(2) { [0]=> array(7) { - [%u|b%"field_name"]=> - %unicode|string%(5) "file1" - [%u|b%"name"]=> - %unicode|string%(9) "file1.txt" - [%u|b%"tmp_name"]=> - %unicode|string%(%d) "%s" - [%u|b%"error"]=> + ["field_name"]=> + string(5) "file1" + ["name"]=> + string(9) "file1.txt" + ["tmp_name"]=> + string(%d) "%s" + ["error"]=> int(0) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(1) } [1]=> array(7) { - [%u|b%"field_name"]=> - %unicode|string%(5) "file2" - [%u|b%"name"]=> - %unicode|string%(9) "file2.txt" - [%u|b%"tmp_name"]=> - %unicode|string%(%d) "%s" - [%u|b%"error"]=> + ["field_name"]=> + string(5) "file2" + ["name"]=> + string(9) "file2.txt" + ["tmp_name"]=> + string(%d) "%s" + ["error"]=> int(0) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(1) } } diff --git a/ext/session/tests/rfc1867_cleanup.phpt b/ext/session/tests/rfc1867_cleanup.phpt index f84385bada..69922be2f8 100644 --- a/ext/session/tests/rfc1867_cleanup.phpt +++ b/ext/session/tests/rfc1867_cleanup.phpt @@ -54,30 +54,30 @@ session_destroy(); string(%d) "rfc1867-tests" bool(true) array(2) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } - [%u|b%"file2"]=> + ["file2"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file2.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } } diff --git a/ext/session/tests/rfc1867_disabled.phpt b/ext/session/tests/rfc1867_disabled.phpt index 550ee3a7a2..d894758142 100644 --- a/ext/session/tests/rfc1867_disabled.phpt +++ b/ext/session/tests/rfc1867_disabled.phpt @@ -47,30 +47,30 @@ session_destroy(); --EXPECTF-- string(%d) "rfc1867-tests" array(2) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } - [%u|b%"file2"]=> + ["file2"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file2.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } } diff --git a/ext/session/tests/rfc1867_disabled_2.phpt b/ext/session/tests/rfc1867_disabled_2.phpt index 83e97eeed1..b26736742f 100644 --- a/ext/session/tests/rfc1867_disabled_2.phpt +++ b/ext/session/tests/rfc1867_disabled_2.phpt @@ -47,30 +47,30 @@ session_destroy(); --EXPECTF-- string(%d) "rfc1867-tests" array(2) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } - [%u|b%"file2"]=> + ["file2"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file2.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } } diff --git a/ext/session/tests/rfc1867_inter.phpt b/ext/session/tests/rfc1867_inter.phpt index 4d9b262230..2385f00132 100644 --- a/ext/session/tests/rfc1867_inter.phpt +++ b/ext/session/tests/rfc1867_inter.phpt @@ -57,76 +57,76 @@ session_destroy(); --EXPECTF-- string(%d) "rfc1867-tests" array(2) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } - [%u|b%"file2"]=> + ["file2"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file2.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } } array(5) { - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"content_length"]=> + ["content_length"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(%d) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"files"]=> + ["files"]=> array(2) { [0]=> array(7) { - [%u|b%"field_name"]=> - %unicode|string%(5) "file1" - [%u|b%"name"]=> - %unicode|string%(9) "file1.txt" - [%u|b%"tmp_name"]=> - %unicode|string%(%d) "%s" - [%u|b%"error"]=> + ["field_name"]=> + string(5) "file1" + ["name"]=> + string(9) "file1.txt" + ["tmp_name"]=> + string(%d) "%s" + ["error"]=> int(0) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(1) } [1]=> array(7) { - [%u|b%"field_name"]=> - %unicode|string%(5) "file2" - [%u|b%"name"]=> - %unicode|string%(9) "file2.txt" - [%u|b%"tmp_name"]=> - %unicode|string%(%d) "%s" - [%u|b%"error"]=> + ["field_name"]=> + string(5) "file2" + ["name"]=> + string(9) "file2.txt" + ["tmp_name"]=> + string(%d) "%s" + ["error"]=> int(0) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(1) } } diff --git a/ext/session/tests/rfc1867_no_name.phpt b/ext/session/tests/rfc1867_no_name.phpt index d68a61d929..0b1d36e491 100644 --- a/ext/session/tests/rfc1867_no_name.phpt +++ b/ext/session/tests/rfc1867_no_name.phpt @@ -47,30 +47,30 @@ session_destroy(); --EXPECTF-- string(%d) "rfc1867-tests" array(2) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } - [%u|b%"file2"]=> + ["file2"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file2.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } } diff --git a/ext/session/tests/rfc1867_sid_cookie.phpt b/ext/session/tests/rfc1867_sid_cookie.phpt index 2864799335..542d1b8c65 100644 --- a/ext/session/tests/rfc1867_sid_cookie.phpt +++ b/ext/session/tests/rfc1867_sid_cookie.phpt @@ -53,76 +53,76 @@ session_destroy(); string(%d) "rfc1867-tests" bool(true) array(2) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } - [%u|b%"file2"]=> + ["file2"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file2.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } } array(5) { - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"content_length"]=> + ["content_length"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(%d) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"files"]=> + ["files"]=> array(2) { [0]=> array(7) { - [%u|b%"field_name"]=> - %unicode|string%(5) "file1" - [%u|b%"name"]=> - %unicode|string%(9) "file1.txt" - [%u|b%"tmp_name"]=> - %unicode|string%(%d) "%s" - [%u|b%"error"]=> + ["field_name"]=> + string(5) "file1" + ["name"]=> + string(9) "file1.txt" + ["tmp_name"]=> + string(%d) "%s" + ["error"]=> int(0) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(1) } [1]=> array(7) { - [%u|b%"field_name"]=> - %unicode|string%(5) "file2" - [%u|b%"name"]=> - %unicode|string%(9) "file2.txt" - [%u|b%"tmp_name"]=> - %unicode|string%(%d) "%s" - [%u|b%"error"]=> + ["field_name"]=> + string(5) "file2" + ["name"]=> + string(9) "file2.txt" + ["tmp_name"]=> + string(%d) "%s" + ["error"]=> int(0) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(1) } } diff --git a/ext/session/tests/rfc1867_sid_get.phpt b/ext/session/tests/rfc1867_sid_get.phpt index e3a48a1c13..f9c489699a 100644 --- a/ext/session/tests/rfc1867_sid_get.phpt +++ b/ext/session/tests/rfc1867_sid_get.phpt @@ -51,76 +51,76 @@ session_destroy(); string(%d) "rfc1867-tests" bool(true) array(2) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } - [%u|b%"file2"]=> + ["file2"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file2.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } } array(5) { - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"content_length"]=> + ["content_length"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(%d) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"files"]=> + ["files"]=> array(2) { [0]=> array(7) { - [%u|b%"field_name"]=> - %unicode|string%(5) "file1" - [%u|b%"name"]=> - %unicode|string%(9) "file1.txt" - [%u|b%"tmp_name"]=> - %unicode|string%(%d) "%s" - [%u|b%"error"]=> + ["field_name"]=> + string(5) "file1" + ["name"]=> + string(9) "file1.txt" + ["tmp_name"]=> + string(%d) "%s" + ["error"]=> int(0) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(1) } [1]=> array(7) { - [%u|b%"field_name"]=> - %unicode|string%(5) "file2" - [%u|b%"name"]=> - %unicode|string%(9) "file2.txt" - [%u|b%"tmp_name"]=> - %unicode|string%(%d) "%s" - [%u|b%"error"]=> + ["field_name"]=> + string(5) "file2" + ["name"]=> + string(9) "file2.txt" + ["tmp_name"]=> + string(%d) "%s" + ["error"]=> int(0) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(1) } } diff --git a/ext/session/tests/rfc1867_sid_get_2.phpt b/ext/session/tests/rfc1867_sid_get_2.phpt index e21ca4ca2b..f5e4acd9a3 100644 --- a/ext/session/tests/rfc1867_sid_get_2.phpt +++ b/ext/session/tests/rfc1867_sid_get_2.phpt @@ -53,76 +53,76 @@ session_destroy(); string(%d) "rfc1867-tests" bool(true) array(2) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } - [%u|b%"file2"]=> + ["file2"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file2.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } } array(5) { - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"content_length"]=> + ["content_length"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(%d) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"files"]=> + ["files"]=> array(2) { [0]=> array(7) { - [%u|b%"field_name"]=> - %unicode|string%(5) "file1" - [%u|b%"name"]=> - %unicode|string%(9) "file1.txt" - [%u|b%"tmp_name"]=> - %unicode|string%(%d) "%s" - [%u|b%"error"]=> + ["field_name"]=> + string(5) "file1" + ["name"]=> + string(9) "file1.txt" + ["tmp_name"]=> + string(%d) "%s" + ["error"]=> int(0) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(1) } [1]=> array(7) { - [%u|b%"field_name"]=> - %unicode|string%(5) "file2" - [%u|b%"name"]=> - %unicode|string%(9) "file2.txt" - [%u|b%"tmp_name"]=> - %unicode|string%(%d) "%s" - [%u|b%"error"]=> + ["field_name"]=> + string(5) "file2" + ["name"]=> + string(9) "file2.txt" + ["tmp_name"]=> + string(%d) "%s" + ["error"]=> int(0) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(1) } } diff --git a/ext/session/tests/rfc1867_sid_invalid.phpt b/ext/session/tests/rfc1867_sid_invalid.phpt index 5f337dba0c..60abd270f9 100644 --- a/ext/session/tests/rfc1867_sid_invalid.phpt +++ b/ext/session/tests/rfc1867_sid_invalid.phpt @@ -61,30 +61,30 @@ Warning: Unknown: Failed to write session data (files). Please verify that the c string(%d) "" bool(true) array(2) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } - [%u|b%"file2"]=> + ["file2"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file2.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } } diff --git a/ext/session/tests/rfc1867_sid_only_cookie.phpt b/ext/session/tests/rfc1867_sid_only_cookie.phpt index 41f6761fb9..1254f8e64f 100644 --- a/ext/session/tests/rfc1867_sid_only_cookie.phpt +++ b/ext/session/tests/rfc1867_sid_only_cookie.phpt @@ -53,76 +53,76 @@ session_destroy(); string(%d) "rfc1867-tests" bool(true) array(2) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } - [%u|b%"file2"]=> + ["file2"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file2.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } } array(5) { - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"content_length"]=> + ["content_length"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(%d) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"files"]=> + ["files"]=> array(2) { [0]=> array(7) { - [%u|b%"field_name"]=> - %unicode|string%(5) "file1" - [%u|b%"name"]=> - %unicode|string%(9) "file1.txt" - [%u|b%"tmp_name"]=> - %unicode|string%(%d) "%s" - [%u|b%"error"]=> + ["field_name"]=> + string(5) "file1" + ["name"]=> + string(9) "file1.txt" + ["tmp_name"]=> + string(%d) "%s" + ["error"]=> int(0) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(1) } [1]=> array(7) { - [%u|b%"field_name"]=> - %unicode|string%(5) "file2" - [%u|b%"name"]=> - %unicode|string%(9) "file2.txt" - [%u|b%"tmp_name"]=> - %unicode|string%(%d) "%s" - [%u|b%"error"]=> + ["field_name"]=> + string(5) "file2" + ["name"]=> + string(9) "file2.txt" + ["tmp_name"]=> + string(%d) "%s" + ["error"]=> int(0) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(1) } } diff --git a/ext/session/tests/rfc1867_sid_only_cookie_2.phpt b/ext/session/tests/rfc1867_sid_only_cookie_2.phpt index e705314d69..8b7d710f37 100644 --- a/ext/session/tests/rfc1867_sid_only_cookie_2.phpt +++ b/ext/session/tests/rfc1867_sid_only_cookie_2.phpt @@ -50,30 +50,30 @@ session_destroy(); string(%d) "%s" bool(true) array(2) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } - [%u|b%"file2"]=> + ["file2"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file2.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } } diff --git a/ext/session/tests/rfc1867_sid_post.phpt b/ext/session/tests/rfc1867_sid_post.phpt index 107957f8db..eaa9e1813a 100644 --- a/ext/session/tests/rfc1867_sid_post.phpt +++ b/ext/session/tests/rfc1867_sid_post.phpt @@ -49,76 +49,76 @@ session_destroy(); string(%d) "rfc1867-tests" bool(true) array(2) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } - [%u|b%"file2"]=> + ["file2"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file2.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } } array(5) { - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"content_length"]=> + ["content_length"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(%d) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"files"]=> + ["files"]=> array(2) { [0]=> array(7) { - [%u|b%"field_name"]=> - %unicode|string%(5) "file1" - [%u|b%"name"]=> - %unicode|string%(9) "file1.txt" - [%u|b%"tmp_name"]=> - %unicode|string%(%d) "%s" - [%u|b%"error"]=> + ["field_name"]=> + string(5) "file1" + ["name"]=> + string(9) "file1.txt" + ["tmp_name"]=> + string(%d) "%s" + ["error"]=> int(0) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(1) } [1]=> array(7) { - [%u|b%"field_name"]=> - %unicode|string%(5) "file2" - [%u|b%"name"]=> - %unicode|string%(9) "file2.txt" - [%u|b%"tmp_name"]=> - %unicode|string%(%d) "%s" - [%u|b%"error"]=> + ["field_name"]=> + string(5) "file2" + ["name"]=> + string(9) "file2.txt" + ["tmp_name"]=> + string(%d) "%s" + ["error"]=> int(0) - [%u|b%"done"]=> + ["done"]=> bool(true) - [%u|b%"start_time"]=> + ["start_time"]=> int(%d) - [%u|b%"bytes_processed"]=> + ["bytes_processed"]=> int(1) } } |