mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Removed dl() code
This commit is contained in:
parent
ac4eb2cccc
commit
352a9f093c
1 changed files with 3 additions and 0 deletions
|
@ -1,10 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
// This script prints "skip" if condition does not meet.
|
// This script prints "skip" if condition does not meet.
|
||||||
|
|
||||||
|
/*
|
||||||
if (!extension_loaded("mbstring") && ini_get("enable_dl")) {
|
if (!extension_loaded("mbstring") && ini_get("enable_dl")) {
|
||||||
$dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
|
$dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
|
||||||
@dl("mbstring$dlext");
|
@dl("mbstring$dlext");
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if (!extension_loaded("mbstring")) {
|
if (!extension_loaded("mbstring")) {
|
||||||
die("skip\n");
|
die("skip\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue