summaryrefslogtreecommitdiff
path: root/src/tests/global_strict/global_strict_disabled.phpt
blob: 2ab6889715660da97b75ac5eff76b760321c7012 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Global strict mode
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
<?php if (PHP_VERSION_ID >= 80000) print "skip Not implemented in PHP 8+"; ?>
--INI--
sp.configuration_file={PWD}/config/global_strict_disabled.ini
--FILE--
<?php 
strcmp("pouet", []);
echo 1337;
?>
--EXPECTF--
Warning: strcmp() expects parameter 2 to be string, array given in %a/global_strict_disabled.php on line 2
1337