mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Always generate fatal error for LSP failures
RFC: https://wiki.php.net/rfc/lsp_errors
This commit is contained in:
parent
49c4ab3c39
commit
fd2db11929
42 changed files with 143 additions and 186 deletions
|
@ -10,10 +10,6 @@ MySQLPDOTest::skip();
|
|||
<?php
|
||||
require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
|
||||
|
||||
// No silly strict mode warnings, please!
|
||||
error_reporting(E_ALL^E_STRICT);
|
||||
ini_set('display_errors', false);
|
||||
|
||||
try {
|
||||
|
||||
class MyPDO extends PDO {
|
||||
|
@ -23,7 +19,7 @@ MySQLPDOTest::skip();
|
|||
return call_user_func_array(array($this, 'parent::__construct'), func_get_args());
|
||||
}
|
||||
|
||||
public function exec() {
|
||||
public function exec($query) {
|
||||
$this->protocol();
|
||||
return call_user_func_array(array($this, 'parent::exec'), func_get_args());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue