112 linhas
2.6 KiB
Plaintext
112 linhas
2.6 KiB
Plaintext
array\(4\)\ \{\
|
|
\ \ \[0\]\=\>\
|
|
\ \ string\(3\)\ \"1st\"\
|
|
\ \ \[1\]\=\>\
|
|
\ \ int\(1\)\
|
|
\ \ \[2\]\=\>\
|
|
\ \ string\(3\)\ \"3rd\"\
|
|
\ \ \[\"4th\"\]\=\>\
|
|
\ \ int\(4\)\
|
|
\}\
|
|
\=\=\=EMPTY\=\=\=\
|
|
object\:\:offsetExists\(0\)\
|
|
object\:\:offsetGet\(0\)\
|
|
bool\(false\)\
|
|
object\:\:offsetExists\(1\)\
|
|
object\:\:offsetGet\(1\)\
|
|
bool\(false\)\
|
|
object\:\:offsetExists\(2\)\
|
|
object\:\:offsetGet\(2\)\
|
|
bool\(false\)\
|
|
object\:\:offsetExists\(4th\)\
|
|
object\:\:offsetGet\(4th\)\
|
|
bool\(false\)\
|
|
object\:\:offsetExists\(5th\)\
|
|
bool\(true\)\
|
|
object\:\:offsetExists\(6\)\
|
|
bool\(true\)\
|
|
\=\=\=isset\=\=\=\
|
|
object\:\:offsetExists\(0\)\
|
|
bool\(true\)\
|
|
object\:\:offsetExists\(1\)\
|
|
bool\(true\)\
|
|
object\:\:offsetExists\(2\)\
|
|
bool\(true\)\
|
|
object\:\:offsetExists\(4th\)\
|
|
bool\(true\)\
|
|
object\:\:offsetExists\(5th\)\
|
|
bool\(false\)\
|
|
object\:\:offsetExists\(6\)\
|
|
bool\(false\)\
|
|
\=\=\=offsetGet\=\=\=\
|
|
object\:\:offsetGet\(0\)\
|
|
string\(3\)\ \"1st\"\
|
|
object\:\:offsetGet\(1\)\
|
|
int\(1\)\
|
|
object\:\:offsetGet\(2\)\
|
|
string\(3\)\ \"3rd\"\
|
|
object\:\:offsetGet\(4th\)\
|
|
int\(4\)\
|
|
object\:\:offsetGet\(5th\)\
|
|
HipHop\ Notice\:\ Undefined\ index\:\ 5th\ in\ [^
|
|
]+array\_access\_002\.php\ on\ line\ \d+\
|
|
NULL\
|
|
object\:\:offsetGet\(6\)\
|
|
HipHop\ Notice\:\ Undefined\ offset\:\ 6\ in\ [^
|
|
]+array\_access\_002\.php\ on\ line\ \d+\
|
|
NULL\
|
|
\=\=\=offsetSet\=\=\=\
|
|
WRITE\ 1\
|
|
object\:\:offsetSet\(1\,Changed\ 1\)\
|
|
object\:\:offsetGet\(1\)\
|
|
string\(9\)\ \"Changed\ 1\"\
|
|
WRITE\ 2\
|
|
object\:\:offsetSet\(4th\,Changed\ 4th\)\
|
|
object\:\:offsetGet\(4th\)\
|
|
string\(11\)\ \"Changed\ 4th\"\
|
|
WRITE\ 3\
|
|
object\:\:offsetSet\(5th\,Added\ 5th\)\
|
|
object\:\:offsetGet\(5th\)\
|
|
string\(9\)\ \"Added\ 5th\"\
|
|
WRITE\ 4\
|
|
object\:\:offsetSet\(6\,Added\ 6\)\
|
|
object\:\:offsetGet\(6\)\
|
|
string\(7\)\ \"Added\ 6\"\
|
|
object\:\:offsetGet\(0\)\
|
|
string\(3\)\ \"1st\"\
|
|
object\:\:offsetGet\(2\)\
|
|
string\(3\)\ \"3rd\"\
|
|
object\:\:offsetSet\(6\,changed\ 6\)\
|
|
object\:\:offsetGet\(6\)\
|
|
string\(9\)\ \"changed\ 6\"\
|
|
string\(9\)\ \"changed\ 6\"\
|
|
\=\=\=unset\=\=\=\
|
|
array\(6\)\ \{\
|
|
\ \ \[0\]\=\>\
|
|
\ \ string\(3\)\ \"1st\"\
|
|
\ \ \[1\]\=\>\
|
|
\ \ string\(9\)\ \"Changed\ 1\"\
|
|
\ \ \[2\]\=\>\
|
|
\ \ string\(3\)\ \"3rd\"\
|
|
\ \ \[\"4th\"\]\=\>\
|
|
\ \ string\(11\)\ \"Changed\ 4th\"\
|
|
\ \ \[\"5th\"\]\=\>\
|
|
\ \ string\(9\)\ \"Added\ 5th\"\
|
|
\ \ \[6\]\=\>\
|
|
\ \ string\(9\)\ \"changed\ 6\"\
|
|
\}\
|
|
object\:\:offsetUnset\(2\)\
|
|
object\:\:offsetUnset\(4th\)\
|
|
object\:\:offsetUnset\(7\)\
|
|
object\:\:offsetUnset\(8th\)\
|
|
array\(4\)\ \{\
|
|
\ \ \[0\]\=\>\
|
|
\ \ string\(3\)\ \"1st\"\
|
|
\ \ \[1\]\=\>\
|
|
\ \ string\(9\)\ \"Changed\ 1\"\
|
|
\ \ \[\"5th\"\]\=\>\
|
|
\ \ string\(9\)\ \"Added\ 5th\"\
|
|
\ \ \[6\]\=\>\
|
|
\ \ string\(9\)\ \"changed\ 6\"\
|
|
\}\
|
|
\=\=\=DONE\=\=\= |