Home » System » System_Command » Bug #5376
$this redefined
Details
| Submitted | 2005-09-13 07:40 UTC |
|---|---|
| From | szabo dot denes at inernode dot hu |
| Assigned | arnaud |
| Status | Closed |
| Package | System_Command |
| PHP Version | 5.0.0 |
| OS | Linux |
| 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.