]> granicus.if.org Git - php/commitdiff
remove support for string|unicode in tests
authorGabriel Caruso <carusogabriel34@gmail.com>
Tue, 20 Feb 2018 21:59:13 +0000 (18:59 -0300)
committerJoe Watkins <krakjoe@php.net>
Thu, 22 Feb 2018 07:11:30 +0000 (08:11 +0100)
64 files changed:
Zend/tests/bug46665.phpt
Zend/tests/call_user_func_001.phpt
Zend/tests/call_user_func_005.phpt
Zend/tests/get_required_files.phpt
ext/curl/tests/bug48514.phpt
ext/curl/tests/curl_basic_007.phpt
ext/date/tests/bug46108.phpt
ext/date/tests/strtotime_basic.phpt
ext/date/tests/strtotime_variation_scottish.phpt
ext/imap/tests/imap_binary_basic.phpt
ext/imap/tests/imap_fetch_overview_variation1.phpt
ext/imap/tests/imap_fetch_overview_variation2.phpt
ext/imap/tests/imap_fetch_overview_variation3.phpt
ext/interbase/tests/ibase_close_001.phpt
ext/pcre/tests/bug47229.phpt
ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt
ext/pdo_sqlite/tests/pdo_sqlite_createaggregate.phpt
ext/pdo_sqlite/tests/pdo_sqlite_createfunction.phpt
ext/pdo_sqlite/tests/pdo_sqlite_lastinsertid.phpt
ext/phar/tests/badparameters.phpt
ext/phar/tests/bug46032.phpt
ext/phar/tests/cache_list/copyonwrite17.phar.phpt
ext/phar/tests/cache_list/copyonwrite19.phar.phpt
ext/phar/tests/cache_list/frontcontroller22.phpt
ext/reflection/tests/bug49719.phpt
ext/session/tests/rfc1867.phpt
ext/session/tests/rfc1867_cleanup.phpt
ext/session/tests/rfc1867_disabled.phpt
ext/session/tests/rfc1867_disabled_2.phpt
ext/session/tests/rfc1867_inter.phpt
ext/session/tests/rfc1867_no_name.phpt
ext/session/tests/rfc1867_sid_cookie.phpt
ext/session/tests/rfc1867_sid_get.phpt
ext/session/tests/rfc1867_sid_get_2.phpt
ext/session/tests/rfc1867_sid_invalid.phpt
ext/session/tests/rfc1867_sid_only_cookie.phpt
ext/session/tests/rfc1867_sid_only_cookie_2.phpt
ext/session/tests/rfc1867_sid_post.phpt
ext/snmp/tests/snmp-object-errno-errstr.phpt
ext/snmp/tests/snmp-object-properties.phpt
ext/snmp/tests/snmp3.phpt
ext/soap/tests/bug48557.phpt
ext/spl/tests/SplDoublylinkedlist_offsetunset_first.phpt
ext/spl/tests/SplDoublylinkedlist_offsetunset_last.phpt
ext/spl/tests/SplFixedArray_fromarray_indexes.phpt
ext/spl/tests/SplFixedArray_fromarray_non_indexes.phpt
ext/spl/tests/SplFixedArray_fromarray_param_multiarray.phpt
ext/spl/tests/SplFixedArray_offsetUnset_string.phpt
ext/spl/tests/SplFixedArray_setsize_001.phpt
ext/sqlite3/tests/sqlite3_02_open.phpt
ext/sqlite3/tests/sqlite3_29_createfunction.phpt
ext/sqlite3/tests/sqlite3_31_open.phpt
ext/standard/tests/network/gethostbyname_error006.phpt
ext/standard/tests/strings/bug46578.phpt
ext/standard/tests/strings/bug47443.phpt
ext/standard/tests/strings/bug47481.phpt
ext/xsl/tests/xsltprocessor_getParameter.phpt
run-tests.php
tests/basic/rfc1867_anonymous_upload.phpt
tests/basic/rfc1867_empty_upload.phpt
tests/basic/rfc1867_max_file_size.phpt
tests/basic/rfc1867_missing_boundary_2.phpt
tests/basic/rfc1867_post_max_filesize.phpt
tests/lang/engine_assignExecutionOrder_001.phpt

index 954dbfaefb858bfc20aa93f62ab4da7aae97067c..29491dc26c5c0d50bc0a4ea885465f49aa12ba61 100644 (file)
@@ -13,4 +13,4 @@ new $baz();
 
 ?>
 --EXPECTF--
