Last active
April 23, 2016 10:27
-
-
Save jinkrish/6cc28648266616ed7aad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if($_SERVER['REMOTE_ADDR']=='192.168.6.4') | |
{ | |
try{ | |
$refFunc = new ReflectionFunction('RedisSrchKey'); | |
echo $refFunc->getFileName()."@#".$refFunc->getStartLine(); | |
}catch(Exception $e){ | |
echo "Function Does not EXIST"; | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Function to find where function named
RedisSrchKey
is location among the included files. If not exists will print "Function Does not EXIST" message