<?php
/**
* Test class used in other examples
* Constructors and private methods marked with _ are never exported in proxies to JavaScript
*
* @category HTML
* @package AJAX
* @author David Coallier <davidc@agoraproduction.com>
* @copyright 2005 David Coallier
* @license LGPL http://www.gnu.org/copyleft/lesser.txt
* @version Release: 0.5.8
* @link http://pear.php.net/package/HTML_AJAX
*/
require_once 'HTML/AJAX.php';
class error_test
{
function error_test()
{
$ajax =& new HTML_AJAX;
$ajax->debugEnabled = true;
$ajax->debugSession = true;
set_error_handler(array(&$ajax, '_errorHandler'));
trigger_error("I don't know");
}
}
$t =& new error_test;
print_r($t);
?>
Copyright 2K16 - 2K18 Indonesian Hacker Rulez