@@ -34,7 +34,7 @@ <h3>1 - About PHPSandbox & PHPSandbox Toolkit</h3>
3434 </ a >
3535 < br />
3636 < h1 style ="margin: 0; ">
37- PHPSandbox Toolkit 1.3.6
37+ PHPSandbox Toolkit 1.3.7
3838 </ h1 >
3939 < br />
4040 < strong > Developed by: </ strong > < a href ="http://www.fieryprophet.com " target ="_blank "> Elijah Horton</ a >
@@ -120,6 +120,135 @@ <h3>Options</h3>
120120 < pre > $sandbox-> set_option('allow_functions', false);</ pre >
121121 < h4 > Option Descriptions</ h4 >
122122 < ul >
123+ < li >
124+ < strong > Validate Functions: </ strong > — Default Value: < em > true</ em >
125+ < br />
126+ If this flag is set the sandbox will validate functions within the sandboxed code. If this flag is
127+ disabled then all function validation, including custom function validation, will be ignored.
128+ < hr />
129+ </ li >
130+ < li >
131+ < strong > Validate Variables: </ strong > — Default Value: < em > true</ em >
132+ < br />
133+ If this flag is set the sandbox will validate variables within the sandboxed code. If this flag is
134+ disabled then all variable validation, including custom variable validation, will be ignored.
135+ < hr />
136+ </ li >
137+ < li >
138+ < strong > Validate Globals: </ strong > — Default Value: < em > true</ em >
139+ < br />
140+ If this flag is set the sandbox will validate globals within the sandboxed code. If this flag is
141+ disabled then all global validation, including custom global validation, will be ignored.
142+ < hr />
143+ </ li >
144+ < li >
145+ < strong > Validate Superglobals: </ strong > — Default Value: < em > true</ em >
146+ < br />
147+ If this flag is set the sandbox will validate superglobals within the sandboxed code. If this flag is
148+ disabled then all superglobal validation, including custom superglobal validation, will be ignored.
149+ < hr />
150+ </ li >
151+ < li >
152+ < strong > Validate Constants: </ strong > — Default Value: < em > true</ em >
153+ < br />
154+ If this flag is set the sandbox will validate constants within the sandboxed code. If this flag is
155+ disabled then all constant validation, including custom constant validation, will be ignored.
156+ < hr />
157+ </ li >
158+ < li >
159+ < strong > Validate Magic Constants: </ strong > — Default Value: < em > true</ em >
160+ < br />
161+ If this flag is set the sandbox will validate magic constants within the sandboxed code. If this flag is
162+ disabled then all magic constant validation, including custom magic constant validation, will be ignored.
163+ < hr />
164+ </ li >
165+ < li >
166+ < strong > Validate Namespaces: </ strong > — Default Value: < em > true</ em >
167+ < br />
168+ If this flag is set the sandbox will validate namespaces within the sandboxed code. If this flag is
169+ disabled then all namespace validation, including custom namespace validation, will be ignored.
170+ < hr />
171+ </ li >
172+ < li >
173+ < strong > Validate Aliases (aka Use): </ strong > — Default Value: < em > true</ em >
174+ < br />
175+ If this flag is set the sandbox will validate aliases within the sandboxed code. If this flag is
176+ disabled then all alias validation, including custom alias validation, will be ignored.
177+ < hr />
178+ </ li >
179+ < li >
180+ < strong > Validate Classes: </ strong > — Default Value: < em > true</ em >
181+ < br />
182+ If this flag is set the sandbox will validate classes within the sandboxed code. If this flag is
183+ disabled then all class validation, including custom class validation, will be ignored.
184+ < hr />
185+ </ li >
186+ < li >
187+ < strong > Validate Interfaces: </ strong > — Default Value: < em > true</ em >
188+ < br />
189+ If this flag is set the sandbox will validate interfaces within the sandboxed code. If this flag is
190+ disabled then all interface validation, including custom interface validation, will be ignored.
191+ < hr />
192+ </ li >
193+ < li >
194+ < strong > Validate Traits: </ strong > — Default Value: < em > true</ em >
195+ < br />
196+ If this flag is set the sandbox will validate traits within the sandboxed code. If this flag is
197+ disabled then all trait validation, including custom trait validation, will be ignored.
198+ < hr />
199+ </ li >
200+ < li >
201+ < strong > Validate Keywords: </ strong > — Default Value: < em > true</ em >
202+ < br />
203+ If this flag is set the sandbox will validate keywords within the sandboxed code. If this flag is
204+ disabled then all keyword validation, including custom keyword validation, will be ignored.
205+ < hr />
206+ </ li >
207+ < li >
208+ < strong > Validate Operators: </ strong > — Default Value: < em > true</ em >
209+ < br />
210+ If this flag is set the sandbox will validate operators within the sandboxed code. If this flag is
211+ disabled then all operator validation, including custom operator validation, will be ignored.
212+ < hr />
213+ </ li >
214+ < li >
215+ < strong > Validate Primitives: </ strong > — Default Value: < em > true</ em >
216+ < br />
217+ If this flag is set the sandbox will validate primitives within the sandboxed code. If this flag is
218+ disabled then all primitive validation, including custom primitive validation, will be ignored.
219+ < hr />
220+ </ li >
221+ < li >
222+ < strong > Validate Types: </ strong > — Default Value: < em > true</ em >
223+ < br />
224+ If this flag is set the sandbox will validate types within the sandboxed code. If this flag is
225+ disabled then all type validation, including custom type validation, will be ignored.
226+ < hr />
227+ </ li >
228+ < li >
229+ < strong > Error Level: </ strong > — Default Value: < em > null</ em >
230+ < br />
231+ If this option is set then sandbox will set the error level to this value before executing the sandboxed code.
232+ < hr />
233+ </ li >
234+ < li >
235+ < strong > Restore Error Level: </ strong > — Default Value: < em > true</ em >
236+ < br />
237+ If this flag is set the sandbox will restore the error level after the sandboxed code has executed.
238+ < hr />
239+ </ li >
240+ < li >
241+ < strong > Convert Errors: </ strong > — Default Value: < em > false</ em >
242+ < br />
243+ If this flag is set the sandbox will convert errors to exceptions during execution of the sandboxed code.
244+ < hr />
245+ </ li >
246+ < li >
247+ < strong > Capture Output: </ strong > — Default Value: < em > false</ em >
248+ < br />
249+ If this flag is set the sandbox will return all output generated by the executed code.
250+ < hr />
251+ </ li >
123252 < li >
124253 < strong > Auto Whitelist Trusted Code: </ strong > — Default Value: < em > true</ em >
125254 < br />
0 commit comments