-%string|unicode%(11) "Foo\Bar\Baz"
+string(11) "Foo\Bar\Baz"
index e9b35f957002748d0d6c7c2a1d4b9da9e70e86e9..b4b29c850a69bde7767841b1ddd60d3d8918b245 100644 (file)
@@ -28,7 +28,7 @@ namespace testing {
 
 ?>
 --EXPECTF--
-%string|unicode%(6) "foobar"
+string(6) "foobar"
 
 Warning: call_user_func() expects parameter 1 to be a valid callback, cannot access private method testing\foo::priv() in %s on line %d
 
index 525b853fbfdf64c13be07e90b930a8615e5807d9..3191a714cc8c2e799ffd15b2c0f69c4e56999379 100644 (file)
@@ -19,7 +19,7 @@ var_dump(call_user_func(array('foo', 'teste')));
 ?>
 --EXPECTF--
 Deprecated: %son-static method foo::teste() should not be called statically in %s on line %d
-%string|unicode%(1) "x"
+string(1) "x"
 array(1) {
   [0]=>
   object(Closure)#%d (1) {
index c2ba3688848d9aa57669fb539d2fd7e6a3a44ad8..eedd21b8758a2c06e45a8f94ba9e32fd527604da 100644 (file)
@@ -12,5 +12,5 @@ var_dump($files);
 --EXPECTF--
 array(1) {
   [0]=>
-  %string|unicode%(%d)%s
+  string(%d)%s
 }
index 0ea25754f1fc977476cdbc90a5b04a7a99e5a47f..66b81097ea29bffc44d2614110f238a2c92d51f4 100644 (file)
@@ -22,6 +22,6 @@ var_dump(get_resource_type($ch2));
 ?>
 --EXPECTF--
 resource(%d) of type (curl)
-%string|unicode%(4) "curl"
+string(4) "curl"
 resource(%d) of type (curl_multi)
-%string|unicode%(10) "curl_multi"
+string(10) "curl_multi"
index b7eba4bc2a2529703fbc23521067013ad6e18094..539da71952301c2f4aae148d64ce5646778dac9f 100644 (file)
@@ -20,5 +20,5 @@ curl_close($ch);
 
 ?>
 --EXPECTF--
-%string|unicode%(%d) "No URL set!%w"
+string(%d) "No URL set!%w"
 int(3)
index c423db3aa25648b30f0679810ff03c5b919030db..08af3356d080b8ea559dcfde576e5a6ddbaf296a 100644 (file)
@@ -11,9 +11,9 @@ var_dump(unserialize(serialize(new Datetime)));
 --EXPECTF--
 object(DateTime)#%d (3) {
   ["date"]=>
-  %string|unicode%(%d) "%s"
+  string(%d) "%s"
   ["timezone_type"]=>
   int(%d)
   ["timezone"]=>
-  %string|unicode%(%d) "America/Sao_Paulo"
+  string(%d) "America/Sao_Paulo"
 }
index 75f66978ab3d10f3aa4300ef255fbb65e42a331c..dec63af97bbba367eba520510d0daf31e2710ccb 100644 (file)
@@ -38,9 +38,9 @@ var_dump(date('Y-m-d', strtotime('second Monday December 2008')));
 var_dump(date('Y-m-d', strtotime('third Monday December 2008')));
 ?>
 --EXPECTF--
-%string|unicode%(10) "2008-12-01"
-%string|unicode%(10) "2008-12-08"
-%string|unicode%(10) "2008-12-15"
-%string|unicode%(10) "2008-12-08"
-%string|unicode%(10) "2008-12-15"
-%string|unicode%(10) "2008-12-22"
+string(10) "2008-12-01"
+string(10) "2008-12-08"
+string(10) "2008-12-15"
+string(10) "2008-12-08"
+string(10) "2008-12-15"
+string(10) "2008-12-22"
index 0b21b2274188e4a93f4471490a9e98273919e36f..0cd642cc823d9cae652aa3c91477fe89cd03df4b 100644 (file)
@@ -9,7 +9,7 @@ Checking whisky time
        var_dump(date('H:i:s', strtotime('front of 19')));
 ?>
 --EXPECTF--
-%string|unicode%(8) "07:15:00"
-%string|unicode%(8) "06:45:00"
-%string|unicode%(8) "19:15:00"
-%string|unicode%(8) "18:45:00"
+string(8) "07:15:00"
+string(8) "06:45:00"
+string(8) "19:15:00"
+string(8) "18:45:00"
index 3deb51a6a6cdbe0065aa49735591fbaaaef3df2e..d0f17aebde8aa9a148dbfdd59c3c46a8927faf15 100644 (file)
@@ -38,11 +38,11 @@ var_dump(bin2hex($base64));
 --EXPECTF--
 *** Testing imap_binary() : basic functionality ***
 Encode as short string
-%string|unicode%(136) "5647687063794270637942686269426c654746746347786c49484e30636d6c755a794230627942695a53426959584e6c49445930494756755932396b0d0a5a57513d0d0a"
+string(136) "5647687063794270637942686269426c654746746347786c49484e30636d6c755a794230627942695a53426959584e6c49445930494756755932396b0d0a5a57513d0d0a"
 Encode a string which results in more than 60 charters of output
-%string|unicode%(200) "56476870637942706379426849477876626d6367633352796157356e4948647064476767636d567a64577830637942706269427462334a6c4948526f0d0a595734674e6a416759326868636d466a64475679637942765a694276645852776458513d0d0a"
+string(200) "56476870637942706379426849477876626d6367633352796157356e4948647064476767636d567a64577830637942706269427462334a6c4948526f0d0a595734674e6a416759326868636d466a64475679637942765a694276645852776458513d0d0a"
 Encode a string with special characters
-%string|unicode%(60) "5879737450587464573130374f30422b497a3876506934384c413d3d0d0a"
+string(60) "5879737450587464573130374f30422b497a3876506934384c413d3d0d0a"
 Encode some hexadecimal data
-%string|unicode%(144) "65444177584867774d5678344d444a636544417a584867774e4678344d445663654441325848684751567834526b4a6365455a4458486847524678340d0a526b566365455a470d0a"
+string(144) "65444177584867774d5678344d444a636544417a584867774e4678344d445663654441325848684751567834526b4a6365455a4458486847524678340d0a526b566365455a470d0a"
 ===Done===
index bcccec6913d77ccd4db7957bdef7496d8ddb676d..38fbccd7ec371afdeeecc5a887560c886b3c80b0 100644 (file)
@@ -172,12 +172,12 @@ NULL
 Warning: imap_fetch_overview() expects parameter 1 to be resource, bool given in %s on line %d
 NULL
 
--- Testing with first argument value: %string|unicode%(0) ""
+-- Testing with first argument value: string(0) ""
 
 Warning: imap_fetch_overview() expects parameter 1 to be resource, string given in %s on line %d
 NULL
 
--- Testing with first argument value: %string|unicode%(0) ""
+-- Testing with first argument value: string(0) ""
 
 Warning: imap_fetch_overview() expects parameter 1 to be resource, string given in %s on line %d
 NULL
@@ -188,17 +188,17 @@ NULL
 Warning: imap_fetch_overview() expects parameter 1 to be resource, array given in %s on line %d
 NULL
 
--- Testing with first argument value: %string|unicode%(6) "string"
+-- Testing with first argument value: string(6) "string"
 
 Warning: imap_fetch_overview() expects parameter 1 to be resource, string given in %s on line %d
 NULL
 
--- Testing with first argument value: %string|unicode%(6) "string"
+-- Testing with first argument value: string(6) "string"
 
 Warning: imap_fetch_overview() expects parameter 1 to be resource, string given in %s on line %d
 NULL
 
--- Testing with first argument value: %string|unicode%(11) "hello world"
+-- Testing with first argument value: string(11) "hello world"
 
 Warning: imap_fetch_overview() expects parameter 1 to be resource, string given in %s on line %d
 NULL
index fbc0319fe84c654dd219bcd0323698301d7373a9..a1b9d71b542134884acddff54660f589d9aaf9b0 100644 (file)
@@ -192,10 +192,10 @@ udate is OK
 -- Testing with second argument value: bool(false)
 Sequence out of range
 
--- Testing with second argument value: %string|unicode%(0) ""
+-- Testing with second argument value: string(0) ""
 Sequence out of range
 
--- Testing with second argument value: %string|unicode%(0) ""
+-- Testing with second argument value: string(0) ""
 Sequence out of range
 
 -- Testing with second argument value: array(0) {
@@ -204,13 +204,13 @@ Sequence out of range
 Warning: imap_fetch_overview() expects parameter 2 to be string, array given in %s on line %d
 Sequence out of range
 
--- Testing with second argument value: %string|unicode%(6) "string"
+-- Testing with second argument value: string(6) "string"
 Syntax error in sequence
 
--- Testing with second argument value: %string|unicode%(6) "string"
+-- Testing with second argument value: string(6) "string"
 Syntax error in sequence
 
--- Testing with second argument value: %string|unicode%(11) "hello world"
+-- Testing with second argument value: string(11) "hello world"
 Syntax error in sequence
 
 -- Testing with second argument value: object(classA)#1 (0) {
index 7bd78d899efef93cc16306fcb3cc9b73dc10e12b..d33b44addb938611d6cfbebf0ca96322eec6b004 100644 (file)
@@ -58,7 +58,7 @@ require_once(dirname(__FILE__).'/clean.inc');
 Create a temporary mailbox and add 1 msgs
 .. mailbox '{%s}%s' created
 
-Testing with option value:%string|unicode%(1) "1"
+Testing with option value:string(1) "1"
 imap_fetch_overview() returns an object
 
 Testing with option value:bool(true)
index cb91e8a75a41f3eb6633d85e33e9239ea100d4f7..80c17314d009f34aadadc2728ca3e7ac94210b26 100644 (file)
@@ -19,5 +19,5 @@ bool(true)
 bool(true)
 bool(true)
 
-Warning: ibase_close() expects parameter 1 to be resource,%string given in %s on line %d
+Warning: ibase_close() expects parameter 1 to be resource, string given in %s on line %d
 NULL
index 96b95a255df4470db5179b72d4e3b22f688abfc3..8edd1c0a5a4e770e0b9de266df25d16ee023bed2 100644 (file)
@@ -20,18 +20,18 @@ var_dump($m);
 
 ?>
 --EXPECTF--
-%string|unicode%(13) "\-oh really\?"
+string(13) "\-oh really\?"
 array(1) {
   [0]=>
-  %string|unicode%(4) "a---"
+  string(4) "a---"
 }
 array(1) {
   [0]=>
-  %string|unicode%(1) "a"
+  string(1) "a"
 }
 array(1) {
   [0]=>
-  %string|unicode%(5) "a----"
+  string(5) "a----"
 }
 array(0) {
 }
index ea6f22c054958b7c75a7cc8b96a397d3b4eab4cb..a538f56983b309b4d60cedc1dd5c1d7255c5bfda 100644 (file)
@@ -75,19 +75,19 @@ var_dump($st->fetchAll(PDO::FETCH_FUNC, array('bar', 'inexistent')));
 --EXPECTF--
 object(PDOStatement)#%d (1) {
   ["queryString"]=>
-  %string|unicode%(21) "SELECT * FROM testing"
+  string(21) "SELECT * FROM testing"
 }
 data: 1, php
 object(PDOStatement)#%d (1) {
   ["queryString"]=>
-  %string|unicode%(21) "SELECT * FROM testing"
+  string(21) "SELECT * FROM testing"
 }
 data: 2, 
 array(2) {
   [0]=>
-  %string|unicode%(3) "PHP"
+  string(3) "PHP"
   [1]=>
-  %string|unicode%(0) ""
+  string(0) ""
 }
 
 Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: function 'nothing' not found or invalid function name in %s on line %d
