Skip to content

Instantly share code, notes, and snippets.

@undertext
Created January 29, 2020 15:17
Show Gist options
  • Save undertext/89777a8d03cab43493101c5659f80fbf to your computer and use it in GitHub Desktop.
Save undertext/89777a8d03cab43493101c5659f80fbf to your computer and use it in GitHub Desktop.
PHP logging
<?php
ini_set('log_errors', TRUE);
ini_set('error_log', 'php_errors.log');
ini_set('error_reporting', E_ALL);
$notArray = 'string';
array_pop($notArray);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment