Seldaek / php-console

PHP Debug Console
Other
529 stars 91 forks source link

added a ajax error handler. #18

Closed staabm closed 11 years ago

staabm commented 11 years ago

sometimes errors occur on the client side. because of the ajax.complete() callback is not fired the loading indicator does not disappear and the ui feels like the request runs endless, even if it already terminated with an error.

staabm commented 11 years ago

on my vm this error occurs when evaluating code like

$str = 'münchen';
$str = utf8_decode($str);
var_dump(!!preg_match('/^[\pL]+$/', $str));