title: Simple pathfinding in PHP
body: <p>Does anyone know if there is a simple way to do pathfinding in PHP? </p>
  
  <p>I basically have a list of numbers, e.g.</p>
  
  <ul>
  <li><code>{origin:11485,outboundDirections:"11486,11487,11488"}</code></li>
  <li><code>{origin:11487,outboundDirections:"11485,11676,94185"}</code></li>
  </ul>
  
  <p>and getting from 11485 to 94185 would result in <code>11485&gt;11487&gt;94185</code> with ways to "exit", and I'm trying to figure out how to do this (it doesn't really have to be shortest path or anything AI-like, just a way to get from A to B)</p>
  
  <p>I have no idea where to start at all, unfortunately</p>