PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » System » System_Command » Bug #5376

$this redefined

Details

Submitted2005-09-13 07:40 UTC
Fromszabo dot denes at inernode dot hu
Assignedarnaud
StatusClosed
PackageSystem_Command
PHP Version5.0.0
OSLinux
Roadmaps(Not assigned)

Comments

[2005-09-13 07:40 UTC] szabo dot denes at inernode dot hu

Description:
------------
PHP5 don't allow to redefine $this.

In command.php:

line 179:
$this = PEAR::raiseError(null, SYSTEM_COMMAND_NO_SHELL, null, E_USER_WARNING, null, 'System_Command_Error', true);

line 187:
$this = PEAR::raiseError(null, SYSTEM_COMMAND_TMPDIR_ERROR, null, E_USER_WARNING, null, 'System_Command_Error', true);

The php compiled drop an error for this lines.

Test script:
---------------
no.

Expected result:
----------------
Program runs normally.