# [EMAIL PROTECTED] / 2006-10-20 15:50:32 +0900:
> set_error_handler(ErrorHandler::handleError());
 
> Inside my ErrorHandler, I have this:
> public static function handleError($errno, $errstr, $errfile, $errline)
> {
> echo "Hey dude! Error! " . $errno . $errstr . $errfile . $errline ;
> }
> 
> However, I get errors saying that the arguments for handleError don't exist.

    You are calling the method without any arguments:

> set_error_handler(ErrorHandler::handleError());

    http://www.php.net/manual/en/language.pseudo-types.php
    http://www.php.net/set_error_handler

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to