@@ -106,24 +106,24 @@ Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: class 'PDOSta
 bool(false)
 array(2) {
   [0]=>
-  %string|unicode%(9) "--- 1 ---"
+  string(9) "--- 1 ---"
   [1]=>
-  %string|unicode%(9) "--- 2 ---"
+  string(9) "--- 2 ---"
 }
 array(2) {
   [0]=>
-  %string|unicode%(7) "1---php"
+  string(7) "1---php"
   [1]=>
-  %string|unicode%(4) "2---"
+  string(4) "2---"
 }
 
 Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: cannot access private method bar::test2() in %s on line %d
 bool(false)
 array(2) {
   [0]=>
-  %string|unicode%(7) "1===php"
+  string(7) "1===php"
   [1]=>
-  %string|unicode%(4) "2==="
+  string(4) "2==="
 }
 
 Warning: PDOStatement::fetchAll(): SQLSTATE[HY000]: General error: class 'bar' does not have a method 'inexistent' in %s on line %d
index 975dcd96bdf5967722a4afa3d1bd8f0baf0b6795..54eb06411f959f4a8a81a5210c7cfa3e34625cef 100644 (file)
@@ -25,7 +25,7 @@ $db->query('DROP TABLE foobar');
 --EXPECTF--
 array(2) {
   ["testing(name)"]=>
-  %string|unicode%(2) "12"
+  string(2) "12"
   [0]=>
-  %string|unicode%(2) "12"
+  string(2) "12"
 }
