Skip to content

Instantly share code, notes, and snippets.

@kramarama
Last active August 29, 2015 13:57
Show Gist options
  • Save kramarama/9694996 to your computer and use it in GitHub Desktop.
Save kramarama/9694996 to your computer and use it in GitHub Desktop.
php
$ php -r 'echo date("r");'
Mon, 27 Oct 2014 14:15:48 +0300
//---------------------------------------------------------
<?php
ini_set('error_reporting', E_ALL);
error_reporting(E_ALL);
ini_set('log_errors',TRUE);
ini_set('html_errors',FALSE);
ini_set('error_log','php.log');
ini_set('display_errors',TRUE);
error_log("", 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment