View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000478 | Xdebug | Uncategorized | public | 2009-10-24 23:51 | 2009-12-29 15:18 |
| Reporter | smerrill | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | duplicate | ||
| Product Version | 2.0.0dev | ||||
| Summary | 0000478: XDebug 2.0.x can't use %R in xdebug.profiler_output_name if register_long_arrays is off | ||||
| Description | PHP 5.2.10 %R wouldn't work as a parameter in xdebug.profiler_output_name unless register_long_arrays is turned off. This is the default in the php packages from the remi repo on CentOS. It might be worth a note in the XDebug documentation. | ||||
| Tags | No tags attached. | ||||
| Operating System | CentOS 5.3 | ||||
| PHP Version | 5.2.10 | ||||
|
|
I confirm this behaviour (both Linux with PHP 5.2.10/Xdebug 2.0.5 and Solaris 10 5/09 with PHP 5.2.4/Xdebug 2.0.5). With a php.ini like this, %R does not work: register_long_arrays=Off zend_extension=/usr/lib/php/xdebug.so while with a php.ini like this, it does: register_long_arrays=On zend_extension=/usr/lib/php/xdebug.so If register_globals is On, register_long_arrays can be Off, so this issue may be related to issue 0000312. So, for example, with a php.ini like this, %R does work: register_long_arrays=Off zend_extension=/usr/lib/php/xdebug.so One more tricky thing is that if xdebug.profiler_output_name is set to %R only (no prefix, no suffix), it sometimes works even with register_long_arrays and register_globals set to Off... |
|
|
Could you please try this with Xdebug from SVN (http://xdebug.org/docs/install#source)? I can not reproduce this at all. |
|
|
Similar to 324 that I can also not reproduce. I did commit a possible fix for it though. |