PHP Pathfinder not returning results
<p>I been trying to make a PHP path finder from examples in other languages and tweaked it for my game's need but its not returning any values.</p>

<p>I should note - I get no errors in my error log file either so I'm guessing its a logic mistake?</p>

<p>Hope some one can spot it cos i cannot see the mistake =/</p>

<p>Code:
<a href="http://www.paste.to/NDI3MTE1" rel="nofollow">http://www.paste.to/NDI3MTE1</a></p>
