[PHP] object oriented syntax in php

2006-03-28 Thread Merlin
Hi there, I do have problems with object oriented syntax as this is not familar to me. There is following output: object(net_ping_result)(11) { [_icmp_sequence]= array(1) { [61.117):]= string(1) 7 } [_target_ip]= string(9) y2.php.ne [_bytes_per_request]= string(2) 64 [_bytes_total]=

Re: [PHP] object oriented syntax in php

2006-03-28 Thread Thomas Munz
echo $ping_result[_raw_data][5]; Hi there, I do have problems with object oriented syntax as this is not familar to me. There is following output: object(net_ping_result)(11) { [_icmp_sequence]= array(1) { [61.117):]= string(1) 7 } [_target_ip]= string(9) y2.php.ne

Re: [PHP] object oriented syntax in php

2006-03-28 Thread Stut
Merlin wrote: snipped unformatted Now I would like to retrieve my needed info out of it. How do I do this? (sounds a bit silly this question, sorry :-) I tried: $ping_result = $ping-ping('php.net'); echo $ping_result[net_ping_result][_raw_data][5]; But this and other tries did not work. My

Re: [PHP] object oriented syntax in php

2006-03-28 Thread Sameer N Ingole
Merlin wrote: Hi there, I do have problems with object oriented syntax as this is not familar to me. There is following output: [snip] Now I would like to retrieve my needed info out of it. How do I do this? (sounds a bit silly this question, sorry :-) I tried: $ping_result =

Re: [PHP] object oriented syntax in php

2006-03-28 Thread Robin Vickery
On 28/03/06, Merlin [EMAIL PROTECTED] wrote: Hi there, I do have problems with object oriented syntax as this is not familar to me. There is following output: Now I would like to retrieve my needed info out of it. How do I do this? (sounds a bit silly this question, sorry :-) I tried: