summaryrefslogtreecommitdiff
path: root/tests/executor/allow_symlink_on.phpt
blob: dbf902c05a4aa5a65af805c863020e82cef62c9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--TEST--
suhosin.executor.allow_symlink=On
--SKIPIF--
<?php if (!function_exists("memory_get_usage")) print "skip PHP not compiled with memory_limit support"; ?>
--INI--
error_reporting=E_ALL
open_basedir=
suhosin.log.stdout=255
suhosin.log.script=0
suhosin.log.syslog=0
suhosin.log.sapi=0
suhosin.executor.allow_symlink=On
--FILE--
<?php
symlink();
ini_set("open_basedir", ".");
symlink();
?>
--EXPECTF--
Warning: symlink() expects exactly 2 parameters, 0 given in %s on line 2

Warning: symlink() expects exactly 2 parameters, 0 given in %s on line 4