File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 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
44Johann Zelger <jz [at] techdivision [dot] com>
55--INI--
66appserver.remove_functions=strlen
7+ opcache.enable=0
8+ opcache.enable_cli=0
79--FILE--
810<?php
9-
1011function strlen () {
1112 return "custom_ " . __FUNCTION__ ;
1213}
Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ appserver: remove more functions by ini setting
33--CREDITS--
44Johann Zelger <jz [at] techdivision [dot] com>
55--INI--
6+ opcache.enable=0
7+ opcache.enable_cli=0
68appserver.remove_functions=strlen,headers_sent
79--FILE--
810<?php
9-
1011function strlen ($ string ) {
1112 return "custom_ " . __FUNCTION__ . ": " . $ string ;
1213}
Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ appserver: call phpinfo and check if is in text format
33--CREDITS--
44Johann Zelger <jz [at] techdivision [dot] com>
55--INI--
6- appserver.phpinfo_as_text = 0
6+ appserver.phpinfo_as_text = 1
77--FILE--
88<?php
99phpinfo ();
1010--EXPECTF --
11- <%a
11+ phpinfo ()
12+ %a
You can’t perform that action at this time.
0 commit comments