![]() ![]() | ![]() |
1.1 ! misho 1: <?php ! 2: // This script prints "skip" if condition does not meet. ! 3: ! 4: /* ! 5: if (!extension_loaded("mbstring") && ini_get("enable_dl")) { ! 6: $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so"; ! 7: @dl("mbstring$dlext"); ! 8: } ! 9: */ ! 10: ! 11: if (!extension_loaded("mbstring")) { ! 12: die("skip\n"); ! 13: } ! 14: ?>