summaryrefslogtreecommitdiff
path: root/src/tests/dump_segfault1.phpt
blob: c524f910253792c0835f245dd3352367573468ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Disable functions check on `ret` with an alias
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/config_dump_segfault1.ini
--FILE--
<?php 
echo strpos("pouet", "p") . "\n";
?>
--EXPECTF--
[snuffleupagus][0.0.0.0][disabled_function][drop] The execution has been aborted in %a/tests/dump_segfault1.php:2, because the function 'strpos' returned '0', which matched the rule 'test'.