I want to get a specific wordpress nav menu as a list in my custom php page outside of wordpress.
How to do that?
There are a few ways, here's one:
Even if theme output is disabled, the theme's functions.php should still be loaded (and menu locations registered).
You should cache the HTML somewhere within your script, because loading WP just to show a menu can be slow.