[xdebug-dev] Bug 0000285: 2.0.0RC4 and auto_prepend_file

From: <noreply[@]lists.xdebug.org>
Date: Sat, 7 Jul 2007 22:59:19 +0200

A BUGNOTE has been added to this bug.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000285
======================================================================
Reporter: gsh
Handler:
======================================================================
Project: Xdebug
Bug ID: 285
Category: Usage problems
Reproducibility: always
Severity: major
Priority: normal
Status: new
Operating System:
PHP Version: 5.2.1
Xdebug Version: 2.0.0rc4
======================================================================
Date Submitted: 2007-06-18 19:12 CEST
Last Modified: 2007-07-07 22:59 CEST
======================================================================
Summary: 2.0.0RC4 and auto_prepend_file
Description:
If there is a php auto_prepend_file directive, only that file is profiled.
======================================================================

----------------------------------------------------------------------
 derick - 2007-07-07 22:59 CEST
----------------------------------------------------------------------
I can not reproduce this with 2.0.0rc5-dev. I made a .htaccess with:

php_value auto_prepend_file prepend.php
php_value xdebug.profiler_enable 1

and two files:
prepend.php:

<?php
strlen("prepend");
echo "prepend<br/>\n";
?>

index.php:

<?php
strlen("index");
echo "index.php\n";
?>

The generated profile correctly shows two calls to strlen() and the
"source" file shows both prepend.php and index.php (the latter inlined).

Bug History
Date Modified Username Field Change
======================================================================
2007-06-18 19:12gsh New Bug
2007-06-18 19:12gsh Bug Monitored: gsh
2007-07-07 22:59derick Bugnote Added: 0000677
======================================================================
Received on Sat Jul 07 2007 - 22:59:26 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST