com php-src: Add test for bug #69939: ext/com_dotnet/tests/bu g69939.phpt

From: Date: Fri, 26 Jun 2015 13:35:16 +0000
Subject: com php-src: Add test for bug #69939: ext/com_dotnet/tests/bu g69939.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87542@lists.php.net to get a copy of this message
Commit: 4b737793bc056e7559d578a5ffa03f8ca38a0f20 Author: Kalle Sommer Nielsen <kalle@php.net> Fri, 26 Jun 2015 15:35:16 +0200 Parents: 85bbfb191d4d9b95e5155f7b21093e38557969f2 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4b737793bc056e7559d578a5ffa03f8ca38a0f20 Log: Add test for bug #69939 Bugs: https://bugs.php.net/69939 Changed paths: A ext/com_dotnet/tests/bug69939.phpt Diff: diff --git a/ext/com_dotnet/tests/bug69939..phpt b/ext/com_dotnet/tests/bug69939.phpt new file mode 100644 index 0000000..6a778d5 --- /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)

« previous php.cvs (#87542) next »