xref: /PHP-5.4/ext/mbstring/tests/skipif.inc (revision 352a9f09)
1<?php
2// This script prints "skip" if condition does not meet.
3
4/*
5if (!extension_loaded("mbstring") && ini_get("enable_dl")) {
6  $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
7  @dl("mbstring$dlext");
8}
9*/
10
11if (!extension_loaded("mbstring")) {
12    die("skip\n");
13}
14?>
15