File tree 3 files changed +7
-4
lines changed 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,10 @@ appserver: remove exactly one function by ini setting
4
4
Johann Zelger <jz [at] techdivision [dot] com>
5
5
--INI--
6
6
appserver.remove_functions=strlen
7
+ opcache.enable=0
8
+ opcache.enable_cli=0
7
9
--FILE--
8
10
<?php
9
-
10
11
function strlen () {
11
12
return "custom_ " . __FUNCTION__ ;
12
13
}
Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ appserver: remove more functions by ini setting
3
3
--CREDITS--
4
4
Johann Zelger <jz [at] techdivision [dot] com>
5
5
--INI--
6
+ opcache.enable=0
7
+ opcache.enable_cli=0
6
8
appserver.remove_functions=strlen,headers_sent
7
9
--FILE--
8
10
<?php
9
-
10
11
function strlen ($ string ) {
11
12
return "custom_ " . __FUNCTION__ . ": " . $ string ;
12
13
}
Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ appserver: call phpinfo and check if is in text format
3
3
--CREDITS--
4
4
Johann Zelger <jz [at] techdivision [dot] com>
5
5
--INI--
6
- appserver.phpinfo_as_text = 0
6
+ appserver.phpinfo_as_text = 1
7
7
--FILE--
8
8
<?php
9
9
phpinfo ();
10
10
--EXPECTF --
11
- <%a
11
+ phpinfo ()
12
+ %a
You can’t perform that action at this time.
0 commit comments