Skip to content

Commit 852304b

Browse files
Merge branch '8.5'
2 parents 3bc81c4 + 1b45676 commit 852304b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Util/PHP/eval-stdin.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10+
if (\PHP_SAPI !== 'cli' && \PHP_SAPI !== 'phpdbg') {
11+
exit;
12+
}
13+
1014
eval('?>' . \file_get_contents('php://stdin'));

0 commit comments

Comments
 (0)