In my code I have a block like this
----------------------------------------------------------------------
$old_error_hand ler = set_error_handl er('HLErrorHand ler');
// some code
restore_error_h andler();
//some code
$old_error_hand ler = set_error_handl er('HLErrorHand ler');
----------------------------------------------------------------------
once I call the function 'restore_error_ handler()' I can't set the error
handler back to ''HLErrorHandle r''.
Does anyone know why?
Any Help would be appreciated
Jeremy Shovan
----------------------------------------------------------------------
$old_error_hand ler = set_error_handl er('HLErrorHand ler');
// some code
restore_error_h andler();
//some code
$old_error_hand ler = set_error_handl er('HLErrorHand ler');
----------------------------------------------------------------------
once I call the function 'restore_error_ handler()' I can't set the error
handler back to ''HLErrorHandle r''.
Does anyone know why?
Any Help would be appreciated
Jeremy Shovan
Comment