Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

HALP

Name: Anonymous 2010-01-29 15:33

im not used to this weird array, and im trying to echo the content.
I was running a test on preg_match_all, because im used to running preg_match but found I need to find multiple instances, so i just went with preg_match_all.

$Raw is the array. here is the output.

array(2) {
[0]=>  array(2)
{
[0]=>  string(12) "this is your"
[1]=>  string(14) "this aint your"
}
[1]=>  array(2)
{
[0]=>  string(2) "is"
[1]=>  string(4) "aint"
}
}

Normally I would put "echo $raw[1];", exc. but whats showing up for that is just "Array".
what would I need to put to echo
[0]=>  string(2) "is"
[1]=>  string(4) "aint"

Name: OP here 2010-01-29 15:37

dump shit myself, i tried
echo $raw[1][0];
and it worked.

Name: Anonymous 2010-01-29 16:06

What abortion is this? PHP?

Name: PHP FAGGOT 2010-01-30 0:26

>>3
Where else can you find a function called preg_match_all that returns useful values (matched expressions) in a variable passed by reference, in a nested array?

Name: Anonymous 2010-11-02 13:48

Name: Anonymous 2010-12-09 14:32

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List