mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
For rationale, see https://github.com/php/php-src/pull/6787 Extensions migrated in this part: * bcmath * bz2 * calendar * com_dotnet * ctype Closes GH-6797.
24 lines
390 B
PHP
24 lines
390 B
PHP
--TEST--
|
|
Bug #79242 (COM error constants don't match com_exception codes)
|
|
--EXTENSIONS--
|
|
com_dotnet
|
|
--SKIPIF--
|
|
<?php
|
|
if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platforms only");
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
var_dump(
|
|
DISP_E_DIVBYZERO,
|
|
DISP_E_OVERFLOW,
|
|
DISP_E_BADINDEX,
|
|
MK_E_UNAVAILABLE
|
|
);
|
|
?>
|
|
--EXPECT--
|
|
int(-2147352558)
|
|
int(-2147352566)
|
|
int(-2147352565)
|
|
int(-2147221021)
|
|
|