--- parser3/tests/results/432.processed 2024/10/22 21:58:56 1.2 +++ parser3/tests/results/432.processed 2024/12/11 01:31:37 1.5 @@ -1,6 +1,6 @@ -Content-Type: text/html -Content-Length: 4463 - +Content-Type: text/html +Content-Length: 4427 +

Empty hash ($a[^hash::create[]])

first:last='':''
first_key:last_key='':''
@@ -75,8 +75,8 @@ first_key:last_key='2':'5'
^a._at[]=native method of 'array' accepts minimum 1 parameter(s) (0 present)
^a._at[first;key;hren]=native method of 'array' accepts maximum 2 parameter(s) (3 present)
^a._at(1){code}=type must be string (parameter #2)
-^a._at(1)(true)=is 'bool', it has no string representation
-^a._at[hren]=whence must be 'first', 'last' or expression
+^a._at(1)(true)=type must be string (parameter #2)
+^a._at[hren]=index must be 'first', 'last' or expression
^a._at[first][hren]=type must be 'key', 'value' or 'hash'
^a._at[last][hren]=type must be 'key', 'value' or 'hash'
^a._at(1)[hren]=type must be 'key', 'value' or 'hash'
@@ -105,19 +105,19 @@ first_key:last_key='2':'5'
^a._at(3)[value]=d
^a._at(4)[value]=e

-^a._at(0)[hash]='100':'a'
-^a._at(1)[hash]='101':'b'
-^a._at(2)[hash]='102':'c'
-^a._at(3)[hash]='103':'d'
-^a._at(4)[hash]='104':'e'
-^a._at[first;hash]='100':'a'
-^a._at[last;hash]='104':'e'
+^a._at(0)[hash]='0':'a'
+^a._at(1)[hash]='1':'b'
+^a._at(2)[hash]='2':'c'
+^a._at(3)[hash]='3':'d'
+^a._at(4)[hash]='4':'e'
+^a._at[first;hash]='0':'a'
+^a._at[last;hash]='4':'e'

The first element was replaced ($a.1[b&b])

-^a._at[first;hash]='100':'a'
+^a._at[first;hash]='0':'a'
^a._at(0)[key]=0
^a._at(0)[value]=a
-^a._at(0)[hash]='100':'a'
+^a._at(0)[hash]='0':'a'

One element was added at the end ($a.100[^taint[d&d]])

^a._at(5)[key]=100
^a._at(5)[value]=d&d
@@ -127,8 +127,8 @@ first_key:last_key='2':'5'
^a._at[]=native method of 'array' accepts minimum 1 parameter(s) (0 present)
^a._at[first;key;hren]=native method of 'array' accepts maximum 2 parameter(s) (3 present)
^a._at(1){code}=type must be string (parameter #2)
-^a._at(1)(true)=is 'bool', it has no string representation
-^a._at[hren]=whence must be 'first', 'last' or expression
+^a._at(1)(true)=type must be string (parameter #2)
+^a._at[hren]=index must be 'first', 'last' or expression
^a._at[first][hren]=type must be 'key', 'value' or 'hash'
^a._at[last][hren]=type must be 'key', 'value' or 'hash'
^a._at(1)[hren]=type must be 'key', 'value' or 'hash'
\ No newline at end of file