package
0.0.0-20200911151556-51ce559d32c5
Repository: https://github.com/lsimul/php2go.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
BoolToFloat converts b to float the same way like PHP do.
BoolToInt converts b to int the same way like PHP do.
Concat joins two values, interfaces, to one string.
FileExists checks if the file with the given name exists.
Microtime returns current Unix timestamp with microseconds.
NewSQL creates struct SQL with defined server, user, and its password.
Scandir returns every file and folder found in the directory.
StrDec behaves the same way as PHP string--.
StrInc behaves the same way as PHP string++.
ToInt transfers anything to int.
Truthy converts anything to boolean.
# Interfaces
Bool is used to add an option to implement non-implicit conversion.