Home
last modified time | relevance | path

Searched refs:ini_set (Results 1 – 25 of 500) sorted by relevance

12345678910>>...20

/php-src/ext/opcache/tests/jit/
H A Dinit_fcall_001.phpt9 ini_set(ini_set(ini_set(ini_set(ini_set(ini_set(ini_set(ini_set(ini_set(
10 ini_set(ini_set(ini_set(ini_set(ini_set(ini_set(ini_set(ini_set(ini_set(
11 ini_set(ini_set(ini_set(ini_set(ini_set(ini_set(ini_set(ini_set(ini_set(
12 ini_set(ini_set(ini_set(ini_set(ini_set(ini_set(
16 Fatal error: Uncaught ArgumentCountError: ini_set() expects exactly 2 arguments, 0 given in %sinit_…
18 #0 %sinit_fcall_001.php(5): ini_set()
/php-src/ext/session/tests/
H A Dsession_ini_set.phpt2 Test ini_set() for session : basic functionality
42 var_dump(ini_set("session.save_path", ""));
43 var_dump(ini_set("session.name", "PHPSESSID"));
45 var_dump(ini_set("session.auto_start", "0"));
47 var_dump(ini_set("session.gc_divisor", "100"));
50 var_dump(ini_set("session.cookie_path", "/"));
54 var_dump(ini_set("session.use_cookies", "1"));
61 var_dump(ini_set("session.sid_length", "32"));
63 var_dump(ini_set("session.lazy_write", "1"));
68 var_dump(ini_set("session.save_path", ""));
[all …]
H A Ddeprecations.phpt17 ini_set("session.use_only_cookies", "0");
19 ini_set("session.use_only_cookies", "1");
22 ini_set("session.use_trans_sid", "1");
24 ini_set("session.use_trans_sid", "0");
27 ini_set("session.trans_sid_tags", "a=href");
29 ini_set("session.trans_sid_tags", "a=href,area=href,frame=src,form=");
32 ini_set("session.trans_sid_hosts", "php.net");
34 ini_set("session.trans_sid_hosts", "");
37 ini_set("session.referer_check", "php.net");
39 ini_set("session.referer_check", "");
[all …]
H A Dbug72940.phpt20 ini_set('session.use_strict_mode', 0);
21 ini_set('session.use_cookies', 1);
22 ini_set('session.use_only_cookies', 0);
27 ini_set('session.use_strict_mode', 0);
28 ini_set('session.use_cookies', 0);
29 ini_set('session.use_only_cookies', 0);
35 Deprecated: ini_set(): Disabling session.use_only_cookies INI setting is deprecated in %s on line 6
41 Deprecated: ini_set(): Disabling session.use_only_cookies INI setting is deprecated in %s on line 13
H A Dsession_id_basic2.phpt14 ini_set('session.sid_bits_per_character', 6);
15 ini_set('session.sid_length', 120);
20 ini_set('session.sid_bits_per_character', 4);
21 ini_set('session.sid_length', 22);
32 Deprecated: ini_set(): session.sid_bits_per_character INI setting is deprecated in %s on line %d
34 Deprecated: ini_set(): session.sid_length INI setting is deprecated in %s on line %d
37 Deprecated: ini_set(): session.sid_length INI setting is deprecated in %s on line %d
/php-src/ext/phar/tests/
H A Dini_set_off.phpt10 var_dump(ini_set('phar.require_hash', 1));
11 var_dump(ini_set('phar.readonly', 1));
14 ini_set('phar.require_hash', 0);
15 ini_set('phar.readonly', 0);
21 var_dump(ini_set('phar.readonly', 'yes'));
25 ini_set('phar.require_hash', 0);
26 ini_set('phar.readonly', 0);
31 var_dump(ini_set('phar.readonly', 'on'));
35 ini_set('phar.require_hash', 0);
36 ini_set('phar.readonly', 0);
[all …]
H A Dini_set.phpt2 Phar: test ini_set with readonly and require_hash enabled
10 var_dump(ini_set('phar.require_hash', 1));
11 var_dump(ini_set('phar.readonly', 1));
14 var_dump(ini_set('phar.require_hash', 0));
15 var_dump(ini_set('phar.readonly', 0));
/php-src/ext/standard/tests/general_functions/
H A Dini_set_types.phpt2 ini_set() accepts non-strings under strict_types
7 ini_set('docref_root', null);
9 ini_set('html_errors', true);
11 ini_set('html_errors', false);
13 ini_set('precision', 6);
18 ini_set('user_agent', 3.14);
22 ini_set('foo', []);
34 ini_set(): Argument #2 ($value) must be of type string|int|float|bool|null
/php-src/ext/iconv/tests/
H A Diconv_default_charset.phpt28 var_dump(ini_set('default_charset', 'ISO-8859-1'));
41 var_dump(ini_set('default_charset', 'ISO-8859-1'),
42 ini_set('internal_encoding'),
43 ini_set('input_encoding'),
44 ini_set('output_encoding'),
45 ini_set('iconv.internal_encoding'),
46 ini_set('iconv.input_encoding'),
47 ini_set('iconv.output_encoding'));
H A Diconv_ini_encoding.phpt27 var_dump(ini_set('default_charset', 'UTF-8'));
28 var_dump(ini_set('internal_encoding', 'UTF-8'));
29 var_dump(ini_set('input_encoding', 'UTF-8'));
30 var_dump(ini_set('output_encoding', 'UTF-8'));
31 var_dump(ini_set('iconv.internal_encoding', 'UTF-8'));
32 var_dump(ini_set('iconv.input_encoding', 'UTF-8'));
33 var_dump(ini_set('iconv.output_encoding', 'UTF-8'));
/php-src/tests/basic/
H A Dprecision.phpt11 ini_set('precision', -1);
12 ini_set('serialize_precision', -1);
22 ini_set('precision', 0);
23 ini_set('serialize_precision', 0);
32 ini_set('precision', 9);
33 ini_set('serialize_precision', 9);
42 ini_set('precision', 14);
43 ini_set('serialize_precision', 14);
52 ini_set('precision', 17);
62 ini_set('precision', 25);
[all …]
H A Dencoding.phpt10 var_dump(ini_set('default_charset', 'ISO-8859-1'));
16 var_dump(ini_set('input_encoding', 'EUC-JP'));
17 var_dump(ini_set('internal_encoding', 'EUC-JP'));
18 var_dump(ini_set('output_encoding', 'EUC-JP'));
/php-src/tests/security/
H A Dopen_basedir_error_log.phpt13 var_dump(ini_set("error_log", $initdir."/test/bad/bad.txt"));
14 var_dump(ini_set("error_log", $initdir."/test/bad.txt"));
15 var_dump(ini_set("error_log", $initdir."/bad.txt"));
16 var_dump(ini_set("error_log", $initdir."/test/ok/ok.txt"));
17 var_dump(ini_set("error_log", $initdir."/test/ok/ok.txt"));
34 Warning: ini_set(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the…
37 Warning: ini_set(): open_basedir restriction in effect. File(%s/test/bad.txt) is not within the all…
40 Warning: ini_set(): open_basedir restriction in effect. File(%s/bad.txt) is not within the allowed …
/php-src/ext/session/tests/user_session_module/
H A Derror_when_setting_save_handler_ini_setting_in_runtime.phpt2 Error when setting session.save_handler to user via ini_set
7 ini_set('session.save_handler', 'user');
10 Warning: ini_set(): Session save handler "user" cannot be set by ini_set() in %s on line %d
/php-src/ext/mbstring/tests/
H A Dinternal_encoding.phpt13 ini_set('mbstring.internal_encoding', 'utf-8');
19 ini_set('internal_encoding', 'iso-8859-2');
25 ini_set('mbstring.internal_encoding', '');
36 ini_set('internal_encoding', 'iso-8859-3');
42 ini_set('mbstring.internal_encoding', '');
52 Deprecated: ini_set(): Use of mbstring.internal_encoding is deprecated in %s on line %d
58 Deprecated: ini_set(): Use of mbstring.internal_encoding is deprecated in %s on line %d
66 Deprecated: ini_set(): Use of mbstring.internal_encoding is deprecated in %s on line %d
H A Dini_encoding2.phpt28 var_dump(ini_set('default_charset', 'UTF-8'));
29 var_dump(ini_set('internal_encoding', 'UTF-8'));
30 var_dump(ini_set('input_encoding', 'UTF-8'));
31 var_dump(ini_set('output_encoding', 'UTF-8'));
32 var_dump(ini_set('mbstring.internal_encoding', 'UTF-8'));
33 var_dump(ini_set('mbstring.http_input', 'UTF-8'));
34 var_dump(ini_set('mbstring.http_output', 'UTF-8'));
H A Dini_encoding.phpt28 var_dump(ini_set('default_charset', 'UTF-8'));
29 var_dump(ini_set('internal_encoding', 'UTF-8'));
30 var_dump(ini_set('input_encoding', 'UTF-8'));
31 var_dump(ini_set('output_encoding', 'UTF-8'));
32 var_dump(ini_set('mbstring.internal_encoding', 'UTF-8'));
33 var_dump(ini_set('mbstring.http_input', 'UTF-8'));
34 var_dump(ini_set('mbstring.http_output', 'UTF-8'));
/php-src/ext/standard/tests/mail/
H A Dmail_variation_win.phpt20 ini_set('SMTP', 'localhost');
21 ini_set('smtp_port', 25);
27 ini_set('SMTP', 'localhost');
28 ini_set('smtp_port', 2525);
29 ini_set('sendmail_from', 'from@example.com');
35 ini_set('SMTP', 'localplace');
36 ini_set('smtp_port', 25);
37 ini_set('sendmail_from', 'from@example.com');
86 … port 2525, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in %s on line %d
89 … port 1025, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in %s on line %d
/php-src/Zend/tests/exceptions/
H A Dexception_025.phpt9 var_dump(ini_set('zend.exception_string_param_max_len', '-1'));
10 var_dump(ini_set('zend.exception_string_param_max_len', '1000001'));
11 var_dump(ini_set('zend.exception_string_param_max_len', '1000000'));
12 var_dump(ini_set('zend.exception_string_param_max_len', '20'));
15 var_dump(ini_set('zend.exception_string_param_max_len', '0'));
/php-src/ext/date/tests/
H A Dini_set_incorrect-002.phpt9 ini_set("date.timezone", "foo");
12 ini_set("date.timezone", "Europe/London");
15 ini_set("date.timezone", "Mars/Valles_Marineris");
21 Warning: ini_set(): Invalid date.timezone value 'foo', using 'UTC' instead in %sini_set_incorrect-0…
25 Warning: ini_set(): Invalid date.timezone value 'Mars/Valles_Marineris', using 'Europe/London' inst…
H A Dini_set_incorrect.phpt2 Test invalid time zone passed to ini_set
8 ini_set("date.timezone", "Incorrect/Zone");
12 Warning: ini_set(): Invalid date.timezone value 'Incorrect/Zone', using 'UTC' instead in %sini_set_…
/php-src/Zend/tests/
H A Dgh10469.phpt7 ini_set('open_basedir', __DIR__);
14 ini_set('open_basedir', ini_get('open_basedir') . $pathSeparator . '.' . DIRECTORY_SEPARATOR . '..'…
15 ini_set('open_basedir', ini_get('open_basedir') . $pathSeparator . '.' . DIRECTORY_SEPARATOR . '..'…
16 ini_set('open_basedir', ini_get('open_basedir') . $pathSeparator . '.' . DIRECTORY_SEPARATOR . 'a' …
17 ini_set('open_basedir', ini_get('open_basedir') . $pathSeparator . '.' . DIRECTORY_SEPARATOR . 'a');
/php-src/ext/intl/tests/
H A Dtimezone_getDisplayName_variant1.phpt7 ini_set("intl.error_level", E_WARNING);
8 ini_set("error_reporting", -1);
9 ini_set("display_errors", 1);
13 ini_set('intl.default_locale', 'en_US');
/php-src/Zend/tests/gc/
H A Dgc_003.phpt2 GC 003: gc_enabled() and ini_set()
5 ini_set('zend.enable_gc','0');
8 ini_set('zend.enable_gc','1');
/php-src/ext/zend_test/tests/
H A Dzend_ini_str_validator_basic.phpt9 var_dump(ini_set("zend_test.str_test", "Test"));
11 var_dump(ini_set("zend_test.str_test", ""));
16 var_dump(ini_set("zend_test.not_empty_str_test", "Test"));
18 var_dump(ini_set("zend_test.not_empty_str_test", ""));

Completed in 21 milliseconds

12345678910>>...20