Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #18173 strange output IS_VAR
Submitted: 2011-01-04 16:03 UTC
From: zilionis Assigned:
Status: Bogus Package: PEAR (version 1.9.1)
PHP Version: 5.3.4 OS: Macosx (snow leopard)
Roadmaps: (Not assigned)    
Subscription  


 [2011-01-04 16:03 UTC] zilionis (Vaidas Zilionis)
Description: ------------ http://stackoverflow.com/questions/4553889/pear-outputs-is- var For some situations i have strange behavior after calling pear commands from command line like "pear list", phpUnitTest. I get IS_VAR outputs After some debugging mystery haven't disappeared. class PEAR_PackageFile, method factory orginal line: $version = $version{0}; and this line throws this strange output. I replaced to similar functionality $version = substr($version,0,1); and output IS_VAR disappered.

Comments

 [2011-02-28 00:00 UTC] dufuz (Helgi Þormar Þorbjörnsson)
Based on your stackoverflow post, this also happens when you run the phpunit commandline to run tests?
 [2011-03-09 03:38 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Status: Open +Status: Feedback
Thank you for taking the time to report a problem with the package. Unfortunately you are not using a current version of the package -- the problem might already be fixed. Please download a new version from http://pear.php.net/packages.php If you are able to reproduce the bug with one of the latest versions, please change the package version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PEAR.
 [2011-03-19 07:16 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Status: Feedback +Status: No Feedback
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you.
 [2011-03-19 07:16 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Assigned To: +Assigned To: dufuz
 [2011-04-02 23:08 UTC] nshahzad (Nabeel Shahzad)
I've also run into this issue, and the above fix worked. My PHP Info: [root@rtool-deployer-dev PEAR]# php -v PHP 5.3.6 (cli) (built: Mar 18 2011 14:53:24) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies with Xdebug v2.1.1, Copyright (c) 2002-2011, by Derick Rethans
 [2011-04-02 23:26 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Status: No Feedback +Status: Open
 [2011-04-04 18:52 UTC] nshahzad (Nabeel Shahzad)
Just some more information. The IS_VAR is gone from PEAR list, but on other operations, such as "install" I am getting it. I am also receiving it in PECL: [root@rtool-deployer-dev libssh2-1.2.7]# pear channel-discover pear.phing.info PHP Warning: Module 'ssh2' already loaded in Unknown on line 0 IS_VAR IS_VAR Adding Channel "pear.phing.info" succeeded Discovery of channel "pear.phing.info" succeeded Here is my system information: [root@rtool-deployer-dev libssh2-1.2.7]# uname -a Linux rtool-deployer-dev 2.6.18-194.26.1.el5 #1 SMP Fri Oct 29 14:21:16 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux [root@rtool-deployer-dev libssh2-1.2.7]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.6 (Tikanga) [root@rtool-deployer-dev libssh2-1.2.7]# php -v PHP Warning: Module 'ssh2' already loaded in Unknown on line 0 PHP 5.3.6 (cli) (built: Mar 18 2011 14:53:24) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies with Xdebug v2.1.1, Copyright (c) 2002-2011, by Derick Rethans
 [2011-04-04 18:56 UTC] nshahzad (Nabeel Shahzad)
Actually, I believe I have solved it. I have the xdebug extension, and disabling the following parameter seems to have made the message go away: xdebug.auto_trace = 0 It was previously set to 1
 [2014-06-08 04:18 UTC] cweiske (Christian Weiske)
-Status: Assigned +Status: Bogus
This was a bug in xdebug which has been fixed. See the stackoverflow question for details.