Download src/php/php-src/ext/com_dotnet/tests/bug64130.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 546 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug64130.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/com_dotnet/tests/bug64130.phpt
-
curl -L -o bug64130.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/com_dotnet/tests/bug64130.phpt
546 Bytes
| --TEST-- | |
| Bug #64130 (COM obj parameters passed by reference are not updated) | |
| --EXTENSIONS-- | |
| com_dotnet | |
| --SKIPIF-- | |
| if (PHP_INT_SIZE != 4) die('skip for 32bit platforms only'); | |
| try { | |
| $ie = new com('InternetExplorer.Application'); | |
| } catch (com_exception $ex) { | |
| die("skip {$ex->getMessage()}"); | |
| } | |
| $ie->quit(); | |
| --FILE-- | |
| $ie = new com('InternetExplorer.Application'); | |
| $x = 0; | |
| $y = 0; | |
| try { | |
| $ie->clientToWindow($x, $y); | |
| } catch (com_exception $ex) {} | |
| var_dump($x > 0, $y > 0); | |
| $ie->quit(); | |
| --EXPECT-- | |
| bool(true) | |
| bool(true) | |