|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2005-03-19 16:35 UTC] schlueter at phpbar dot de
  [2005-03-20 19:57 UTC] helly@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Sun Oct 26 23:00:02 2025 UTC | 
Description: ------------ When extending PDO, and calling get_oject_vars($this) PHP segfaults. See reproduce script for test case. Reproduce code: --------------- <?php class foo extends PDO { public $limit = null; function find() { $vars = get_object_vars($this); var_dump($vars); } } $foo = new foo('sqlite::memory:'); $foo->find(); ?> Expected result: ---------------- var_dump() of an array containing limit => null Actual result: -------------- Segfault