From 100552d4b5f648e0d6548c5e7393f8d7c10f0acb Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Wed, 9 Oct 2019 09:50:18 +0200 Subject: [PATCH] Add stubs for PDO --- Zend/tests/bug71428.2.phpt | 4 +- ext/pdo/pdo.c | 6 +- ext/pdo/pdo.stub.php | 133 ++++++++++++++++++++ ext/pdo/pdo_arginfo.h | 129 +++++++++++++++++++ ext/pdo/pdo_dbh.c | 82 ++++-------- ext/pdo/pdo_stmt.c | 115 ++++------------- ext/pdo_mysql/tests/pdo_mysql_subclass.phpt | 2 +- 7 files changed, 311 insertions(+), 160 deletions(-) create mode 100644 ext/pdo/pdo.stub.php create mode 100644 ext/pdo/pdo_arginfo.h diff --git a/Zend/tests/bug71428.2.phpt b/Zend/tests/bug71428.2.phpt index 9fc15fc8c5..0056bd8144 100644 --- a/Zend/tests/bug71428.2.phpt +++ b/Zend/tests/bug71428.2.phpt @@ -5,13 +5,13 @@ bug #71428.2: inheritance of ye olde dynamic interfaces --FILE-- protocol(); return call_user_func_array(array($this, 'parent::query'), func_get_args()); } -- 2.50.1