By C extensions we can directly manipulate the large PHP variables, such as:GET,POST,SERVER You can fetch $_SERVER['PHP_SELF'] (or any other $_SERVER variable if you need to), like this: // This code makes sure $_SERVER has been initialized if (!zend…