1--TEST-- 2dl() fails when trying to load full path to module 3--CREDITS-- 4Tom Van Herreweghe <tom@theanalogguy.be> 5User Group: PHP-WVL & PHPGent #PHPTestFest 6--SKIPIF-- 7<?php 8$enabled_sapi = array('cgi-fcgi', 'cli', 'embed', 'fpm'); 9if (!in_array(php_sapi_name(), $enabled_sapi)) { 10 die('skip dl() is not enabled for ' . php_sapi_name()); 11} 12?> 13--INI-- 14enable_dl=1 15--FILE-- 16<?php 17var_dump(dl('/path/to/module')); 18?> 19--EXPECTF-- 20 21Warning: dl(): Temporary module name should contain only filename in %s on line %d 22bool(false) 23