<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          php2go使用 Go 實現(xiàn) PHP 常用內置函數(shù)

          聯(lián)合創(chuàng)作 · 2023-09-30 20:21

          php2go —— 使用 Golang 實現(xiàn) PHP 常用內置函數(shù),目前已經實現(xiàn)了 140+ 函數(shù)。

          下載&安裝

          https://github.com/syyongx/php2go

          go get github.com/syyongx/php2go

          PHP Functions

          Date/Time Functions

          time()
          strtotime()
          date()
          checkdate()
          sleep()
          usleep()

          String Functions

          strpos()
          stripos()
          strrpos()
          strripos()
          str_replace()
          ucfirst()
          lcfirst()
          ucwords()
          substr()
          strrev()
          number_format()
          chunk_split()
          str_word_count()
          wordwrap()
          strlen()
          mb_strlen()
          str_repeat()
          strstr()
          strtr()
          str_shuffle()
          trim()
          ltrim()
          rtrim()
          explode()
          strtoupper()
          strtolower()
          chr()
          ord()
          nl2br()
          json_encode()
          json_decode()
          addslashes()
          stripslashes()
          quotemeta()
          htmlentities()
          html_entity_decode()
          md5()
          md5_file()
          sha1()
          sha1_file()
          crc32()
          levenshtein()
          similar_text()
          soundex()
          parse_str()

          URL Functions

          base64_encode()
          base64_decode()
          parse_url()
          urlencode()
          urldecode()
          rawurlencode()
          rawurldecode()
          http_build_query()

          Array(Slice/Map) Functions

          array_fill()
          array_flip()
          array_keys()
          array_values()
          array_merge()
          array_chunk()
          array_pad()
          array_slice()
          array_rand()
          array_column()
          array_push()
          array_pop()
          array_unshift()
          array_shift()
          array_key_exists()
          array_combine()
          array_reverse()
          implode()

          Mathematical Functions

          abs()
          rand()
          round()
          floor()
          ceil()
          pi()
          max()
          min()
          decbin()
          bindec()
          hex2bin()
          bin2hex()
          dechex()
          hexdec()
          decoct()
          Octdec()
          base_convert()
          is_nan()

          Directory/Filesystem Functions

          stat()
          pathinfo()
          file_exists()
          is_file()
          is_dir()
          filesize()
          file_put_contents()
          file_get_contents()
          unlink()
          delete()
          copy()
          is_readable()
          is_writeable()
          rename()
          touch()
          mkdir()
          getcwd()
          realpath()
          basename()
          chmod()
          chown()
          fclose()
          filemtime()
          fgetcsv()
          disk_free_space()
          disk_total_space()
          glob()
          umask()

          Variable handling Functions

          empty()
          is_numeric()

          Program execution Functions

          exec()
          system()
          passthru()

          Network Functions

          gethostname()
          gethostbyname()
          gethostbynamel()
          gethostbyaddr()
          ip2long()
          long2ip()

          Misc. Functions

          echo()
          uniqid()
          exit()
          die()
          getenv()
          putenv()
          memory_get_usage()
          version_compare()
          zip_open()
          Ternary(condition bool, trueVal, falseVal interface{}) interface{}

          LICENSE

          php2go source code is licensed under the MIT Licence.

          瀏覽 23
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

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

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  人人妻人人澡人人DVD | 国产操逼在线看 | 高清视频一区 | 天天做夜夜做 | 上海美女操B视频网站 |