Let's say I have a PHP file such as this:
<?php
/* Comments */
define('DB_SERVER', 'localhost');
/* More comments */
define('DB_NAME', 'dbname');
define('DB_USER', 'etc');
/* etc...*/
?>
How can I use shell script only to pull the variable values for DB_SERVER, DB_NAME, etc and store them in variables to use within the shell script? (/bin/sh, not bash)