xref: /php-src/ext/com_dotnet/tests/bug64130.phpt (revision 56f90492)
1--TEST--
2Bug #64130 (COM obj parameters passed by reference are not updated)
3--EXTENSIONS--
4com_dotnet
5--SKIPIF--
6<?php
7if (PHP_INT_SIZE != 4) die('skip for 32bit platforms only');
8try {
9    $ie = new com('InternetExplorer.Application');
10} catch (com_exception $ex) {
11    die("skip {$ex->getMessage()}");
12}
13$ie->quit();
14?>
15--FILE--
16<?php
17$ie = new com('InternetExplorer.Application');
18$x = 0;
19$y = 0;
20try {
21    $ie->clientToWindow($x, $y);
22} catch (com_exception $ex) {}
23var_dump($x > 0, $y > 0);
24$ie->quit();
25?>
26--EXPECT--
27bool(true)
28bool(true)
29