diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2015-06-26 15:35:16 +0200 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2015-06-26 15:35:16 +0200 |
commit | 4b737793bc056e7559d578a5ffa03f8ca38a0f20 (patch) | |
tree | 2dc8e70dbc7ac314f9df5b554b96349c633e15c4 /ext/com_dotnet | |
parent | 85bbfb191d4d9b95e5155f7b21093e38557969f2 (diff) | |
download | php-git-4b737793bc056e7559d578a5ffa03f8ca38a0f20.tar.gz |
Add test for bug #69939
Diffstat (limited to 'ext/com_dotnet')
-rw-r--r-- | ext/com_dotnet/tests/bug69939.phpt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/com_dotnet/tests/bug69939.phpt b/ext/com_dotnet/tests/bug69939.phpt new file mode 100644 index 0000000000..6a778d510a --- /dev/null +++ b/ext/com_dotnet/tests/bug69939.phpt @@ -0,0 +1,11 @@ +--TEST-- +Bug #69939 (Casting object to bool returns false) +--SKIPIF-- +<?php +if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present"; ?> +--FILE-- +<?php +var_dump((bool) new COM('WScript.Shell')); +?> +--EXPECT-- +bool(true) |