diff options
Diffstat (limited to 'ext/mysqli/tests/mysqli_thread_safe.phpt')
-rw-r--r-- | ext/mysqli/tests/mysqli_thread_safe.phpt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/mysqli/tests/mysqli_thread_safe.phpt b/ext/mysqli/tests/mysqli_thread_safe.phpt new file mode 100644 index 0000000..0777c2a --- /dev/null +++ b/ext/mysqli/tests/mysqli_thread_safe.phpt @@ -0,0 +1,16 @@ +--TEST-- +mysqli_thread_safe() +--SKIPIF-- +<?php +require_once('skipif.inc'); +require_once('skipifemb.inc'); +?> +--FILE-- +<?php + if (!is_bool($tmp = mysqli_thread_safe())) + printf("[001] Expecting boolean/any, got %s/%s.\n", gettype($tmp), $tmp); + + print "done!"; +?> +--EXPECTF-- +done!
\ No newline at end of file |