PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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.