--TEST-- Bug https://github.com/scoutapp/scout-apm-php-ext/issues/55 - don't crash when using an observed method in extended class --SKIPIF-- --FILE-- query("SELECT cast(1 + 2 AS text) AS result"); var_dump($stmt->fetch(PDO::FETCH_ASSOC)); $calls = scoutapm_get_calls(); var_dump($calls[0]['function']); var_dump($calls[0]['argv'][0]); ?> --EXPECTF-- array(%d) { ["result"]=> string(%d) "3" } string(%d) "PDO->query" string(%d) "SELECT cast(1 + 2 AS text) AS result"