1--TEST-- 2Bug #79242 (COM error constants don't match com_exception codes) 3--SKIPIF-- 4<?php 5if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available'); 6if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platforms only"); 7?> 8--FILE-- 9<?php 10var_dump( 11 DISP_E_DIVBYZERO, 12 DISP_E_OVERFLOW, 13 DISP_E_BADINDEX, 14 MK_E_UNAVAILABLE 15); 16?> 17--EXPECT-- 18int(-2147352558) 19int(-2147352566) 20int(-2147352565) 21int(-2147221021) 22 23