xref: /PHP-8.3/ext/curl/tests/bug65646.phpt (revision 39131219)
1--TEST--
2Bug #65646 (re-enable CURLOPT_FOLLOWLOCATION with open_basedir or safe_mode): open_basedir disabled
3--EXTENSIONS--
4curl
5--SKIPIF--
6<?php
7if (ini_get('open_basedir')) exit("skip open_basedir is set");
8?>
9--FILE--
10<?php
11$ch = curl_init();
12var_dump(curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true));
13curl_close($ch);
14?>
15--EXPECT--
16bool(true)
17