# Certain codes I don't understand

**URL:** <https://www.phphelp.com/t/certain-codes-i-dont-understand/18900>\
**Category:** General PHP Help\
**Created:** [November 12, 2012, 9:20pm UTC](https://www.phphelp.com/t/certain-codes-i-dont-understand/18900 "2012-11-12T21:20:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://www.phphelp.com/uploads/default/original/2X/2/243e9ed5d93c5653ce3186f18df16e019ce38445.png) [@system](https://www.phphelp.com/u/system)\
**Post date:** [November 12, 2012, 9:20pm UTC](https://www.phphelp.com/t/certain-codes-i-dont-understand/18900/1 "2012-11-12T21:20:10Z")

</div>

The following code uses the ‘-\>’ several times. I have researched and cannot find its definition and usage.

Sample code

if ($x-\>item($i)-\>childNodes-\>item(0)-\>nodeValue == $q)  
{  
$y=($x-\>item($i)-\>parentNode);

Thank you  
Mike

---

<div class="post-metadata">

**Author:** ![richei](https://www.phphelp.com/letter_avatar_proxy/v4/letter/r/e5b9ba/32.png) [@richei](https://www.phphelp.com/u/richei)\
**Post date:** [November 12, 2012, 10:17pm UTC](https://www.phphelp.com/t/certain-codes-i-dont-understand/18900/2 "2012-11-12T22:17:12Z")

</div>

They’re used in object code. I never use it personally, but i guess its pretty popular.

---

<div class="post-metadata">

**Author:** ![m11](https://www.phphelp.com/letter_avatar_proxy/v4/letter/m/85f322/32.png) [@m11](https://www.phphelp.com/u/m11)\
**Post date:** [November 12, 2012, 10:54pm UTC](https://www.phphelp.com/t/certain-codes-i-dont-understand/18900/3 "2012-11-12T22:54:35Z")

</div>

It’s a DOM object (likely XML)
