Why are these so brilliantly hidden when it comes to PHP"s
Why are these so brilliantly hidden when it comes to PHP"s
am 04.01.2008 14:25:28 von adam.timberlake
I was reading the following article yesterday:
http://www.talkphp.com/vbarticles.php?do=article&articleid=4 1&title=using-the-internal-array-pointers-to-access-elements -in-arrays
What struck me while reading it was how very little we hear about the
array internal pointers !! I've been in PHP now for a good 2 years,
and I've never heard these little guys mentioned before.
My question is... what do you use internal pointers for, and why?
Re: Why are these so brilliantly hidden when it comes to PHP"s functions...?
am 04.01.2008 14:31:47 von Jerry Stuckle
adam.timberlake@gmail.com wrote:
> I was reading the following article yesterday:
> http://www.talkphp.com/vbarticles.php?do=article&articleid=4 1&title=using-the-internal-array-pointers-to-access-elements -in-arrays
>
> What struck me while reading it was how very little we hear about the
> array internal pointers !! I've been in PHP now for a good 2 years,
> and I've never heard these little guys mentioned before.
>
> My question is... what do you use internal pointers for, and why?
>
Answered in alt.lang.php.
And please crosspost - don't multipost!
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: Why are these so brilliantly hidden when it comes to PHP"s functions...?
am 04.01.2008 14:41:01 von luiheidsgoeroe
On Fri, 04 Jan 2008 14:25:28 +0100, wrote:
> I was reading the following article yesterday:
> http://www.talkphp.com/vbarticles.php?do=3Darticle&articleid =3D41&titl=
e=3Dusing-the-internal-array-pointers-to-access-elements-in- arrays
>
> What struck me while reading it was how very little we hear about the
> array internal pointers !! I've been in PHP now for a good 2 years,
> and I've never heard these little guys mentioned before.
It's because most of array actions can be done much more effectively & =
transparant with foreach() loops.
Before that, we had to do something like this:
$array =3D array(1,2,3,4,5,6);
//some code
reset($array);
while($item =3D each($array)){
echo "Key =3D ".$item['key'];
echo "Value =3D ".$item['value'];
}
> My question is... what do you use internal pointers for, and why?
Normally, I don't use an arrays pointer in PHP. Foreach is quite enough =
=
usually (possibly with an continue statement), and I use references to =
array items if not.
-- =
Rik Wasmus
Re: Why are these so brilliantly hidden when it comes to PHP"s
am 04.01.2008 16:02:52 von Toby A Inkster
adam.timberlake wrote:
> what do you use internal pointers for, and why?
Basically: you don't; PHP does.
It uses them to implement foreach loops, and various functions such as
each(), last() and so on.
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 5 days, 2:14.]
Sharing Music with Apple iTunes
http://tobyinkster.co.uk/blog/2007/11/28/itunes-sharing/
Re: Why are these so brilliantly hidden when it comes to PHP"s functions...?
am 04.01.2008 18:56:02 von Steve
"Jerry Stuckle" wrote in message
news:6KmdnRk59_ChqOPanZ2dnUVZ_jydnZ2d@comcast.com...
> adam.timberlake@gmail.com wrote:
>> I was reading the following article yesterday:
>> http://www.talkphp.com/vbarticles.php?do=article&articleid=4 1&title=using-the-internal-array-pointers-to-access-elements -in-arrays
>>
>> What struck me while reading it was how very little we hear about the
>> array internal pointers !! I've been in PHP now for a good 2 years,
>> and I've never heard these little guys mentioned before.
>>
>> My question is... what do you use internal pointers for, and why?
>>
>
> I use them a fair amount. Sometimes you need to run through an array,
> and foreach() just doesn't do what you need (or makes the code more
> complicated).
lol. you get on to the op for multiposting and tell him you've answered his
question here. this is an answer?! your only good point was not
multiposting. however, i'm sure no one in comp.lang.php will miss this
'answer'...as it does nothing for anyone.
why not tell the op *how* you use them and give an example of *how* your use
does something that foreach doesn't (or doesn't easily) do? hell, i'd be
very interested in THAT myself. i can't think of a situation that would
apply.
a better answer is that most languages have these constructs. typically in
more formal languages there is an iterator interface whereby you can can
impliment into a strongly typed collection object that will contain only
those types of items. your implimenting object/collection keeps track of the
'pointer' spoken about in the article and exposes those standard pointer
functions. implementing said interface allows the language to iterate, i.e.
foreach, the items even though you may have heavily customized your
collection. i would assume that having said little known pointer functions
would allow forward compatibility should php start to become more strongly
data typed in future versions.
AND OAN, funny how the writer of the article uses the word internal
'pointer'. count how many times. i couldn't be laughing harder.
Re: Why are these so brilliantly hidden when it comes to PHP"s
am 04.01.2008 23:11:22 von Betikci Boris
On Jan 4, 3:25=A0pm, adam.timberl...@gmail.com wrote:
> I was reading the following article yesterday:http://www.talkphp.com/vbart=
icles.php?do=3Darticle&articleid=3D41&title=3Du...
>
> What struck me while reading it was how very little we hear about the
> array internal pointers !! I've been in PHP now for a good 2 years,
> and I've never heard these little guys mentioned before.
>
> My question is... what do you use internal pointers for, and why?
It is useful when you use with associative arrays
Re: Why are these so brilliantly hidden when it comes to PHP"s functions...?
am 05.01.2008 03:42:47 von Jerry Stuckle
Steve wrote:
>
>
>
> "Jerry Stuckle" wrote in message
> news:6KmdnRk59_ChqOPanZ2dnUVZ_jydnZ2d@comcast.com...
>> adam.timberlake@gmail.com wrote:
>>> I was reading the following article yesterday:
>>> http://www.talkphp.com/vbarticles.php?do=article&articleid=4 1&title=using-the-internal-array-pointers-to-access-elements -in-arrays
>>>
>>> What struck me while reading it was how very little we hear about the
>>> array internal pointers !! I've been in PHP now for a good 2 years,
>>> and I've never heard these little guys mentioned before.
>>>
>>> My question is... what do you use internal pointers for, and why?
>>>
>> I use them a fair amount. Sometimes you need to run through an array,
>> and foreach() just doesn't do what you need (or makes the code more
>> complicated).
>
> lol. you get on to the op for multiposting and tell him you've answered his
> question here. this is an answer?! your only good point was not
> multiposting. however, i'm sure no one in comp.lang.php will miss this
> 'answer'...as it does nothing for anyone.
>
> why not tell the op *how* you use them and give an example of *how* your use
> does something that foreach doesn't (or doesn't easily) do? hell, i'd be
> very interested in THAT myself. i can't think of a situation that would
> apply.
>
> a better answer is that most languages have these constructs. typically in
> more formal languages there is an iterator interface whereby you can can
> impliment into a strongly typed collection object that will contain only
> those types of items. your implimenting object/collection keeps track of the
> 'pointer' spoken about in the article and exposes those standard pointer
> functions. implementing said interface allows the language to iterate, i.e.
> foreach, the items even though you may have heavily customized your
> collection. i would assume that having said little known pointer functions
> would allow forward compatibility should php start to become more strongly
> data typed in future versions.
>
> AND OAN, funny how the writer of the article uses the word internal
> 'pointer'. count how many times. i couldn't be laughing harder.
>
>
>
So now you've gone from a troll to a stalker! I think you're hung up on
me, Stevie!
And BTW - he asked a question - I answered it. He didn't ask HOW to use
them. Just IF anyone used them.
Learn to read, STALKER!
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: Why are these so brilliantly hidden when it comes to PHP"s functions...?
am 07.01.2008 04:14:12 von Steve
"Jerry Stuckle" wrote in message
news:7pCdnciBY-RFc-PanZ2dnUVZ_sTinZ2d@comcast.com...
> Steve wrote:
>>
>>
>>
>> "Jerry Stuckle" wrote in message
>> news:6KmdnRk59_ChqOPanZ2dnUVZ_jydnZ2d@comcast.com...
>>> adam.timberlake@gmail.com wrote:
>>>> I was reading the following article yesterday:
>>>> http://www.talkphp.com/vbarticles.php?do=article&articleid=4 1&title=using-the-internal-array-pointers-to-access-elements -in-arrays
>>>>
>>>> What struck me while reading it was how very little we hear about the
>>>> array internal pointers !! I've been in PHP now for a good 2 years,
>>>> and I've never heard these little guys mentioned before.
>>>>
>>>> My question is... what do you use internal pointers for, and why?
>>>>
>>> I use them a fair amount. Sometimes you need to run through an array,
>>> and foreach() just doesn't do what you need (or makes the code more
>>> complicated).
>>
>> lol. you get on to the op for multiposting and tell him you've answered
>> his question here. this is an answer?! your only good point was not
>> multiposting. however, i'm sure no one in comp.lang.php will miss this
>> 'answer'...as it does nothing for anyone.
>>
>> why not tell the op *how* you use them and give an example of *how* your
>> use does something that foreach doesn't (or doesn't easily) do? hell, i'd
>> be very interested in THAT myself. i can't think of a situation that
>> would apply.
>>
>> a better answer is that most languages have these constructs. typically
>> in more formal languages there is an iterator interface whereby you can
>> can impliment into a strongly typed collection object that will contain
>> only those types of items. your implimenting object/collection keeps
>> track of the 'pointer' spoken about in the article and exposes those
>> standard pointer functions. implementing said interface allows the
>> language to iterate, i.e. foreach, the items even though you may have
>> heavily customized your collection. i would assume that having said
>> little known pointer functions would allow forward compatibility should
>> php start to become more strongly data typed in future versions.
>>
>> AND OAN, funny how the writer of the article uses the word internal
>> 'pointer'. count how many times. i couldn't be laughing harder.
>
> So now you've gone from a troll to a stalker! I think you're hung up on
> me, Stevie!
>
> And BTW - he asked a question - I answered it. He didn't ask HOW to use
> them. Just IF anyone used them.
>
> Learn to read, STALKER!
yes, please do!
(notice the key words)
"My question is... *what* do you use internal pointers for, and *why*?"
the question was NOT *does* anyone use them...which is the question you made
up to answer. you didn't address any of his questions. read more carefully,
jerry-berry.
Re: Why are these so brilliantly hidden when it comes to PHP"s functions...?
am 07.01.2008 04:42:16 von Jerry Stuckle
Steve wrote:
> "Jerry Stuckle" wrote in message
> news:7pCdnciBY-RFc-PanZ2dnUVZ_sTinZ2d@comcast.com...
>> Steve wrote:
>>>
>>>
>>>
>>> "Jerry Stuckle" wrote in message
>>> news:6KmdnRk59_ChqOPanZ2dnUVZ_jydnZ2d@comcast.com...
>>>> adam.timberlake@gmail.com wrote:
>>>>> I was reading the following article yesterday:
>>>>> http://www.talkphp.com/vbarticles.php?do=article&articleid=4 1&title=using-the-internal-array-pointers-to-access-elements -in-arrays
>>>>>
>>>>> What struck me while reading it was how very little we hear about the
>>>>> array internal pointers !! I've been in PHP now for a good 2 years,
>>>>> and I've never heard these little guys mentioned before.
>>>>>
>>>>> My question is... what do you use internal pointers for, and why?
>>>>>
>>>> I use them a fair amount. Sometimes you need to run through an array,
>>>> and foreach() just doesn't do what you need (or makes the code more
>>>> complicated).
>>> lol. you get on to the op for multiposting and tell him you've answered
>>> his question here. this is an answer?! your only good point was not
>>> multiposting. however, i'm sure no one in comp.lang.php will miss this
>>> 'answer'...as it does nothing for anyone.
>>>
>>> why not tell the op *how* you use them and give an example of *how* your
>>> use does something that foreach doesn't (or doesn't easily) do? hell, i'd
>>> be very interested in THAT myself. i can't think of a situation that
>>> would apply.
>>>
>>> a better answer is that most languages have these constructs. typically
>>> in more formal languages there is an iterator interface whereby you can
>>> can impliment into a strongly typed collection object that will contain
>>> only those types of items. your implimenting object/collection keeps
>>> track of the 'pointer' spoken about in the article and exposes those
>>> standard pointer functions. implementing said interface allows the
>>> language to iterate, i.e. foreach, the items even though you may have
>>> heavily customized your collection. i would assume that having said
>>> little known pointer functions would allow forward compatibility should
>>> php start to become more strongly data typed in future versions.
>>>
>>> AND OAN, funny how the writer of the article uses the word internal
>>> 'pointer'. count how many times. i couldn't be laughing harder.
>> So now you've gone from a troll to a stalker! I think you're hung up on
>> me, Stevie!
>>
>> And BTW - he asked a question - I answered it. He didn't ask HOW to use
>> them. Just IF anyone used them.
>>
>> Learn to read, STALKER!
>
> yes, please do!
>
> (notice the key words)
>
> "My question is... *what* do you use internal pointers for, and *why*?"
>
> the question was NOT *does* anyone use them...which is the question you made
> up to answer. you didn't address any of his questions. read more carefully,
> jerry-berry.
>
>
>
ROFLMAO, stalker. And your attempts at third grade insults again show
your maturity level. We already know your intellect - or actually, the
lack there of.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: Why are these so brilliantly hidden when it comes to PHP"s functions...?
am 07.01.2008 06:14:05 von Steve
"Jerry Stuckle" wrote in message
news:5pCdnYoQjrhRAhzanZ2dnUVZ_tHinZ2d@comcast.com...
> Steve wrote:
>> "Jerry Stuckle" wrote in message
>> news:7pCdnciBY-RFc-PanZ2dnUVZ_sTinZ2d@comcast.com...
>>> Steve wrote:
>>>>
>>>>
>>>>
>>>> "Jerry Stuckle" wrote in message
>>>> news:6KmdnRk59_ChqOPanZ2dnUVZ_jydnZ2d@comcast.com...
>>>>> adam.timberlake@gmail.com wrote:
>>>>>> I was reading the following article yesterday:
>>>>>> http://www.talkphp.com/vbarticles.php?do=article&articleid=4 1&title=using-the-internal-array-pointers-to-access-elements -in-arrays
>>>>>>
>>>>>> What struck me while reading it was how very little we hear about the
>>>>>> array internal pointers !! I've been in PHP now for a good 2 years,
>>>>>> and I've never heard these little guys mentioned before.
>>>>>>
>>>>>> My question is... what do you use internal pointers for, and why?
>>>>>>
>>>>> I use them a fair amount. Sometimes you need to run through an array,
>>>>> and foreach() just doesn't do what you need (or makes the code more
>>>>> complicated).
>>>> lol. you get on to the op for multiposting and tell him you've answered
>>>> his question here. this is an answer?! your only good point was not
>>>> multiposting. however, i'm sure no one in comp.lang.php will miss this
>>>> 'answer'...as it does nothing for anyone.
>>>>
>>>> why not tell the op *how* you use them and give an example of *how*
>>>> your use does something that foreach doesn't (or doesn't easily) do?
>>>> hell, i'd be very interested in THAT myself. i can't think of a
>>>> situation that would apply.
>>>>
>>>> a better answer is that most languages have these constructs. typically
>>>> in more formal languages there is an iterator interface whereby you can
>>>> can impliment into a strongly typed collection object that will contain
>>>> only those types of items. your implimenting object/collection keeps
>>>> track of the 'pointer' spoken about in the article and exposes those
>>>> standard pointer functions. implementing said interface allows the
>>>> language to iterate, i.e. foreach, the items even though you may have
>>>> heavily customized your collection. i would assume that having said
>>>> little known pointer functions would allow forward compatibility should
>>>> php start to become more strongly data typed in future versions.
>>>>
>>>> AND OAN, funny how the writer of the article uses the word internal
>>>> 'pointer'. count how many times. i couldn't be laughing harder.
>>> So now you've gone from a troll to a stalker! I think you're hung up on
>>> me, Stevie!
>>>
>>> And BTW - he asked a question - I answered it. He didn't ask HOW to use
>>> them. Just IF anyone used them.
>>>
>>> Learn to read, STALKER!
>>
>> yes, please do!
>>
>> (notice the key words)
>>
>> "My question is... *what* do you use internal pointers for, and *why*?"
>>
>> the question was NOT *does* anyone use them...which is the question you
>> made up to answer. you didn't address any of his questions. read more
>> carefully, jerry-berry.
>
> ROFLMAO, stalker. And your attempts at third grade insults again show
> your maturity level. We already know your intellect - or actually, the
> lack there of.
yet, your ad-hom's do nothing for your demonstrated lack of literacy. quote
your answer and show exactly where it is that you covered 'what' and 'why'.
Re: Why are these so brilliantly hidden when it comes to PHP"s functions...?
am 07.01.2008 12:57:38 von Jerry Stuckle
Steve wrote:
> "Jerry Stuckle" wrote in message
> news:5pCdnYoQjrhRAhzanZ2dnUVZ_tHinZ2d@comcast.com...
>> Steve wrote:
>>> "Jerry Stuckle" wrote in message
>>> news:7pCdnciBY-RFc-PanZ2dnUVZ_sTinZ2d@comcast.com...
>>>> Steve wrote:
>>>>>
>>>>>
>>>>>
>>>>> "Jerry Stuckle" wrote in message
>>>>> news:6KmdnRk59_ChqOPanZ2dnUVZ_jydnZ2d@comcast.com...
>>>>>> adam.timberlake@gmail.com wrote:
>>>>>>> I was reading the following article yesterday:
>>>>>>> http://www.talkphp.com/vbarticles.php?do=article&articleid=4 1&title=using-the-internal-array-pointers-to-access-elements -in-arrays
>>>>>>>
>>>>>>> What struck me while reading it was how very little we hear about the
>>>>>>> array internal pointers !! I've been in PHP now for a good 2 years,
>>>>>>> and I've never heard these little guys mentioned before.
>>>>>>>
>>>>>>> My question is... what do you use internal pointers for, and why?
>>>>>>>
>>>>>> I use them a fair amount. Sometimes you need to run through an array,
>>>>>> and foreach() just doesn't do what you need (or makes the code more
>>>>>> complicated).
>>>>> lol. you get on to the op for multiposting and tell him you've answered
>>>>> his question here. this is an answer?! your only good point was not
>>>>> multiposting. however, i'm sure no one in comp.lang.php will miss this
>>>>> 'answer'...as it does nothing for anyone.
>>>>>
>>>>> why not tell the op *how* you use them and give an example of *how*
>>>>> your use does something that foreach doesn't (or doesn't easily) do?
>>>>> hell, i'd be very interested in THAT myself. i can't think of a
>>>>> situation that would apply.
>>>>>
>>>>> a better answer is that most languages have these constructs. typically
>>>>> in more formal languages there is an iterator interface whereby you can
>>>>> can impliment into a strongly typed collection object that will contain
>>>>> only those types of items. your implimenting object/collection keeps
>>>>> track of the 'pointer' spoken about in the article and exposes those
>>>>> standard pointer functions. implementing said interface allows the
>>>>> language to iterate, i.e. foreach, the items even though you may have
>>>>> heavily customized your collection. i would assume that having said
>>>>> little known pointer functions would allow forward compatibility should
>>>>> php start to become more strongly data typed in future versions.
>>>>>
>>>>> AND OAN, funny how the writer of the article uses the word internal
>>>>> 'pointer'. count how many times. i couldn't be laughing harder.
>>>> So now you've gone from a troll to a stalker! I think you're hung up on
>>>> me, Stevie!
>>>>
>>>> And BTW - he asked a question - I answered it. He didn't ask HOW to use
>>>> them. Just IF anyone used them.
>>>>
>>>> Learn to read, STALKER!
>>> yes, please do!
>>>
>>> (notice the key words)
>>>
>>> "My question is... *what* do you use internal pointers for, and *why*?"
>>>
>>> the question was NOT *does* anyone use them...which is the question you
>>> made up to answer. you didn't address any of his questions. read more
>>> carefully, jerry-berry.
>> ROFLMAO, stalker. And your attempts at third grade insults again show
>> your maturity level. We already know your intellect - or actually, the
>> lack there of.
>
> yet, your ad-hom's do nothing for your demonstrated lack of literacy. quote
> your answer and show exactly where it is that you covered 'what' and 'why'.
>
>
>
>
>
No ad hominems, stalker. Just the truth.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: Why are these so brilliantly hidden when it comes to PHP"s functions...?
am 07.01.2008 15:19:12 von Steve
"Jerry Stuckle" wrote in message
news:jO2dnY2_t8l5jh_anZ2dnUVZ_qPinZ2d@comcast.com...
> Steve wrote:
>> "Jerry Stuckle" wrote in message
>> news:5pCdnYoQjrhRAhzanZ2dnUVZ_tHinZ2d@comcast.com...
>>> Steve wrote:
>>>> "Jerry Stuckle" wrote in message
>>>> news:7pCdnciBY-RFc-PanZ2dnUVZ_sTinZ2d@comcast.com...
>>>>> Steve wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> "Jerry Stuckle" wrote in message
>>>>>> news:6KmdnRk59_ChqOPanZ2dnUVZ_jydnZ2d@comcast.com...
>>>>>>> adam.timberlake@gmail.com wrote:
>>>>>>>> I was reading the following article yesterday:
>>>>>>>> http://www.talkphp.com/vbarticles.php?do=article&articleid=4 1&title=using-the-internal-array-pointers-to-access-elements -in-arrays
>>>>>>>>
>>>>>>>> What struck me while reading it was how very little we hear about
>>>>>>>> the
>>>>>>>> array internal pointers !! I've been in PHP now for a good 2 years,
>>>>>>>> and I've never heard these little guys mentioned before.
>>>>>>>>
>>>>>>>> My question is... what do you use internal pointers for, and why?
>>>>>>>>
>>>>>>> I use them a fair amount. Sometimes you need to run through an
>>>>>>> array,
>>>>>>> and foreach() just doesn't do what you need (or makes the code more
>>>>>>> complicated).
>>>>>> lol. you get on to the op for multiposting and tell him you've
>>>>>> answered his question here. this is an answer?! your only good point
>>>>>> was not multiposting. however, i'm sure no one in comp.lang.php will
>>>>>> miss this 'answer'...as it does nothing for anyone.
>>>>>>
>>>>>> why not tell the op *how* you use them and give an example of *how*
>>>>>> your use does something that foreach doesn't (or doesn't easily) do?
>>>>>> hell, i'd be very interested in THAT myself. i can't think of a
>>>>>> situation that would apply.
>>>>>>
>>>>>> a better answer is that most languages have these constructs.
>>>>>> typically in more formal languages there is an iterator interface
>>>>>> whereby you can can impliment into a strongly typed collection object
>>>>>> that will contain only those types of items. your implimenting
>>>>>> object/collection keeps track of the 'pointer' spoken about in the
>>>>>> article and exposes those standard pointer functions. implementing
>>>>>> said interface allows the language to iterate, i.e. foreach, the
>>>>>> items even though you may have heavily customized your collection. i
>>>>>> would assume that having said little known pointer functions would
>>>>>> allow forward compatibility should php start to become more strongly
>>>>>> data typed in future versions.
>>>>>>
>>>>>> AND OAN, funny how the writer of the article uses the word internal
>>>>>> 'pointer'. count how many times. i couldn't be laughing harder.
>>>>> So now you've gone from a troll to a stalker! I think you're hung up
>>>>> on me, Stevie!
>>>>>
>>>>> And BTW - he asked a question - I answered it. He didn't ask HOW to
>>>>> use them. Just IF anyone used them.
>>>>>
>>>>> Learn to read, STALKER!
>>>> yes, please do!
>>>>
>>>> (notice the key words)
>>>>
>>>> "My question is... *what* do you use internal pointers for, and *why*?"
>>>>
>>>> the question was NOT *does* anyone use them...which is the question you
>>>> made up to answer. you didn't address any of his questions. read more
>>>> carefully, jerry-berry.
>>> ROFLMAO, stalker. And your attempts at third grade insults again show
>>> your maturity level. We already know your intellect - or actually, the
>>> lack there of.
>>
>> yet, your ad-hom's do nothing for your demonstrated lack of literacy.
>> quote your answer and show exactly where it is that you covered 'what'
>> and 'why'.
>>
>>
>
> No ad hominems, stalker. Just the truth.
true or false doesn't an ad-hom make. you're trying to divert attention to
the fact that you said i can't read, yet demonstrate that you clearly
did/can not. 'what' and 'why', jer.
Re: Why are these so brilliantly hidden when it comes to PHP"s functions...?
am 07.01.2008 15:27:52 von Tim Streater
In article , "Steve"
wrote:
> "Jerry Stuckle" wrote in message
> news:jO2dnY2_t8l5jh_anZ2dnUVZ_qPinZ2d@comcast.com...
[utter shite deleted]
Could you two juveniles take this to e-mail?
Re: Why are these so brilliantly hidden when it comes to PHP"s functions...?
am 07.01.2008 19:46:30 von Jerry Stuckle
Steve wrote:
> "Jerry Stuckle" wrote in message
> news:jO2dnY2_t8l5jh_anZ2dnUVZ_qPinZ2d@comcast.com...
>> Steve wrote:
>>> "Jerry Stuckle" wrote in message
>>> news:5pCdnYoQjrhRAhzanZ2dnUVZ_tHinZ2d@comcast.com...
>>>> Steve wrote:
>>>>> "Jerry Stuckle" wrote in message
>>>>> news:7pCdnciBY-RFc-PanZ2dnUVZ_sTinZ2d@comcast.com...
>>>>>> Steve wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> "Jerry Stuckle" wrote in message
>>>>>>> news:6KmdnRk59_ChqOPanZ2dnUVZ_jydnZ2d@comcast.com...
>>>>>>>> adam.timberlake@gmail.com wrote:
>>>>>>>>> I was reading the following article yesterday:
>>>>>>>>> http://www.talkphp.com/vbarticles.php?do=article&articleid=4 1&title=using-the-internal-array-pointers-to-access-elements -in-arrays
>>>>>>>>>
>>>>>>>>> What struck me while reading it was how very little we hear about
>>>>>>>>> the
>>>>>>>>> array internal pointers !! I've been in PHP now for a good 2 years,
>>>>>>>>> and I've never heard these little guys mentioned before.
>>>>>>>>>
>>>>>>>>> My question is... what do you use internal pointers for, and why?
>>>>>>>>>
>>>>>>>> I use them a fair amount. Sometimes you need to run through an
>>>>>>>> array,
>>>>>>>> and foreach() just doesn't do what you need (or makes the code more
>>>>>>>> complicated).
>>>>>>> lol. you get on to the op for multiposting and tell him you've
>>>>>>> answered his question here. this is an answer?! your only good point
>>>>>>> was not multiposting. however, i'm sure no one in comp.lang.php will
>>>>>>> miss this 'answer'...as it does nothing for anyone.
>>>>>>>
>>>>>>> why not tell the op *how* you use them and give an example of *how*
>>>>>>> your use does something that foreach doesn't (or doesn't easily) do?
>>>>>>> hell, i'd be very interested in THAT myself. i can't think of a
>>>>>>> situation that would apply.
>>>>>>>
>>>>>>> a better answer is that most languages have these constructs.
>>>>>>> typically in more formal languages there is an iterator interface
>>>>>>> whereby you can can impliment into a strongly typed collection object
>>>>>>> that will contain only those types of items. your implimenting
>>>>>>> object/collection keeps track of the 'pointer' spoken about in the
>>>>>>> article and exposes those standard pointer functions. implementing
>>>>>>> said interface allows the language to iterate, i.e. foreach, the
>>>>>>> items even though you may have heavily customized your collection. i
>>>>>>> would assume that having said little known pointer functions would
>>>>>>> allow forward compatibility should php start to become more strongly
>>>>>>> data typed in future versions.
>>>>>>>
>>>>>>> AND OAN, funny how the writer of the article uses the word internal
>>>>>>> 'pointer'. count how many times. i couldn't be laughing harder.
>>>>>> So now you've gone from a troll to a stalker! I think you're hung up
>>>>>> on me, Stevie!
>>>>>>
>>>>>> And BTW - he asked a question - I answered it. He didn't ask HOW to
>>>>>> use them. Just IF anyone used them.
>>>>>>
>>>>>> Learn to read, STALKER!
>>>>> yes, please do!
>>>>>
>>>>> (notice the key words)
>>>>>
>>>>> "My question is... *what* do you use internal pointers for, and *why*?"
>>>>>
>>>>> the question was NOT *does* anyone use them...which is the question you
>>>>> made up to answer. you didn't address any of his questions. read more
>>>>> carefully, jerry-berry.
>>>> ROFLMAO, stalker. And your attempts at third grade insults again show
>>>> your maturity level. We already know your intellect - or actually, the
>>>> lack there of.
>>> yet, your ad-hom's do nothing for your demonstrated lack of literacy.
>>> quote your answer and show exactly where it is that you covered 'what'
>>> and 'why'.
>>>
>>>
>> No ad hominems, stalker. Just the truth.
>
> true or false doesn't an ad-hom make. you're trying to divert attention to
> the fact that you said i can't read, yet demonstrate that you clearly
> did/can not. 'what' and 'why', jer.
>
>
>
>
>
ROFLMAO, Stalker!
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: Why are these so brilliantly hidden when it comes to PHP"s functions...?
am 07.01.2008 20:21:57 von Steve
"Jerry Stuckle" wrote in message
news:RpOdnQ9zfpsl7h_anZ2dnUVZ_gCdnZ2d@comcast.com...
> Steve wrote:
>> "Jerry Stuckle" wrote in message
>> news:jO2dnY2_t8l5jh_anZ2dnUVZ_qPinZ2d@comcast.com...
>>> Steve wrote:
>>>> "Jerry Stuckle" wrote in message
>>>> news:5pCdnYoQjrhRAhzanZ2dnUVZ_tHinZ2d@comcast.com...
>>>>> Steve wrote:
>>>>>> "Jerry Stuckle" wrote in message
>>>>>> news:7pCdnciBY-RFc-PanZ2dnUVZ_sTinZ2d@comcast.com...
>>>>>>> Steve wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> "Jerry Stuckle" wrote in message
>>>>>>>> news:6KmdnRk59_ChqOPanZ2dnUVZ_jydnZ2d@comcast.com...
>>>>>>>>> adam.timberlake@gmail.com wrote:
>>>>>>>>>> I was reading the following article yesterday:
>>>>>>>>>> http://www.talkphp.com/vbarticles.php?do=article&articleid=4 1&title=using-the-internal-array-pointers-to-access-elements -in-arrays
>>>>>>>>>>
>>>>>>>>>> What struck me while reading it was how very little we hear about
>>>>>>>>>> the
>>>>>>>>>> array internal pointers !! I've been in PHP now for a good 2
>>>>>>>>>> years,
>>>>>>>>>> and I've never heard these little guys mentioned before.
>>>>>>>>>>
>>>>>>>>>> My question is... what do you use internal pointers for, and why?
>>>>>>>>>>
>>>>>>>>> I use them a fair amount. Sometimes you need to run through an
>>>>>>>>> array,
>>>>>>>>> and foreach() just doesn't do what you need (or makes the code
>>>>>>>>> more
>>>>>>>>> complicated).
>>>>>>>> lol. you get on to the op for multiposting and tell him you've
>>>>>>>> answered his question here. this is an answer?! your only good
>>>>>>>> point was not multiposting. however, i'm sure no one in
>>>>>>>> comp.lang.php will miss this 'answer'...as it does nothing for
>>>>>>>> anyone.
>>>>>>>>
>>>>>>>> why not tell the op *how* you use them and give an example of *how*
>>>>>>>> your use does something that foreach doesn't (or doesn't easily)
>>>>>>>> do? hell, i'd be very interested in THAT myself. i can't think of a
>>>>>>>> situation that would apply.
>>>>>>>>
>>>>>>>> a better answer is that most languages have these constructs.
>>>>>>>> typically in more formal languages there is an iterator interface
>>>>>>>> whereby you can can impliment into a strongly typed collection
>>>>>>>> object that will contain only those types of items. your
>>>>>>>> implimenting object/collection keeps track of the 'pointer' spoken
>>>>>>>> about in the article and exposes those standard pointer functions.
>>>>>>>> implementing said interface allows the language to iterate, i.e.
>>>>>>>> foreach, the items even though you may have heavily customized your
>>>>>>>> collection. i would assume that having said little known pointer
>>>>>>>> functions would allow forward compatibility should php start to
>>>>>>>> become more strongly data typed in future versions.
>>>>>>>>
>>>>>>>> AND OAN, funny how the writer of the article uses the word internal
>>>>>>>> 'pointer'. count how many times. i couldn't be laughing harder.
>>>>>>> So now you've gone from a troll to a stalker! I think you're hung
>>>>>>> up on me, Stevie!
>>>>>>>
>>>>>>> And BTW - he asked a question - I answered it. He didn't ask HOW to
>>>>>>> use them. Just IF anyone used them.
>>>>>>>
>>>>>>> Learn to read, STALKER!
>>>>>> yes, please do!
>>>>>>
>>>>>> (notice the key words)
>>>>>>
>>>>>> "My question is... *what* do you use internal pointers for, and
>>>>>> *why*?"
>>>>>>
>>>>>> the question was NOT *does* anyone use them...which is the question
>>>>>> you made up to answer. you didn't address any of his questions. read
>>>>>> more carefully, jerry-berry.
>>>>> ROFLMAO, stalker. And your attempts at third grade insults again show
>>>>> your maturity level. We already know your intellect - or actually,
>>>>> the lack there of.
>>>> yet, your ad-hom's do nothing for your demonstrated lack of literacy.
>>>> quote your answer and show exactly where it is that you covered 'what'
>>>> and 'why'.
>>>>
>>>>
>>> No ad hominems, stalker. Just the truth.
>>
>> true or false doesn't an ad-hom make. you're trying to divert attention
>> to the fact that you said i can't read, yet demonstrate that you clearly
>> did/can not. 'what' and 'why', jer.
>>
>>
>
> ROFLMAO, Stalker!
if it's funny for you, in your ignorance, then imagine how much greater
*our* humor. it's doubled because of your obliviousness. if you *could*
read, you'd have dropped it by now out of embarassment.
Re: Why are these so brilliantly hidden when it comes to PHP"s functions...?
am 07.01.2008 20:55:55 von Jerry Stuckle
Steve wrote:
> "Jerry Stuckle" wrote in message
> news:RpOdnQ9zfpsl7h_anZ2dnUVZ_gCdnZ2d@comcast.com...
>> Steve wrote:
>>> "Jerry Stuckle" wrote in message
>>> news:jO2dnY2_t8l5jh_anZ2dnUVZ_qPinZ2d@comcast.com...
>>>> Steve wrote:
>>>>> "Jerry Stuckle" wrote in message
>>>>> news:5pCdnYoQjrhRAhzanZ2dnUVZ_tHinZ2d@comcast.com...
>>>>>> Steve wrote:
>>>>>>> "Jerry Stuckle" wrote in message
>>>>>>> news:7pCdnciBY-RFc-PanZ2dnUVZ_sTinZ2d@comcast.com...
>>>>>>>> Steve wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "Jerry Stuckle" wrote in message
>>>>>>>>> news:6KmdnRk59_ChqOPanZ2dnUVZ_jydnZ2d@comcast.com...
>>>>>>>>>> adam.timberlake@gmail.com wrote:
>>>>>>>>>>> I was reading the following article yesterday:
>>>>>>>>>>> http://www.talkphp.com/vbarticles.php?do=article&articleid=4 1&title=using-the-internal-array-pointers-to-access-elements -in-arrays
>>>>>>>>>>>
>>>>>>>>>>> What struck me while reading it was how very little we hear about
>>>>>>>>>>> the
>>>>>>>>>>> array internal pointers !! I've been in PHP now for a good 2
>>>>>>>>>>> years,
>>>>>>>>>>> and I've never heard these little guys mentioned before.
>>>>>>>>>>>
>>>>>>>>>>> My question is... what do you use internal pointers for, and why?
>>>>>>>>>>>
>>>>>>>>>> I use them a fair amount. Sometimes you need to run through an
>>>>>>>>>> array,
>>>>>>>>>> and foreach() just doesn't do what you need (or makes the code
>>>>>>>>>> more
>>>>>>>>>> complicated).
>>>>>>>>> lol. you get on to the op for multiposting and tell him you've
>>>>>>>>> answered his question here. this is an answer?! your only good
>>>>>>>>> point was not multiposting. however, i'm sure no one in
>>>>>>>>> comp.lang.php will miss this 'answer'...as it does nothing for
>>>>>>>>> anyone.
>>>>>>>>>
>>>>>>>>> why not tell the op *how* you use them and give an example of *how*
>>>>>>>>> your use does something that foreach doesn't (or doesn't easily)
>>>>>>>>> do? hell, i'd be very interested in THAT myself. i can't think of a
>>>>>>>>> situation that would apply.
>>>>>>>>>
>>>>>>>>> a better answer is that most languages have these constructs.
>>>>>>>>> typically in more formal languages there is an iterator interface
>>>>>>>>> whereby you can can impliment into a strongly typed collection
>>>>>>>>> object that will contain only those types of items. your
>>>>>>>>> implimenting object/collection keeps track of the 'pointer' spoken
>>>>>>>>> about in the article and exposes those standard pointer functions.
>>>>>>>>> implementing said interface allows the language to iterate, i.e.
>>>>>>>>> foreach, the items even though you may have heavily customized your
>>>>>>>>> collection. i would assume that having said little known pointer
>>>>>>>>> functions would allow forward compatibility should php start to
>>>>>>>>> become more strongly data typed in future versions.
>>>>>>>>>
>>>>>>>>> AND OAN, funny how the writer of the article uses the word internal
>>>>>>>>> 'pointer'. count how many times. i couldn't be laughing harder.
>>>>>>>> So now you've gone from a troll to a stalker! I think you're hung
>>>>>>>> up on me, Stevie!
>>>>>>>>
>>>>>>>> And BTW - he asked a question - I answered it. He didn't ask HOW to
>>>>>>>> use them. Just IF anyone used them.
>>>>>>>>
>>>>>>>> Learn to read, STALKER!
>>>>>>> yes, please do!
>>>>>>>
>>>>>>> (notice the key words)
>>>>>>>
>>>>>>> "My question is... *what* do you use internal pointers for, and
>>>>>>> *why*?"
>>>>>>>
>>>>>>> the question was NOT *does* anyone use them...which is the question
>>>>>>> you made up to answer. you didn't address any of his questions. read
>>>>>>> more carefully, jerry-berry.
>>>>>> ROFLMAO, stalker. And your attempts at third grade insults again show
>>>>>> your maturity level. We already know your intellect - or actually,
>>>>>> the lack there of.
>>>>> yet, your ad-hom's do nothing for your demonstrated lack of literacy.
>>>>> quote your answer and show exactly where it is that you covered 'what'
>>>>> and 'why'.
>>>>>
>>>>>
>>>> No ad hominems, stalker. Just the truth.
>>> true or false doesn't an ad-hom make. you're trying to divert attention
>>> to the fact that you said i can't read, yet demonstrate that you clearly
>>> did/can not. 'what' and 'why', jer.
>>>
>>>
>> ROFLMAO, Stalker!
>
> if it's funny for you, in your ignorance, then imagine how much greater
> *our* humor. it's doubled because of your obliviousness. if you *could*
> read, you'd have dropped it by now out of embarassment.
>
>
>
ROFLMAO! I OWN YOU, Stalker!
Now speak, boy, speak!
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: Why are these so brilliantly hidden when it comes to PHP"s functions...?
am 07.01.2008 21:03:32 von Steve
"Jerry Stuckle" wrote in message
news:UZqdnQHu7t5jHh_anZ2dnUVZ_szinZ2d@comcast.com...
> Steve wrote:
>> "Jerry Stuckle" wrote in message
>> news:RpOdnQ9zfpsl7h_anZ2dnUVZ_gCdnZ2d@comcast.com...
>>> Steve wrote:
>>>> "Jerry Stuckle" wrote in message
>>>> news:jO2dnY2_t8l5jh_anZ2dnUVZ_qPinZ2d@comcast.com...
>>>>> Steve wrote:
>>>>>> "Jerry Stuckle" wrote in message
>>>>>> news:5pCdnYoQjrhRAhzanZ2dnUVZ_tHinZ2d@comcast.com...
>>>>>>> Steve wrote:
>>>>>>>> "Jerry Stuckle" wrote in message
>>>>>>>> news:7pCdnciBY-RFc-PanZ2dnUVZ_sTinZ2d@comcast.com...
>>>>>>>>> Steve wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> "Jerry Stuckle" wrote in message
>>>>>>>>>> news:6KmdnRk59_ChqOPanZ2dnUVZ_jydnZ2d@comcast.com...
>>>>>>>>>>> adam.timberlake@gmail.com wrote:
>>>>>>>>>>>> I was reading the following article yesterday:
>>>>>>>>>>>> http://www.talkphp.com/vbarticles.php?do=article&articleid=4 1&title=using-the-internal-array-pointers-to-access-elements -in-arrays
>>>>>>>>>>>>
>>>>>>>>>>>> What struck me while reading it was how very little we hear
>>>>>>>>>>>> about the
>>>>>>>>>>>> array internal pointers !! I've been in PHP now for a good 2
>>>>>>>>>>>> years,
>>>>>>>>>>>> and I've never heard these little guys mentioned before.
>>>>>>>>>>>>
>>>>>>>>>>>> My question is... what do you use internal pointers for, and
>>>>>>>>>>>> why?
>>>>>>>>>>>>
>>>>>>>>>>> I use them a fair amount. Sometimes you need to run through an
>>>>>>>>>>> array,
>>>>>>>>>>> and foreach() just doesn't do what you need (or makes the code
>>>>>>>>>>> more
>>>>>>>>>>> complicated).
>>>>>>>>>> lol. you get on to the op for multiposting and tell him you've
>>>>>>>>>> answered his question here. this is an answer?! your only good
>>>>>>>>>> point was not multiposting. however, i'm sure no one in
>>>>>>>>>> comp.lang.php will miss this 'answer'...as it does nothing for
>>>>>>>>>> anyone.
>>>>>>>>>>
>>>>>>>>>> why not tell the op *how* you use them and give an example of
>>>>>>>>>> *how* your use does something that foreach doesn't (or doesn't
>>>>>>>>>> easily) do? hell, i'd be very interested in THAT myself. i can't
>>>>>>>>>> think of a situation that would apply.
>>>>>>>>>>
>>>>>>>>>> a better answer is that most languages have these constructs.
>>>>>>>>>> typically in more formal languages there is an iterator interface
>>>>>>>>>> whereby you can can impliment into a strongly typed collection
>>>>>>>>>> object that will contain only those types of items. your
>>>>>>>>>> implimenting object/collection keeps track of the 'pointer'
>>>>>>>>>> spoken about in the article and exposes those standard pointer
>>>>>>>>>> functions. implementing said interface allows the language to
>>>>>>>>>> iterate, i.e. foreach, the items even though you may have heavily
>>>>>>>>>> customized your collection. i would assume that having said
>>>>>>>>>> little known pointer functions would allow forward compatibility
>>>>>>>>>> should php start to become more strongly data typed in future
>>>>>>>>>> versions.
>>>>>>>>>>
>>>>>>>>>> AND OAN, funny how the writer of the article uses the word
>>>>>>>>>> internal 'pointer'. count how many times. i couldn't be laughing
>>>>>>>>>> harder.
>>>>>>>>> So now you've gone from a troll to a stalker! I think you're hung
>>>>>>>>> up on me, Stevie!
>>>>>>>>>
>>>>>>>>> And BTW - he asked a question - I answered it. He didn't ask HOW
>>>>>>>>> to use them. Just IF anyone used them.
>>>>>>>>>
>>>>>>>>> Learn to read, STALKER!
>>>>>>>> yes, please do!
>>>>>>>>
>>>>>>>> (notice the key words)
>>>>>>>>
>>>>>>>> "My question is... *what* do you use internal pointers for, and
>>>>>>>> *why*?"
>>>>>>>>
>>>>>>>> the question was NOT *does* anyone use them...which is the question
>>>>>>>> you made up to answer. you didn't address any of his questions.
>>>>>>>> read more carefully, jerry-berry.
>>>>>>> ROFLMAO, stalker. And your attempts at third grade insults again
>>>>>>> show your maturity level. We already know your intellect - or
>>>>>>> actually, the lack there of.
>>>>>> yet, your ad-hom's do nothing for your demonstrated lack of literacy.
>>>>>> quote your answer and show exactly where it is that you covered
>>>>>> 'what' and 'why'.
>>>>>>
>>>>>>
>>>>> No ad hominems, stalker. Just the truth.
>>>> true or false doesn't an ad-hom make. you're trying to divert attention
>>>> to the fact that you said i can't read, yet demonstrate that you
>>>> clearly did/can not. 'what' and 'why', jer.
>>>>
>>>>
>>> ROFLMAO, Stalker!
>>
>> if it's funny for you, in your ignorance, then imagine how much greater
>> *our* humor. it's doubled because of your obliviousness. if you *could*
>> read, you'd have dropped it by now out of embarassment.
>
> ROFLMAO! I OWN YOU, Stalker!
>
> Now speak, boy, speak!
hmmm...interesting use of repetion there, jerry. you should have noted long
ago that all here consider your posts (all of them) as the repetion of
stupidity and suitable only for the waste bin. at least in your posts,
however, the wording changes.
don't worry about our immunity to your daft repetitions. you keep working
that copy/paste thing you've got going on. at least this time, you're
copying your own material...which is probably why i'm not very amuzed.
learn to read yet?
Re: Why are these so brilliantly hidden when it comes to PHP"s functions...?
am 07.01.2008 22:26:46 von luiheidsgoeroe
Please, Steve, Jerry, I don't care which one of you may or may not have a
point and/or to what extent. Please, please, desist. c.l.p. is not served
with your rantings from both sides, and this is the nth thread in a very
short time I have to set to ignore. It doesn't reflect well on you both
personally, and as a new visitor in the group I would certainly think
twice before asking if it was met with these kinds of rantings.
If you can't play nice with each other, at least try to act the better man
and ignore the other one. I don't care which one of you, one will serve.
Try it, don't attempt to get your right, I can't see it happening any time
in the future you will agree, see why can't you? Don't try to get the last
word in.
As a regular contributor to this group, I really wonder sometimes why I
keep checking messages here when 80% consists of you both ranting
off-topic. You may or may not care, but this seriously makes me think
about quitting reading this group at all. As it stands now, I'll probably
killfile you both to see how that goes (this is not a threat offcourse,
why would any off you care wether I read your posts or not, this is a
disappointed observation). Why not try that? Killfile one another to avoid
temptation, and be done with it.
Really, grow up.
--
Rik Wasmus