Bug #78126 [Opn]: PDO::sqliteCreateFunction is not exposed via reflection

From: Date: Sat, 08 Jun 2019 00:46:18 +0000
Subject: Bug #78126 [Opn]: PDO::sqliteCreateFunction is not exposed via reflection
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221187@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78126&edit=1 ID: 78126 User updated by: morozov at tut dot by Reported by: morozov at tut dot by Summary: PDO::sqliteCreateFunction is not exposed via reflection Status: Open Type: Bug Package: PDO SQLite Operating System: Linux PHP Version: 7.3.6 Block user comment: N Private report: N New Comment: The same is true for other PDO::sqlite*() and PDO::pgsql*() functions. Previous Comments: ------------------------------------------------------------------------ [2019-06-07 23:32:23] morozov at tut dot by Description: ------------ Despite being available at runtime, PDO::sqliteCreateFunction is not exposed via reflection: neither via the Reflection API, nor via the command line (php --rc). Test script: --------------- $conn = new PDO('sqlite::memory:'); var_dump(method_exists($conn, 'sqliteCreateFunction')); try { $re = new ReflectionMethod($conn, 'sqliteCreateFunction'); } catch (ReflectionException $e) { echo $e->getMessage(), PHP_EOL; } Expected result: ---------------- Method reflection is created Actual result: -------------- bool(true) Method PDO::sqliteCreateFunction() does not exist ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78126&edit=1

« previous php.bugs (#221187) next »