You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP functions implementation to Golang. This package is for the Go beginners who have developed PHP code before. You can use PHP like functions in your app, module etc. when you add this module to your project.
6
6
@@ -50,7 +50,9 @@ PHP functions implementation to Golang. This package is for the Go beginners who
50
50
-[func Die](#func-die)
51
51
-[func DirName](#func-dirname)
52
52
-[func Echo](#func-echo)
53
-
-[func Exec](#func-exec)
53
+
-[func Escapeshellarg](#func-escapeshellarg)
54
+
-[func Escapeshellcmd](#func-escapeshellcmd)
55
+
-[func Exec](#func--exec)
54
56
-[func Exit](#func-exit)
55
57
-[func Exp](#func-exp)
56
58
-[func ExpM1](#func-expm1)
@@ -121,7 +123,7 @@ PHP functions implementation to Golang. This package is for the Go beginners who
121
123
-[func Rtrim](#func-rtrim)
122
124
-[func Sha1](#func-sha1)
123
125
-[func Sha1File](#func-sha1file)
124
-
-[func ShellExec](#func-shellexec)
126
+
-[func ShellExec](#func--shellexec)
125
127
-[func Sin](#func-sin)
126
128
-[func Sinh](#func-sinh)
127
129
-[func Sizeof](#func-sizeof)
@@ -148,6 +150,7 @@ PHP functions implementation to Golang. This package is for the Go beginners who
148
150
-[func ArrayChunk](#func-arraychunk)
149
151
-[type DiskStatus](#type-diskstatus)
150
152
-[func DiskFreeSpace](#func-diskfreespace)
153
+
-[License](#license)
151
154
152
155
## Installation
153
156
@@ -661,10 +664,30 @@ Echo - Output one or more strings
661
664
662
665
Original : <https://www.php.net/manual/en/function.echo.php>
663
666
664
-
### func Exec
667
+
### func Escapeshellarg
665
668
666
669
```go
667
-
funcExec(ofstring)
670
+
funcEscapeshellarg(sstring) string
671
+
```
672
+
673
+
Escapeshellarg - Escape a string to be used as a shell argument
0 commit comments