- 授权协议: MIT
- 开发语言: Google Go
- 操作系统: 跨平台
- 软件首页: https://github.com/syyongx/php2go
- 软件文档: http://www.syyong.com/Go/php2go-Use-Golang-to-implement-PHP-s-common-built-in-functions.html
- 官方下载: https://github.com/syyongx/php2go/releases
软件介绍
php2go —— 使用 Golang 实现 PHP 常用内置函数,目前已经实现了 140+ 函数。
下载&安装
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.
Visual C# 2008入门经典
James Foxall / 张劼 / 人民邮电出版社 / 2009-6 / 39.00元
《Visual C#2008入门经典》分为五部分,共24章。第一部分介绍了Visual C# 2008速成版开发环境,引导读者熟练使用该IDE;第二部分探讨如何创建应用程序界面,包含窗体和各种控件的用法;第三部分介绍了编程技术,包括编写和调用方法、处理数值、字符串和日期、决策和循环结构、代码调试、类和对象的创建以及图形绘制等;第四部分阐述了文件和注册表的处理、数据库的使用和自动化其他应用程序等;第......一起来看看 《Visual C# 2008入门经典》 这本书的介绍吧!