index b6758799806129d3021d9e3499e17b801cad6b0d..13867ae25c0a630a787e8244b8fa20d4406b84fa 100644 (file)
@@ -26,13 +26,13 @@ $db->query('DROP TABLE foobar');
 --EXPECTF--
 array(2) {
   ["testing(name)"]=>
-  %string|unicode%(3) "php"
+  string(3) "php"
   [0]=>
-  %string|unicode%(3) "php"
+  string(3) "php"
 }
 array(2) {
   ["testing(name)"]=>
-  %string|unicode%(4) "php6"
+  string(4) "php6"
   [0]=>
-  %string|unicode%(4) "php6"
+  string(4) "php6"
 }
index 2ff0acd772daa8d4d0252f5548f5d7d7a02e7552..bb4d033ddab4dbbda4416f9c383e71400342b84b 100644 (file)
@@ -19,14 +19,14 @@ $db->query('DROP TABLE foo');
 --EXPECTF--
 object(PDOStatement)#2 (1) {
   ["queryString"]=>
-  %string|unicode%(17) "SELECT * FROM foo"
+  string(17) "SELECT * FROM foo"
 }
 array(3) {
   [0]=>
-  %string|unicode%(5) "00000"
+  string(5) "00000"
   [1]=>
   NULL
   [2]=>
   NULL
 }
-%string|unicode%(1) "2"
+string(1) "2"
index 8564d4f17e263f89fa1a5ba201f3cf00cadeb53f..e8ddb1f62a8942070ed30c9cc95221f71f550275 100644 (file)
@@ -145,13 +145,13 @@ echo $e->getMessage() . "\n";
 ?>
 ===DONE===
 --EXPECTF--
-Warning: Phar::mungServer() expects parameter 1 to be array, %string given in %sbadparameters.php on line %d
+Warning: Phar::mungServer() expects parameter 1 to be array, string given in %sbadparameters.php on line %d
 
 Warning: Phar::createDefaultStub() expects parameter 1 to be a valid path, array given in %sbadparameters.php on line %d
 
 Warning: Phar::loadPhar() expects parameter 1 to be a valid path, array given in %sbadparameters.php on line %d
 
-Warning: Phar::canCompress() expects parameter 1 to be int, %string given in %sbadparameters.php on line %d
+Warning: Phar::canCompress() expects parameter 1 to be int, string given in %sbadparameters.php on line %d
 
 Exception: Phar::__construct() expects parameter 1 to be a valid path, array given in %sbadparameters.php on line %d
 
index a59ddadd43e5a16f7f4db0b3915e8817875c1961..57f3fc2dafcd6cd927f7a99e5916b2c2355c24a5 100644 (file)
@@ -24,8 +24,8 @@ new phardata('0000000000000000000');
 ?>
 ===DONE===
 --EXPECTF--
-%string|unicode%(%d) "%smytest"
-%string|unicode%(%d) "%smytest"
+string(%d) "%smytest"
+string(%d) "%smytest"
 
 Fatal error: Uncaught UnexpectedValueException: Cannot create phar '0000000000000000000', file extension (or combination) not recognised or the directory does not exist in %sbug46032.php:%d
 Stack trace:
index 158c049b147b0929685fdab2c46681c998055dbe..6e13088512e242b0e0fce7be0c14b2aa36ece432 100644 (file)
@@ -10,5 +10,5 @@ phar.readonly=0
 files/write17.phar
 --EXPECTF--
 NULL
-%string|unicode%(2) "hi"
+string(2) "hi"
 ok
\ No newline at end of file
index 6e03554d96cafc104c9afebdff19578052b443dd..4870550c4d096ba02d2528523a31e17a562c89c6 100644 (file)
@@ -10,5 +10,5 @@ phar.readonly=0
 files/write19.phar
 --EXPECTF--
 string(2) "hi"
-%string|unicode%(3) "hi2"
+string(3) "hi2"
 ok
\ No newline at end of file
index 2769b01f2fb571fcba65d010adfdeaccbb8c5a36..82a8389ad5fe2ab1fb7ee1df0d7bed7bfe86f41b 100644 (file)
@@ -14,8 +14,8 @@ files/frontcontroller13.phar
 --EXPECTHEADERS--
 Content-type: text/html; charset=UTF-8
 --EXPECTF--
-%string|unicode%(4) "test"
-%string|unicode%(12) "oof/test.php"
+string(4) "test"
+string(12) "oof/test.php"
 
 Warning: include(./hi.php): failed to open stream: No such file or directory in phar://%s/oof/test.php on line %d
 
index 215140a45a9a98aa023f02a47f7ab11d29b8c35c..f200ce297ca966ad1aceec35b08ab8c2894fc66f 100644 (file)
@@ -40,5 +40,5 @@ var_dump($prop->getValue(new b2));
 bool(false)
 bool(false)
 bool(false)
-%string|unicode%(25) "Property a does not exist"
+string(25) "Property a does not exist"
 int(2)
index be021007d3aff30b0d8ae6adaa2e0d55d9d136eb..21a70c8a28c55df8d1da8efa7b689150d890abe4 100644 (file)
@@ -58,11 +58,11 @@ array(2) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -71,11 +71,11 @@ array(2) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index d18a2d267d63e30c786bb1201a193995033c242b..63b4e4bc0d3ada5e37ac79dbade8ad348a5d325e 100644 (file)
@@ -58,11 +58,11 @@ array(2) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -71,11 +71,11 @@ array(2) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index 973cd5bd5fe7cf29a0de1fbf94fa7c57f338cd60..55707f69073e70ab3c731da2d82a64449356209b 100644 (file)
@@ -51,11 +51,11 @@ array(2) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -64,11 +64,11 @@ array(2) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index bc4b0e6c4038a20e2b1435c362b56fc350ff227a..10afe8f19db81e8d39a2ef5e0cbf87bb73fcca80 100644 (file)
@@ -51,11 +51,11 @@ array(2) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -64,11 +64,11 @@ array(2) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index 431300b6bbb87bf9d581cb8689a6453ec562803a..577591feda2891fe0fbda9756a73c0ccb475d8cc 100644 (file)
@@ -61,11 +61,11 @@ array(2) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -74,11 +74,11 @@ array(2) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index 949e7aaf4b30205e3bb2324e50f621007c363f27..e34f776f12fa02372194be5d70dea1386692a212 100644 (file)
@@ -51,11 +51,11 @@ array(2) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -64,11 +64,11 @@ array(2) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index 28ac2605a6aa0034e1db43462fdbc8cc28dd31fe..6a58172f908422bd52f3ca10b1c2b94b19d9eeb6 100644 (file)
@@ -57,11 +57,11 @@ array(2) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -70,11 +70,11 @@ array(2) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index 93600b4834f3902b148ff268e61547a22f9ac415..089eefe9673c980f969cd290fbc5d48bc0ec1609 100644 (file)
@@ -55,11 +55,11 @@ array(2) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -68,11 +68,11 @@ array(2) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index bb418c7bbf5cee27aa1750192d320a3289a701a6..7cb2ffb17a7665ddfaa38bd0c0450ca0a903e81d 100644 (file)
@@ -57,11 +57,11 @@ array(2) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -70,11 +70,11 @@ array(2) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index 86cff6c08903471f509245619c76156864c5847f..881b1d5bb4aa215e72375a3daf8b8ee74a4efd00 100644 (file)
@@ -65,11 +65,11 @@ array(2) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -78,11 +78,11 @@ array(2) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index 167432a60d03593855a8a229e9207981669a33eb..f8f20fc3d89c47ec6c9fe42953c8e1c30229b6d6 100644 (file)
@@ -57,11 +57,11 @@ array(2) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -70,11 +70,11 @@ array(2) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index e56c31e682f8a2368d256eae2a562fe46e4f0279..e98f4c4e3f7974621c7db99a9cfa9197fc6e3bed 100644 (file)
@@ -54,11 +54,11 @@ array(2) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -67,11 +67,11 @@ array(2) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index 858101c3b78bace57b4d220706d1aac2ecc92dc3..51a97b900e0d6cd9665a83839f2f345bd8dfd946 100644 (file)
@@ -53,11 +53,11 @@ array(2) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -66,11 +66,11 @@ array(2) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index b6047af857f9b5e797eb2636cea01dc8a4970f36..8ea5fe2416a5d9ae52f9c43f4658f5ab1e13eb7f 100644 (file)
@@ -100,21 +100,21 @@ var_dump($session->close());
 ?>
 --EXPECTF--
 SNMP::ERRNO_NOERROR
-%string|unicode%(%d) "%s"
+string(%d) "%s"
 bool(true)
-%string|unicode%(0) ""
+string(0) ""
 SNMP::ERRNO_TIMEOUT
 bool(false)
 bool(true)
-%string|unicode%(%d) "No response from %s"
+string(%d) "No response from %s"
 SNMP::ERRNO_ERROR_IN_REPLY
 bool(false)
 bool(true)
-%string|unicode%(%d) "Error in packet %s"
+string(%d) "Error in packet %s"
 SNMP::ERRNO_GENERIC
 bool(false)
 bool(true)
-%string|unicode%(%d) "Fatal error: Unknown user name"
+string(%d) "Fatal error: Unknown user name"
 bool(false)
 SNMP::ERRNO_OID_PARSING_ERROR
 GET: Single wrong OID
