1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 19:52:20 +02:00
Files
archived-php-src/ext/com_dotnet/tests/bug69939.phpt
Kalle Sommer Nielsen 4b737793bc Add test for bug #69939
2015-06-26 15:35:16 +02:00

12 lines
243 B
PHP

--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)