Skip to content

Instantly share code, notes, and snippets.

@phenix-factory
Created March 20, 2015 14:04
Show Gist options
  • Save phenix-factory/9a0bb7fd37b0cb81b57a to your computer and use it in GitHub Desktop.
Save phenix-factory/9a0bb7fd37b0cb81b57a to your computer and use it in GitHub Desktop.
PHP: temps d'éxecution d'un script
<?php
$time_start = microtime(true);
// Truc à mesuré
$time_end = microtime(true);
$time = $time_end - $time_start;
echo "$time s<br />";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment