Last active
          July 13, 2017 06:26 
        
      - 
      
- 
        Save khairulhasanmd/3682256895a90fc31f45eb75441fc7f8 to your computer and use it in GitHub Desktop. 
    php time required for a code run in seconds
  
        
  
    
      This file contains hidden or 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 | |
| $start = microtime(true); | |
| //some code | |
| $now = microtime(true); | |
| echo $now - $start . '<br>'; | |
| $start = $now; | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment