cvs: php-src /ext/com_dotnet/tests 27974.phpt

From: Date: Thu, 22 Apr 2004 14:29:33 +0000
Subject: cvs: php-src /ext/com_dotnet/tests 27974.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-27150@lists.php.net to get a copy of this message
wez Thu Apr 22 10:29:33 2004 EDT Added files: /php-src/ext/com_dotnet/tests 27974.phpt Log: Add test http://cvs.php.net/co.php/php-src/ext/com_dotnet/tests/27974.phpt?r=1.1&p=1 Index: php-src/ext/com_dotnet/tests/27974.phpt +++ php-src/ext/com_dotnet/tests/27974.phpt --TEST-- COM: mapping a safearray --SKIPIF-- <?php # vim:ft=php if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present"; ?> --FILE-- <?php // $Id: 27974.phpt,v 1.1 2004/04/22 14:29:33 wez Exp $ error_reporting(E_ALL); try { $v = new VARIANT(array("123", "456", "789")); var_dump($v); print $v[0] . "\n"; print $v[1] . "\n"; print $v[2] . "\n"; echo "OK!"; } catch (Exception $e) { print $e; } ?> --EXPECT-- object(variant)#1 (0) { } 123 456 789 OK!

« previous php.cvs (#27150) next »