|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-04-16 02:08 UTC] kurt at x64architecture dot com
[2015-09-01 11:36 UTC] cmb@php.net
-Status: Open
+Status: Duplicate
-Assigned To:
+Assigned To: cmb
[2015-09-01 11:36 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 06:00:01 2025 UTC |
Description: ------------ Running: method_exists('mysqli', '__construct') Doing similar without inbuilt classes such as: method_exists('pdo', '__construct') Correctly returns true. The documentation for MySQLI suggests it has a constructor: http://uk3.php.net/manual/en/mysqli.construct.php Test script: --------------- <?php //FALSE var_dump(method_exists('mysqli', '__construct')); //TRUE method_exists('pdo', '__construct') Expected result: ---------------- method_exists('mysqli', '__construct') should return true Actual result: -------------- method_exists('mysqli', '__construct') returns false