1--TEST--
2dl() segfaults when module is already loaded
3--EXTENSIONS--
4dl_test
5--SKIPIF--
6<?php
7if (getenv('SKIP_ASAN')) die('skip dl() crashes LSan');
8?>
9--FILE--
10<?php
11dl("dl_test");
12?>
13--EXPECT--
14Warning: Module "dl_test" is already loaded in Unknown on line 0
15