php2go
v0.9.9
Golang을 사용하여 PHP의 공통 내장 기능을 구현하세요. 약 140개 이상의 기능이 구현되었습니다.
가서 github.com/syyongx/php2go를 받으세요
1.10 이상으로 이동하세요.
시간() strtotime()date()checkdate()sleep()usleep()
strpos() Stripos()strrpos()strripos()str_replace()ucfirst()lcfirst()ucwords()substr()strrev()number_format()chunk_split()str_word_count()wordwrap()strlen()str_repeat()strstr()strtr( )str_shuffle()trim()ltrim()rtrim()explode()strt oupper()strtolower()chr()ord()nl2br()json_encode()json_decode()addslashes()stripslashes()quotemeta()htmlentiti es()html_entity_decode()md5()md5_file()sha1()sha1_file()crc32()levenshtein()similar_text()soundex()parse_str()
mb_strlen()mb_strtoupper()
base64_encode() base64_decode()parse_url()urlencode()urldecode()rawurlencode()rawurldecode()http_build_query()
배열_채우기() array_flip()array_keys()array_values()array_merge()array_chunk()array_pad()array_slice()array_rand()array_column()ar ray_push()array_pop()array_unshift()array_shift()array_key_exists()array_combine()array_reverse()implode()in_array()
복근() rand()round()floor()ceil()pi()max()min()decbin()bindec()hex2bin()bin2hex()dechex()hexdec()decoct()Octdec()base_convert()is_nan( )
무작위_바이트()무작위_정수()
통계() pathinfo()file_exists()is_file()is_dir()filesize()file_put_contents()file_get_contents()unlink()delete()copy()is_reader()is_writeable()rename()touch()mkdir()getcwd()realpath( )basename()chmod()chown()fclose()filemtime()fgetcsv()glob()
비어있음() is_numeric()
실행() 시스템()통과()
gethostname() gethostbyname()gethostbynamel()gethostbyaddr()ip2long()long2ip()
에코() uniqid()exit()die()getenv()putenv()memory_get_usage()memory_get_peak_usage()version_compare()zip_open() Ternary(조건 부울, trueVal, falseVal 인터페이스{}) 인터페이스{}
PHP2Go 소스 코드는 MIT 라이선스에 따라 라이선스가 부여됩니다.