xref: /PHP-7.1/ext/com_dotnet/tests/bug69939.phpt (revision 7af945e2)
1--TEST--
2Bug #69939 (Casting object to bool returns false)
3--SKIPIF--
4<?php
5if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present"; ?>
6--FILE--
7<?php
8var_dump((bool) new COM('WScript.Shell'));
9?>
10--EXPECT--
11bool(true)
12