Skip to content

Instantly share code, notes, and snippets.

@kevinxucs
Created November 20, 2014 05:18
Show Gist options
  • Save kevinxucs/b47d6402164548623bc4 to your computer and use it in GitHub Desktop.
Save kevinxucs/b47d6402164548623bc4 to your computer and use it in GitHub Desktop.
Test display errors
<?php
var_dump(ini_get('display_errors'));
file_put_contents('vfs://test', 'test');
ini_set('display_errors', '0');
var_dump(ini_get('display_errors'));
file_put_contents('vfs://test', 'test');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment