blob: a78a60499766bad7d17d19506e960bbde13531fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--TEST--
Strict mode enabled
--SKIPIF--
<?php
if (!extension_loaded("snuffleupagus")) print "skip snuffleupagus extension missing";
?>
--INI--
sp.configuration_file={PWD}/config/config_strict_mode_enabled.ini
--FILE--
<?php
ini_get(23);
?>
--EXPECTF--
Fatal error: Uncaught TypeError: ini_get()%s given in %s/tests/strict_mode/strict_mode_enabled.php:%d
Stack trace:
#0 %s/tests/strict_mode/strict_mode_enabled.php(2): ini_get(23)
#1 {main}
thrown in %s/tests/strict_mode/strict_mode_enabled.php on line 2
|