1. <strong id="7actg"></strong>
    2. <table id="7actg"></table>

    3. <address id="7actg"></address>
      <address id="7actg"></address>
      1. <object id="7actg"><tt id="7actg"></tt></object>

        php-cli-colorPHP 命令行輸出彩色

        聯(lián)合創(chuàng)作 · 2023-09-23 04:04

        一個簡單的 PHP 命令行 cli 輸出彩色的類庫

        安裝

        composer require wujunze/php-cli-color '~1.0'

        使用

        getColoredString("Testing Colors class, this is purple string on yellow background.", "purple", "yellow") . PHP_EOL;
        echo $colors->getColoredString("Testing Colors class, this is blue string on light gray background.", "blue", "light_gray") . PHP_EOL;
        echo $colors->getColoredString("Testing Colors class, this is red string on black background.", "red", "black") . PHP_EOL;
        echo $colors->getColoredString("Testing Colors class, this is cyan string on green background.", "cyan", "green") . PHP_EOL;
        echo $colors->getColoredString("Testing Colors class, this is cyan string on default background.", "cyan") . PHP_EOL;
        echo $colors->getColoredString("Testing Colors class, this is default string on cyan background.", null, "cyan") . PHP_EOL;

        結(jié)果

        瀏覽 17
        點贊
        評論
        收藏
        分享

        手機掃一掃分享

        編輯 分享
        舉報
        評論
        圖片
        表情
        推薦
        點贊
        評論
        收藏
        分享

        手機掃一掃分享

        編輯 分享
        舉報
        1. <strong id="7actg"></strong>
        2. <table id="7actg"></table>

        3. <address id="7actg"></address>
          <address id="7actg"></address>
          1. <object id="7actg"><tt id="7actg"></tt></object>
            白嫩美女在线观看 | 国产做爰又粗又大免费看真人视频 | 下一篇日韩动态图 | 亚洲色综合久久五月 | 国产两女互慰高潮视频在线观看 | 91大神精品 | 国产精品成人AAAA网站女吊丝 | 沟厕极品偷拍magnet | 欧美肥妇片 | 偷窥女wc|