[xdebug-dev] Bug 0000190: Assigning required filenames at runtime

From: <xdebug-dev[@]lists.xdebug.org>
Date: Fri, 11 Aug 2006 18:06:04 +0200

The following bug has been RESOLVED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000190
======================================================================
Reporter: chaospace
Handler: derick
======================================================================
Project: Xdebug
Bug ID: 190
Category: Usage problems
Reproducibility: always
Severity: trivial
Priority: normal
Status: resolved
Operating System: Linux 2.6.17 Debian
PHP Version: 5.1.2
Xdebug Version: 1.3.2
Resolution: fixed
======================================================================
Date Submitted: 2006-07-04 19:21 CEST
Last Modified: 2006-08-11 18:06 CEST
======================================================================
Summary: Assigning required filenames at runtime
Description:
in //PEAR/HTTP/Session/Session.php such piece of code could be found:

        $container_class = 'HTTP_Session_Container_' . $container;
        $container_classfile = 'HTTP/Session/Container/' . $container .
'.php';
        require_once $container_classfile;

the page silently dies on the 'require_once' statement, which is perfectly
ok without xdebug.

when I tried to force it to evaluate the string before passed to the
statement, it worked well:
        require_once "$container_classfile";
======================================================================

----------------------------------------------------------------------
 derick - 2006-07-04 19:27 CEST
----------------------------------------------------------------------
Xdebug 1.3.2 is very old, please try 2.0.0beta6 first.

----------------------------------------------------------------------
 chaospace - 2006-07-04 19:51 CEST
----------------------------------------------------------------------
thanx for your feedback. tested localy on WindowsXP/php5.1.2/xdebug2.0.0b6
and seems ok.
thus, the solution of this problem is either upgrade or, if you don't have
the server under your control, use the workaround as stated above.

----------------------------------------------------------------------
 derick - 2006-08-11 18:06 CEST
----------------------------------------------------------------------
Okay, great. I'll close the bug then.

regards,
Derick

Bug History
Date Modified Username Field Change
======================================================================
2006-07-04 19:21chaospace New Bug
2006-07-04 19:21chaospace Bug Monitored: chaospace
2006-07-04 19:27derick Bugnote Added: 0000424
2006-07-04 19:27derick Status new => feedback
2006-07-04 19:51chaospace Bugnote Added: 0000425
2006-07-07 14:24chaospace Bug End Monitor: chaospace
2006-08-11 18:06derick Bugnote Added: 0000429
2006-08-11 18:06derick Assigned To => derick
2006-08-11 18:06derick Resolution open => fixed
2006-08-11 18:06derick Status feedback => resolved
======================================================================
Received on Fri Aug 11 2006 - 18:06:24 BST

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