index 40b69683df49e63ed6a0422a1d3914a9697c1827..9e6b0d5956a060071203038378ce2c3eaadd42aa 100644 (file)
@@ -71,7 +71,7 @@ object(SNMP)#%d (%d) {
   ["info"]=>
   array(4) {
     ["hostname"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["port"]=>
     int(%d)
     ["timeout"]=>
@@ -98,7 +98,7 @@ object(SNMP)#%d (%d) {
   ["info"]=>
   array(4) {
     ["hostname"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["port"]=>
     int(%d)
     ["timeout"]=>
@@ -125,7 +125,7 @@ object(SNMP)#%d (%d) {
   ["info"]=>
   array(4) {
     ["hostname"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["port"]=>
     int(%d)
     ["timeout"]=>
@@ -155,7 +155,7 @@ object(SNMP)#%d (%d) {
   ["info"]=>
   array(4) {
     ["hostname"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["port"]=>
     int(%d)
     ["timeout"]=>
@@ -197,7 +197,7 @@ int(3)
 Warning: main(): info property is read-only in %s on line %d
 array(4) {
   ["hostname"]=>
-  %string|unicode%(%d) "%s"
+  string(%d) "%s"
   ["port"]=>
   int(%d)
   ["timeout"]=>
index 49d205fc424e388f0f9666319e4b9d3ce1e0f92e..b863d0e079be45f9205b1de4b4175a83e271cd7d 100644 (file)
@@ -76,50 +76,50 @@ var_dump((snmp3_get($hostname, $rwuser, 'authPriv', 'MD5', $auth_pass, 'AES', $p
 --EXPECTF--
 Working version
 GET single: noAuthNoPriv
-%string|unicode%(%d) "%s"
+string(%d) "%s"
 GET single: MD5
-%string|unicode%(%d) "%s"
+string(%d) "%s"
 GET single: SHA
-%string|unicode%(%d) "%s"
+string(%d) "%s"
 GET single: MD5/AES
-%string|unicode%(%d) "%s"
+string(%d) "%s"
 GET single: MD5/DES
-%string|unicode%(%d) "%s"
+string(%d) "%s"
 GET single: MD5/AES128
-%string|unicode%(%d) "%s"
+string(%d) "%s"
 GET multiple
 array(2) {
   ["%s"]=>
-  %string|unicode%(%d) "%s"
+  string(%d) "%s"
   ["%s"]=>
-  %string|unicode%(%d) "%s"
+  string(%d) "%s"
 }
 GETNEXT single
-%string|unicode%(%d) "%s"
+string(%d) "%s"
 WALK single on single OID
-%string|unicode%(5) "array"
+string(5) "array"
 int(1)
 array(1) {
   [0]=>
-  %string|unicode%(%d) "%s"
+  string(%d) "%s"
 }
 REALWALK single on single OID
-%string|unicode%(5) "array"
+string(5) "array"
 int(1)
 array(1) {
   ["%s"]=>
-  %string|unicode%(%d) "%s"
+  string(%d) "%s"
 }
 WALK multiple on single OID
-%string|unicode%(5) "array"
+string(5) "array"
 int(%d)
 int(0)
-%string|unicode%(%d) "%s"
+string(%d) "%s"
 REALWALK multiple on single OID
-%string|unicode%(5) "array"
+string(5) "array"
 int(%d)
-%string|unicode%(%d) "%s"
-%string|unicode%(%d) "%s"
+string(%d) "%s"
+string(%d) "%s"
 SET single OID
 bool(true)
 bool(true)
index e98c6d13b983c2a6d5dca429a985732824e9cc05..f9a68304b886b392c2db492707a64815d0aec46c 100644 (file)
@@ -59,7 +59,7 @@ array(6) {
   [1]=>
   int(123)
   [-1000]=>
-  %string|unicode%(3) "123"
+  string(3) "123"
   [2]=>
   float(123.5)
   [-2000]=>
index 3e09df848798c69933b908ebb866bbfef61feb77..7d8aa7e621498e4118b10c90ea644668a3d64f8c 100644 (file)
@@ -18,8 +18,8 @@ object(SplDoublyLinkedList)#1 (2) {
   ["dllist":"SplDoublyLinkedList":private]=>
   array(2) {
     [0]=>
-    %string|unicode%(3) "hai"
+    string(3) "hai"
     [1]=>
-    %string|unicode%(4) "thar"
+    string(4) "thar"
   }
 }
index a3482b319b744dedbaab0277c85772399fbd91e1..ac3cade344b82c549a5874909aa99aaa77ed68a6 100644 (file)
@@ -18,8 +18,8 @@ object(SplDoublyLinkedList)#1 (2) {
   ["dllist":"SplDoublyLinkedList":private]=>
   array(2) {
     [0]=>
-    %string|unicode%(2) "oh"
+    string(2) "oh"
     [1]=>
-    %string|unicode%(3) "hai"
+    string(3) "hai"
   }
 }
index 034d45731887d73b82549ec62d9f289c6fbeafd6..a511c63ad8fec243ae6378f873aa0ef397785c06 100644 (file)
@@ -16,7 +16,7 @@ object(SplFixedArray)#1 (4) {
   [1]=>
   int(1)
   [2]=>
-  %string|unicode%(1) "2"
+  string(1) "2"
   [3]=>
   bool(false)
 }
index ecae2ab762e1a0b3de2361e9b3bb746f30375f00..79f74cd5e7ff2152fd0bd1912e73ed233141b21c 100644 (file)
@@ -15,7 +15,7 @@ object(SplFixedArray)#1 (3) {
   [0]=>
   int(1)
   [1]=>
-  %string|unicode%(1) "2"
+  string(1) "2"
   [2]=>
   bool(false)
 }
index 659f61c80d84a72c4145d53e6f2940116906d500..b669563db4bb3da3a49780f39a0e382f49784266 100644 (file)
@@ -12,6 +12,6 @@ object(SplFixedArray)#1 (1) {
   [0]=>
   array(1) {
     [0]=>
-    %string|unicode%(1) "1"
+    string(1) "1"
   }
 }
index 21976b552ca99ab296c46dd2c610a0e3e1d1f241..f422eef26497a602faf03455da7bb6761848c98e 100644 (file)
@@ -21,13 +21,13 @@ PHPNW Testfest 2009 - Paul Court ( g@rgoyle.com )
 --EXPECTF--
 object(SplFixedArray)#1 (5) {
   [0]=>
-  %string|unicode%(14) "PHPNW Testfest"
+  string(14) "PHPNW Testfest"
   [1]=>
-  %string|unicode%(14) "PHPNW Testfest"
+  string(14) "PHPNW Testfest"
   [2]=>
-  %string|unicode%(14) "PHPNW Testfest"
+  string(14) "PHPNW Testfest"
   [3]=>
-  %string|unicode%(14) "PHPNW Testfest"
+  string(14) "PHPNW Testfest"
   [4]=>
   NULL
 }
index 925912ceba2c682b6147fdf1230e3406a56b7597..d9c1469ee2734215352f17e85faf099b72fd4af9 100644 (file)
@@ -16,7 +16,7 @@ var_dump($array);
 --EXPECTF--
 object(SplFixedArray)#1 (2) {
   [0]=>
-  %string|unicode%(3) "one"
+  string(3) "one"
   [1]=>
-  %string|unicode%(3) "two"
+  string(3) "two"
 }
index 87f4b91625914ed675e4324adb59d413ce97e95f..e6dce35dfe8414e57c8822de2c625a8128a0d3a6 100644 (file)
@@ -16,4 +16,4 @@ try {
 
 ?>
 --EXPECTF--
-%string|unicode%(60) "SQLite3::__construct() expects at least 1 parameter, 0 given"
+string(60) "SQLite3::__construct() expects at least 1 parameter, 0 given"
index 6ea000adcd2cabb2c6dbf4c84617e94cd1c61cb1..da48a4f943be0153c6e63a095e5a5d6d8f2e9ebe 100644 (file)
@@ -22,8 +22,8 @@ var_dump($db->querySingle('SELECT strtoupper("tEst")'));
 ?>
 --EXPECTF--
 bool(true)
-%string|unicode%(4) "TEST"
+string(4) "TEST"
 bool(true)
-%string|unicode%(4) "test"
+string(4) "test"
 bool(true)
-%string|unicode%(4) "test"
+string(4) "test"
index 47a08f25faa4fe0c4f7eb57a2324e12b1b9206c9..64db2a79248b9624a89a9585f3bb5c4c68fc4a7f 100644 (file)
@@ -19,4 +19,4 @@ try {
 --CLEAN--
 <?php @unlink(__DIR__ . '/db1.db'); ?>
 --EXPECTF--
-%string|unicode%(29) "Already initialised DB Object"
+string(29) "Already initialised DB Object"
index dc509a1132171e4ebbbf38123ed3a8730e61209c..8a199f6286c4cde61c9f395852b0b6481cdde290 100644 (file)
@@ -7,4 +7,4 @@ gethostbyname() function - basic invalid parameter test
        var_dump(gethostbyname(".toto.toto.toto"));
 ?>
 --EXPECTF--
-%string|unicode%(15) ".toto.toto.toto"
+string(15) ".toto.toto.toto"
index ba9fbbe46045d358fe9c413d22d092cfbaf85960..a5eff1dbe25a3b8ac622e2c701c3dba717aaba7a 100644 (file)
@@ -17,9 +17,9 @@ var_dump(strip_tags('<? ax'));
 
 ?>
 --EXPECTF--
-%string|unicode%(6) "foobar"
-%string|unicode%(6) "foobar"
-%string|unicode%(6) "foobar"
-%string|unicode%(4) "< ax"
-%string|unicode%(0) ""
-%string|unicode%(0) ""
+string(6) "foobar"
+string(6) "foobar"
+string(6) "foobar"
+string(4) "< ax"
+string(0) ""
+string(0) ""
index e30acd80bfe555cb6bae7eb4229bcf87b6f6c998..033aeb4d795bc3845aa4cc8130f7302bd672380d 100644 (file)
@@ -9,6 +9,6 @@ var_dump(metaphone("scratc"));
 
 ?>
 --EXPECTF--
-%string|unicode%(4) "SKRX"
-%string|unicode%(4) "SKR0"
-%string|unicode%(5) "SKRTK"
+string(4) "SKRX"
+string(4) "SKR0"
+string(5) "SKRTK"
index 4c59a7c377b186946f4ac0de6e8ec078b1081440..6cad98ac91b322d588f22f4f328bfe7226d9ecae 100644 (file)
@@ -25,33 +25,33 @@ echo "Done";
 -- Before sorting: --
 array(6) {
   [0]=>
-  %string|unicode%(6) "Süden"
+  string(6) "Süden"
   [1]=>
-  %string|unicode%(7) "spielen"
+  string(7) "spielen"
   [2]=>
-  %string|unicode%(5) "Sonne"
+  string(5) "Sonne"
   [3]=>
-  %string|unicode%(4) "Wind"
+  string(4) "Wind"
   [4]=>
-  %string|unicode%(5) "Regen"
+  string(5) "Regen"
   [5]=>
-  %string|unicode%(4) "Meer"
+  string(4) "Meer"
 }
 
 -- After Sorting: --
 bool(true)
 array(6) {
   [5]=>
-  %string|unicode%(4) "Meer"
+  string(4) "Meer"
   [4]=>
-  %string|unicode%(5) "Regen"
+  string(5) "Regen"
   [2]=>
-  %string|unicode%(5) "Sonne"
+  string(5) "Sonne"
   [1]=>
-  %string|unicode%(7) "spielen"
+  string(7) "spielen"
   [0]=>
-  %string|unicode%(6) "Süden"
+  string(6) "Süden"
   [3]=>
-  %string|unicode%(4) "Wind"
+  string(4) "Wind"
 }
 Done
index 2430bc88a44696ca3eddb169a3bc575507e0d094..ec6378df269b5537e68f720ddf4d58050a653e43 100644 (file)
@@ -13,7 +13,7 @@ $proc->importStylesheet($xsl);
 $proc->setParameter('', 'key', 'value');
 var_dump($proc->getParameter('', 'key'));
 --EXPECTF--
-%string|unicode%(5) "value"
+string(5) "value"
 --CREDITS--
 Christian Weiske, cweiske@php.net
 PHP Testfest Berlin 2009-05-09
index c17a235c1bef41a343c1d834b1de7c9e334afb71..cbef1dc367c020891cee44caa75ab89e24c763a7 100755 (executable)
@@ -2077,27 +2077,7 @@ COMMAND $cmd
                                $startOffset = $end + 2;
                        }
                        $wanted_re = $temp;
-
-                       $wanted_re = str_replace(
-                               array('%binary_string_optional%'),
-                               'string',
-                               $wanted_re
-                       );
-                       $wanted_re = str_replace(
-                               array('%unicode_string_optional%'),
-                               'string',
-                               $wanted_re
-                       );
-                       $wanted_re = str_replace(
-                               array('%unicode\|string%', '%string\|unicode%'),
-                               'string',
-                               $wanted_re
-                       );
-                       $wanted_re = str_replace(
-                               array('%u\|b%', '%b\|u%'),
-                               '',
-                               $wanted_re
-                       );
+                       
                        // Stick to basics
                        $wanted_re = str_replace('%e', '\\' . DIRECTORY_SEPARATOR, $wanted_re);
                        $wanted_re = str_replace('%s', '[^\r\n]+', $wanted_re);
index 1612d554cf6b3c08f17abcdeebfe538f7e9e7f05..5650b5cd5db0927d73d90cfe18b270db626e534a 100644 (file)
@@ -27,11 +27,11 @@ array(2) {
   [%d]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(16) "text/plain-file1"
+    string(16) "text/plain-file1"
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -40,11 +40,11 @@ array(2) {
   [%d]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(16) "text/plain-file2"
+    string(16) "text/plain-file2"
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index bb6ccee896445969f8a923ebd99bf12e3e581c5b..77fe53ea58f86bb24343fbc2b1da05732958b70c 100644 (file)
@@ -42,11 +42,11 @@ array(3) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(16) "text/plain-file1"
+    string(16) "text/plain-file1"
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -55,11 +55,11 @@ array(3) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["error"]=>
     int(4)
     ["size"]=>
@@ -68,11 +68,11 @@ array(3) {
   ["file3"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file3.txt"
+    string(9) "file3.txt"
     ["type"]=>
-    %string|unicode%(16) "text/plain-file3"
+    string(16) "text/plain-file3"
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index 61fd89f3d2c471060a15d5b523363cc71f769b2c..89406a407fd37b1a5ad730d967db974aebd0e82e 100644 (file)
@@ -42,11 +42,11 @@ array(3) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(16) "text/plain-file1"
+    string(16) "text/plain-file1"
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -55,11 +55,11 @@ array(3) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["error"]=>
     int(2)
     ["size"]=>
@@ -68,11 +68,11 @@ array(3) {
   ["file3"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file3.txt"
+    string(9) "file3.txt"
     ["type"]=>
-    %string|unicode%(16) "text/plain-file3"
+    string(16) "text/plain-file3"
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -81,7 +81,7 @@ array(3) {
 }
 array(1) {
   ["MAX_FILE_SIZE"]=>
-  %string|unicode%(1) "1"
+  string(1) "1"
 }
 string(1) "1"
 string(1) "3"
index 9cc847f7804e9eec209e20e2c37a04f20a520625..bdfe977428529075ff96a89ff6e355223532ac1e 100644 (file)
@@ -20,11 +20,11 @@ array(1) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["error"]=>
     int(3)
     ["size"]=>
index 89115d07037fdebe01207f8665819bc79549e1d4..58e05319a13693c4cc18f8b4af99deea9882d01a 100644 (file)
@@ -38,11 +38,11 @@ array(3) {
   ["file1"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file1.txt"
+    string(9) "file1.txt"
     ["type"]=>
-    %string|unicode%(16) "text/plain-file1"
+    string(16) "text/plain-file1"
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -51,11 +51,11 @@ array(3) {
   ["file2"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file2.txt"
+    string(9) "file2.txt"
     ["type"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["tmp_name"]=>
-    %string|unicode%(0) ""
+    string(0) ""
     ["error"]=>
     int(1)
     ["size"]=>
@@ -64,11 +64,11 @@ array(3) {
   ["file3"]=>
   array(5) {
     ["name"]=>
-    %string|unicode%(9) "file3.txt"
+    string(9) "file3.txt"
     ["type"]=>
-    %string|unicode%(16) "text/plain-file3"
+    string(16) "text/plain-file3"
     ["tmp_name"]=>
-    %string|unicode%(%d) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
index f4d2bbfee99fcb0f15b609ec8fc7d6e502f3b6da..627e69ffc5de067d019c697e1412bb134bdc5f8f 100644 (file)
@@ -77,7 +77,7 @@ var_dump(C::$string);
 Order with local assignment:
 in f()
 in g()
-%string|unicode%(14) "assigned value"
+string(14) "assigned value"
 
 
 Order with array assignment:
@@ -85,7 +85,7 @@ in f()
 in g()
 array(1) {
   ["name"]=>
-  %string|unicode%(14) "assigned value"
+  string(14) "assigned value"
 }
 
 
@@ -94,7 +94,7 @@ in f()
 in g()
 object(stdClass)#%d (1) {
   ["assigned value"]=>
-  %string|unicode%(14) "assigned value"
+  string(14) "assigned value"
 }
 
 
@@ -107,7 +107,7 @@ object(stdClass)#%d (1) {
     ["o2"]=>
     object(stdClass)#%d (1) {
       ["assigned value"]=>
-      %string|unicode%(14) "assigned value"
+      string(14) "assigned value"
     }
   }
 }
@@ -120,7 +120,7 @@ object(stdClass)#%d (1) {
   ["a"]=>
   array(1) {
     ["assigned value"]=>
-    %string|unicode%(14) "assigned value"
+    string(14) "assigned value"
   }
 }
 
@@ -128,7 +128,7 @@ object(stdClass)#%d (1) {
 Order with static property assignment:
 in f()
 in g()
-%string|unicode%(14) "assigned value"
+string(14) "assigned value"
 
 
 Order with static array property assignment:
@@ -136,17 +136,17 @@ in f()
 in g()
 array(1) {
   ["name"]=>
-  %string|unicode%(14) "assigned value"
+  string(14) "assigned value"
 }
 
 
 Order with indexed string assignment:
 in getOffset()
 in newChar()
-%string|unicode%(5) "jello"
+string(5) "jello"
 
 
 Order with static string property assignment:
 in getOffset()
 in newChar()
-%string|unicode%(5) "jello"
+string(5) "jello"