Skip to content

Commit

Permalink
2.25.1 2022-02-18
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecc-business-account committed Feb 18, 2022
1 parent c147660 commit acb6b5d
Show file tree
Hide file tree
Showing 6 changed files with 1,362 additions and 804 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"require": {
"php": ">=7.2.5",
"ext-json": "*",
"eftec/clione": "^1.5",
"ext-pdo": "*",
"ext-readline": "*",
"eftec/messagecontainer": "^2.4"
Expand Down
17 changes: 17 additions & 0 deletions examples/clitest/cli2.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php
include '../../vendor/autoload.php';

$cli=new \eftec\CliOne\CliOne();

/*for($i=0;$i<254;$i++) {
echo $i.chr($i)."<br>";
}
*/
$txt='<bold>12345678901234567890</bold>';
echo "<pre>";
$color=$cli->replaceColor($txt);
echo $color."\n";
echo $cli->colorLess($color)."\n";
echo $cli->colorMask($color)."\n";
echo $cli->removechar($color,3)."\n";
echo "</pre>";
Loading

0 comments on commit acb6b5d

Please sign in to comment.