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 /tests | |
parent | 895a82695c148f15df1ff6ab2aa9f55f9b3725ad (diff) | |
download | php-git-5af586bec52564e05d8c75ec533e132a9f06e749.tar.gz |
Remove more PHP 6 leftovers from tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic/bug55500.phpt | 18 | ||||
-rw-r--r-- | tests/basic/rfc1867_anonymous_upload.phpt | 20 | ||||
-rw-r--r-- | tests/basic/rfc1867_array_upload.phpt | 30 | ||||
-rw-r--r-- | tests/basic/rfc1867_boundary_1.phpt | 4 | ||||
-rw-r--r-- | tests/basic/rfc1867_boundary_2.phpt | 4 | ||||
-rw-r--r-- | tests/basic/rfc1867_empty_upload.phpt | 40 | ||||
-rw-r--r-- | tests/basic/rfc1867_file_upload_disabled.phpt | 8 | ||||
-rw-r--r-- | tests/basic/rfc1867_max_file_size.phpt | 38 | ||||
-rw-r--r-- | tests/basic/rfc1867_missing_boundary_2.phpt | 12 | ||||
-rw-r--r-- | tests/basic/rfc1867_post_max_filesize.phpt | 36 | ||||
-rw-r--r-- | tests/classes/implicit_instantiation_001.phpt | 26 | ||||
-rw-r--r-- | tests/classes/inheritance_006.phpt | 4 | ||||
-rw-r--r-- | tests/classes/property_recreate_private.phpt | 16 | ||||
-rw-r--r-- | tests/classes/property_recreate_protected.phpt | 8 | ||||
-rw-r--r-- | tests/classes/serialize_001.phpt | 10 | ||||
-rw-r--r-- | tests/classes/static_properties_003.phpt | 4 | ||||
-rw-r--r-- | tests/classes/static_properties_004.phpt | 18 | ||||
-rw-r--r-- | tests/lang/engine_assignExecutionOrder_001.phpt | 16 | ||||
-rw-r--r-- | tests/output/ob_implicit_flush_variation_001.phpt | 12 |
19 files changed, 162 insertions, 162 deletions
diff --git a/tests/basic/bug55500.phpt b/tests/basic/bug55500.phpt index 97eeea2c8c..2f9e393348 100644 --- a/tests/basic/bug55500.phpt +++ b/tests/basic/bug55500.phpt @@ -35,29 +35,29 @@ var_dump($_POST); ?> --EXPECTF-- array(1) { - [%u|b%"file"]=> + ["file"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> array(1) { [0]=> - %unicode|string%(9) "file1.txt" + string(9) "file1.txt" } - [%u|b%"type"]=> + ["type"]=> array(1) { [0]=> - %unicode|string%(16) "text/plain-file1" + string(16) "text/plain-file1" } - [%u|b%"tmp_name"]=> + ["tmp_name"]=> array(1) { [0]=> - %unicode|string%(%d) "%s" + string(%d) "%s" } - [%u|b%"error"]=> + ["error"]=> array(1) { [0]=> int(0) } - [%u|b%"size"]=> + ["size"]=> array(1) { [0]=> int(1) diff --git a/tests/basic/rfc1867_anonymous_upload.phpt b/tests/basic/rfc1867_anonymous_upload.phpt index 361bbbcca7..1612d554cf 100644 --- a/tests/basic/rfc1867_anonymous_upload.phpt +++ b/tests/basic/rfc1867_anonymous_upload.phpt @@ -26,28 +26,28 @@ var_dump($_POST); array(2) { [%d]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(16) "text/plain-file1" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } [%d]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file2.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(16) "text/plain-file2" - [%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/tests/basic/rfc1867_array_upload.phpt b/tests/basic/rfc1867_array_upload.phpt index bbaa5c82ef..90ed0c36e0 100644 --- a/tests/basic/rfc1867_array_upload.phpt +++ b/tests/basic/rfc1867_array_upload.phpt @@ -29,36 +29,36 @@ var_dump($_POST); ?> --EXPECTF-- array(1) { - [%u|b%"file"]=> + ["file"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> array(3) { [0]=> - %unicode|string%(9) "file1.txt" + string(9) "file1.txt" [2]=> - %unicode|string%(9) "file2.txt" + string(9) "file2.txt" [3]=> - %unicode|string%(9) "file3.txt" + string(9) "file3.txt" } - [%u|b%"type"]=> + ["type"]=> array(3) { [0]=> - %unicode|string%(16) "text/plain-file1" + string(16) "text/plain-file1" [2]=> - %unicode|string%(16) "text/plain-file2" + string(16) "text/plain-file2" [3]=> - %unicode|string%(16) "text/plain-file3" + string(16) "text/plain-file3" } - [%u|b%"tmp_name"]=> + ["tmp_name"]=> array(3) { [0]=> - %unicode|string%(%d) "%s" + string(%d) "%s" [2]=> - %unicode|string%(%d) "%s" + string(%d) "%s" [3]=> - %unicode|string%(%d) "%s" + string(%d) "%s" } - [%u|b%"error"]=> + ["error"]=> array(3) { [0]=> int(0) @@ -67,7 +67,7 @@ array(1) { [3]=> int(0) } - [%u|b%"size"]=> + ["size"]=> array(3) { [0]=> int(1) diff --git a/tests/basic/rfc1867_boundary_1.phpt b/tests/basic/rfc1867_boundary_1.phpt index e5321201a5..bea825e797 100644 --- a/tests/basic/rfc1867_boundary_1.phpt +++ b/tests/basic/rfc1867_boundary_1.phpt @@ -18,6 +18,6 @@ var_dump($_POST); array(0) { } array(1) { - [%u|b%"foobar"]=> - %unicode|string%(1) "1" + ["foobar"]=> + string(1) "1" } diff --git a/tests/basic/rfc1867_boundary_2.phpt b/tests/basic/rfc1867_boundary_2.phpt index 88f213fffa..b59fc6db98 100644 --- a/tests/basic/rfc1867_boundary_2.phpt +++ b/tests/basic/rfc1867_boundary_2.phpt @@ -18,6 +18,6 @@ var_dump($_POST); array(0) { } array(1) { - [%u|b%"foobar"]=> - %unicode|string%(1) "1" + ["foobar"]=> + string(1) "1" } diff --git a/tests/basic/rfc1867_empty_upload.phpt b/tests/basic/rfc1867_empty_upload.phpt index 039d994c50..bb6ccee896 100644 --- a/tests/basic/rfc1867_empty_upload.phpt +++ b/tests/basic/rfc1867_empty_upload.phpt @@ -39,49 +39,49 @@ if (is_uploaded_file($_FILES["file3"]["tmp_name"])) { ?> --EXPECTF-- array(3) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(16) "text/plain-file1" - [%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%(0) "" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(0) "" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(0) "" - [%u|b%"error"]=> + ["error"]=> int(4) - [%u|b%"size"]=> + ["size"]=> int(0) } - [%u|b%"file3"]=> + ["file3"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file3.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(16) "text/plain-file3" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } } array(1) { - [%u|b%"foo"]=> - %unicode|string%(0) "" + ["foo"]=> + string(0) "" } string(1) "1" string(1) "3" diff --git a/tests/basic/rfc1867_file_upload_disabled.phpt b/tests/basic/rfc1867_file_upload_disabled.phpt index aa4b5ee0f1..1e1a747372 100644 --- a/tests/basic/rfc1867_file_upload_disabled.phpt +++ b/tests/basic/rfc1867_file_upload_disabled.phpt @@ -27,8 +27,8 @@ var_dump($_POST); array(0) { } array(2) { - [%u|b%"foo"]=> - %unicode|string%(3) "bar" - [%u|b%"bar"]=> - %unicode|string%(3) "foo" + ["foo"]=> + string(3) "bar" + ["bar"]=> + string(3) "foo" } diff --git a/tests/basic/rfc1867_max_file_size.phpt b/tests/basic/rfc1867_max_file_size.phpt index 1b7b9aabee..61fd89f3d2 100644 --- a/tests/basic/rfc1867_max_file_size.phpt +++ b/tests/basic/rfc1867_max_file_size.phpt @@ -39,48 +39,48 @@ if (is_uploaded_file($_FILES["file3"]["tmp_name"])) { ?> --EXPECTF-- array(3) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(16) "text/plain-file1" - [%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%(0) "" - [%u|b%"error"]=> + ["error"]=> int(2) - [%u|b%"size"]=> + ["size"]=> int(0) } - [%u|b%"file3"]=> + ["file3"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file3.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(16) "text/plain-file3" - [%u|b%"tmp_name"]=> + ["tmp_name"]=> %string|unicode%(%d) "%s" - [%u|b%"error"]=> + ["error"]=> int(0) - [%u|b%"size"]=> + ["size"]=> int(1) } } array(1) { - [%u|b%"MAX_FILE_SIZE"]=> + ["MAX_FILE_SIZE"]=> %string|unicode%(1) "1" } string(1) "1" diff --git a/tests/basic/rfc1867_missing_boundary_2.phpt b/tests/basic/rfc1867_missing_boundary_2.phpt index 1c4581c6c3..9cc847f780 100644 --- a/tests/basic/rfc1867_missing_boundary_2.phpt +++ b/tests/basic/rfc1867_missing_boundary_2.phpt @@ -17,17 +17,17 @@ var_dump($_POST); ?> --EXPECTF-- array(1) { - [%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%(0) "" - [%u|b%"error"]=> + ["error"]=> int(3) - [%u|b%"size"]=> + ["size"]=> int(0) } } diff --git a/tests/basic/rfc1867_post_max_filesize.phpt b/tests/basic/rfc1867_post_max_filesize.phpt index da851c417c..89115d0703 100644 --- a/tests/basic/rfc1867_post_max_filesize.phpt +++ b/tests/basic/rfc1867_post_max_filesize.phpt @@ -35,43 +35,43 @@ if (is_uploaded_file($_FILES["file3"]["tmp_name"])) { ?> --EXPECTF-- array(3) { - [%u|b%"file1"]=> + ["file1"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file1.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(16) "text/plain-file1" - [%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%(0) "" - [%u|b%"error"]=> + ["error"]=> int(1) - [%u|b%"size"]=> + ["size"]=> int(0) } - [%u|b%"file3"]=> + ["file3"]=> array(5) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(9) "file3.txt" - [%u|b%"type"]=> + ["type"]=> %string|unicode%(16) "text/plain-file3" - [%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/tests/classes/implicit_instantiation_001.phpt b/tests/classes/implicit_instantiation_001.phpt index 51427df1e8..b0dfe2e8b1 100644 --- a/tests/classes/implicit_instantiation_001.phpt +++ b/tests/classes/implicit_instantiation_001.phpt @@ -134,25 +134,25 @@ Warning: Attempt to assign property of non-object in %s on line 26 --> Resulting object:object(C)#%d (6) { - [%u|b%"boolFalse"]=> + ["boolFalse"]=> object(stdClass)#%d (1) { - [%u|b%"prop"]=> - %unicode|string%(24) " Implicit instantiation!" + ["prop"]=> + string(24) " Implicit instantiation!" } - [%u|b%"emptyString"]=> + ["emptyString"]=> object(stdClass)#%d (1) { - [%u|b%"prop"]=> - %unicode|string%(24) " Implicit instantiation!" + ["prop"]=> + string(24) " Implicit instantiation!" } - [%u|b%"null"]=> + ["null"]=> object(stdClass)#%d (1) { - [%u|b%"prop"]=> - %unicode|string%(24) " Implicit instantiation!" + ["prop"]=> + string(24) " Implicit instantiation!" } - [%u|b%"boolTrue"]=> + ["boolTrue"]=> bool(true) - [%u|b%"nonEmptyString"]=> - %unicode|string%(5) "hello" - [%u|b%"intZero"]=> + ["nonEmptyString"]=> + string(5) "hello" + ["intZero"]=> int(0) } diff --git a/tests/classes/inheritance_006.phpt b/tests/classes/inheritance_006.phpt index 03d1751f3c..3d5c275011 100644 --- a/tests/classes/inheritance_006.phpt +++ b/tests/classes/inheritance_006.phpt @@ -17,8 +17,8 @@ var_dump(new C); ?> --EXPECTF-- object(C)#%d (2) { - [%u|b%"c":%u|b%"B":private]=> + ["c":"B":private]=> NULL - [%u|b%"c":%u|b%"A":private]=> + ["c":"A":private]=> NULL } diff --git a/tests/classes/property_recreate_private.phpt b/tests/classes/property_recreate_private.phpt index 7bee1072f9..b37b974845 100644 --- a/tests/classes/property_recreate_private.phpt +++ b/tests/classes/property_recreate_private.phpt @@ -53,27 +53,27 @@ var_dump($c); --EXPECTF-- Unset and recreate a superclass's private property: object(D)#%d (1) { - [%u|b%"p":%u|b%"C":private]=> - %unicode|string%(7) "changed" + ["p":"C":private]=> + string(7) "changed" } Unset superclass's private property, and recreate it as public in subclass: object(D)#%d (1) { - [%u|b%"p"]=> - %unicode|string%(12) "changed in D" + ["p"]=> + string(12) "changed in D" } Unset superclass's private property, and recreate it as public at global scope: object(D)#%d (1) { - [%u|b%"p"]=> - %unicode|string%(34) "this will create a public property" + ["p"]=> + string(34) "this will create a public property" } Unset and recreate a private property: object(C)#%d (1) { - [%u|b%"p":%u|b%"C":private]=> - %unicode|string%(7) "changed" + ["p":"C":private]=> + string(7) "changed" } Unset a private property, and attempt to recreate at global scope (expecting failure): diff --git a/tests/classes/property_recreate_protected.phpt b/tests/classes/property_recreate_protected.phpt index 357f27c796..3319640e3a 100644 --- a/tests/classes/property_recreate_protected.phpt +++ b/tests/classes/property_recreate_protected.phpt @@ -38,14 +38,14 @@ var_dump($d); --EXPECTF-- Unset and recreate a protected property from property's declaring class scope: object(D)#%d (1) { - [%u|b%"p":protected]=> - %unicode|string%(7) "changed" + ["p":protected]=> + string(7) "changed" } Unset and recreate a protected property from subclass: object(D)#%d (1) { - [%u|b%"p":protected]=> - %unicode|string%(12) "changed in D" + ["p":protected]=> + string(12) "changed in D" } Unset a protected property, and attempt to recreate it outside of scope (expected failure): diff --git a/tests/classes/serialize_001.phpt b/tests/classes/serialize_001.phpt index 142fc50fcd..c228e714e9 100644 --- a/tests/classes/serialize_001.phpt +++ b/tests/classes/serialize_001.phpt @@ -49,17 +49,17 @@ foreach($tests as $data) <?php exit(0); ?> --EXPECTF-- ========== -%unicode|string%(6) "String" +string(6) "String" Test::__construct(String) Test::serialize(String) Test::unserialize(String) object(Test)#%d (1) { - [%u|b%"data"]=> - %unicode|string%(6) "String" + ["data"]=> + string(6) "String" } object(Test)#%d (1) { - [%u|b%"data"]=> - %unicode|string%(6) "String" + ["data"]=> + string(6) "String" } ========== NULL diff --git a/tests/classes/static_properties_003.phpt b/tests/classes/static_properties_003.phpt index 61c9857b58..2aab44d586 100644 --- a/tests/classes/static_properties_003.phpt +++ b/tests/classes/static_properties_003.phpt @@ -41,8 +41,8 @@ Notice: Accessing static property C::$x as non static in %s on line 13 Notice: Accessing static property C::$x as non static in %s on line 15 Notice: Accessing static property C::$x as non static in %s on line 16 -%unicode|string%(3) "ref" -%unicode|string%(5) "C::$x" +string(3) "ref" +string(5) "C::$x" --> Access non-visible static prop like instance prop: bool(false) diff --git a/tests/classes/static_properties_004.phpt b/tests/classes/static_properties_004.phpt index 832711ae01..b0fc2ccebc 100644 --- a/tests/classes/static_properties_004.phpt +++ b/tests/classes/static_properties_004.phpt @@ -21,17 +21,17 @@ var_dump(C::$p, D::$p, E::$p); ==Done== --EXPECTF-- Inherited static properties refer to the same value across classes: -%unicode|string%(8) "original" -%unicode|string%(8) "original" -%unicode|string%(8) "original" +string(8) "original" +string(8) "original" +string(8) "original" Changing one changes all the others: -%unicode|string%(11) "changed.all" -%unicode|string%(11) "changed.all" -%unicode|string%(11) "changed.all" +string(11) "changed.all" +string(11) "changed.all" +string(11) "changed.all" But because this is implemented using PHP references, the reference set can easily be split: -%unicode|string%(11) "changed.all" -%unicode|string%(11) "changed.one" -%unicode|string%(11) "changed.all" +string(11) "changed.all" +string(11) "changed.one" +string(11) "changed.all" ==Done== diff --git a/tests/lang/engine_assignExecutionOrder_001.phpt b/tests/lang/engine_assignExecutionOrder_001.phpt index 1b85cb7e6c..f4d2bbfee9 100644 --- a/tests/lang/engine_assignExecutionOrder_001.phpt +++ b/tests/lang/engine_assignExecutionOrder_001.phpt @@ -84,7 +84,7 @@ Order with array assignment: in f() in g() array(1) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(14) "assigned value" } @@ -93,7 +93,7 @@ Order with object property assignment: in f() in g() object(stdClass)#%d (1) { - [%u|b%"assigned value"]=> + ["assigned value"]=> %string|unicode%(14) "assigned value" } @@ -102,11 +102,11 @@ Order with nested object property assignment: in f() in g() object(stdClass)#%d (1) { - [%u|b%"o1"]=> + ["o1"]=> object(stdClass)#%d (1) { - [%u|b%"o2"]=> + ["o2"]=> object(stdClass)#%d (1) { - [%u|b%"assigned value"]=> + ["assigned value"]=> %string|unicode%(14) "assigned value" } } @@ -117,9 +117,9 @@ Order with dim_list property assignment: in f() in g() object(stdClass)#%d (1) { - [%u|b%"a"]=> + ["a"]=> array(1) { - [%u|b%"assigned value"]=> + ["assigned value"]=> %string|unicode%(14) "assigned value" } } @@ -135,7 +135,7 @@ Order with static array property assignment: in f() in g() array(1) { - [%u|b%"name"]=> + ["name"]=> %string|unicode%(14) "assigned value" } diff --git a/tests/output/ob_implicit_flush_variation_001.phpt b/tests/output/ob_implicit_flush_variation_001.phpt index 19989cc80d..64c911d447 100644 --- a/tests/output/ob_implicit_flush_variation_001.phpt +++ b/tests/output/ob_implicit_flush_variation_001.phpt @@ -156,27 +156,27 @@ NULL NULL --empty string DQ-- -Error: 2 - ob_implicit_flush() expects parameter 1 to be integer, %unicode_string_optional% given, %s(97) +Error: 2 - ob_implicit_flush() expects parameter 1 to be integer, string given, %s(97) NULL --empty string SQ-- -Error: 2 - ob_implicit_flush() expects parameter 1 to be integer, %unicode_string_optional% given, %s(97) +Error: 2 - ob_implicit_flush() expects parameter 1 to be integer, string given, %s(97) NULL --string DQ-- -Error: 2 - ob_implicit_flush() expects parameter 1 to be integer, %unicode_string_optional% given, %s(97) +Error: 2 - ob_implicit_flush() expects parameter 1 to be integer, string given, %s(97) NULL --string SQ-- -Error: 2 - ob_implicit_flush() expects parameter 1 to be integer, %unicode_string_optional% given, %s(97) +Error: 2 - ob_implicit_flush() expects parameter 1 to be integer, string given, %s(97) NULL --mixed case string-- -Error: 2 - ob_implicit_flush() expects parameter 1 to be integer, %unicode_string_optional% given, %s(97) +Error: 2 - ob_implicit_flush() expects parameter 1 to be integer, string given, %s(97) NULL --heredoc-- -Error: 2 - ob_implicit_flush() expects parameter 1 to be integer, %unicode_string_optional% given, %s(97) +Error: 2 - ob_implicit_flush() expects parameter 1 to be integer, string given, %s(97) NULL --instance of classWithToString-- |