Ignore:
Timestamp:
Dec 7, 2021, 9:56:09 PM (3 years ago)
Author:
chronos
Message:
  • Fixed: Various PHP 8.0 related fixes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigRouterOS/SSH.php

    r888 r915  
    3737          }
    3838            /*
    39             //echo(') '.strlen($Buffer).' '.ord($Buffer{0}).'(');
     39            //echo(') '.strlen($Buffer).' '.ord($Buffer[0]).'(');
    4040            for ($I = 0; $I < strlen($Buffer); $I++)
    4141            {
    42               if (((ord($Buffer{$I}) >= 32) and (ord($Buffer{$I}) <= 128)) or ($Buffer{$I} = "\n") or ($Buffer{$I} = "\r")) echo($Buffer{$I});
    43               if ($Buffer{$I} == '>')
     42              if (((ord($Buffer[$I]) >= 32) and (ord($Buffer[$I]) <= 128)) or ($Buffer[$I] = "\n") or ($Buffer[$I] = "\r")) echo($Buffer[$I]);
     43              if ($Buffer[$I] == '>')
    4444              {
    4545                fwrite($Stream, $Commands."\n\r");
Note: See TracChangeset for help on using the changeset viewer.