Location: PHPKode > scripts > WAMP Error Log Watcher > wawa/forceerror.php
  Copyright, © 2013, jReply LLC
  This code is made available under the terms of the
  MIT License - http://opensource.org/licenses/MIT
  Use this script to simulate errors in order to 
  test the functionality of Wamp Watcher, WaWa
$kind = (isset($_GET['kind']))?$_GET['kind']:'2';
$kind = intval($kind);

 case 0:echo 2/0;break;//simulates warning 
 case 1:callUndefinedFunction();break;//simulates fatal error
 case 2:trigger_error('Forced error');
        echo 2/0;
 default:trigger_error('False Error');break;//simulates notice
Return current item: WAMP Error Log Watcher