title: How to wrap functions in PHP's highlight_file with anchor tags?
body: <p>I found it would be useful for me to be able to have a dumb, read-only version of my (private) code online, so I could check things from my phone without having to open an IDE or SSH into a remote host from a dynamic IP address.  I've got all of it figured out except for the last part:</p>
  
  <p>I'm using PHP's <a href="https://www.php.net/manual/en/function.highlight-file.php" rel="nofollow noreferrer"><code>highlight_file</code></a> to get that read-version of the code, but <strong>I'd like to make it so clicking on the functions allows me to jump to their declaration</strong>, just like CTRL+click does in PhpStorm.  In order to do that I wrote up a "find function declaration" script, but now I need to </p>
  
  <p>In order to do that I need to identify what the functions are, then wrap them in an anchor tag to call my function-finding script.  So, <strong>is there any way I can configure <code>highlight_file</code> to denote my functions so I can wrap them?  Or some regex or anything?</strong></p>
  
  <p>For what it's worth, I am using <a href="https://www.php.net/manual/en/function.highlight-file.php#92160" rel="nofollow noreferrer">this line-number adding function</a> for my printer.</p>