I'm sorry, but am I missing something here, I didn't say that the function which returned this data was var_dump, I use it to dump the data only, to know what the hell is going on, the returned data is what I'm seeking.

On 5/2/06, ma'moon <[EMAIL PROTECTED]> wrote:
hi ala'a,
it seems that this function doesn't resturn any values, actually it returens "void" according to "http://www.php.net/manual/en/function.var-dump.php", it only prints some information about a variable and so i don't think that you can access the output of this function like we normaly do in objects or someother data structures like arrays or so, you cannot even asign this function to anything, it only shows you some info's about the desired varibale, check out the manual to make sure, have a nice day ;)

On 5/2/06, Ala'a Ibrahim <[EMAIL PROTECTED] > wrote:
Hi Guys,
I'm facing this stupid problem if anybody could led a hand in it, I'm calling a function which returns some kind of complex data,

when dumping this data using var_dump, I get some thing like this

.
.
.
array(3) {
[0]=>
object(SimpleObject)#4 (1) {
["lang-en"]=>
string(15) "Text Comes Here"

}
.
.
.

The problem is that to access the vale of this thing you should have something like $da...[0]->
lang-en but lang-en is an invalid
variable name, so This is not a correct way to answer it, I need to access that variable, but I'm just missed up,

any ideas

--
                                 Ala'a A. Ibrahim
http://www.alaa-ibrahim.info/


_______________________________________________
Jordan PHP Users Group
http://php.jolug.org/
Php mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/php_jolug.org




_______________________________________________
Jordan PHP Users Group
http://php.jolug.org/
Php mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/php_jolug.org





--
                                 Ala'a A. Ibrahim
http://www.alaa-ibrahim.info/
_______________________________________________
Jordan PHP Users Group
http://php.jolug.org/
Php mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/php_jolug.org

Reply via email to