Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
  Skip .NET tests if mscoree is not available (#14281)
This commit is contained in:
Niels Dossche 2024-05-20 23:27:51 +02:00
commit 59744a7fc0
No known key found for this signature in database
GPG key ID: B8A8AD166DF0E2E5
2 changed files with 5 additions and 0 deletions

View file

@ -5,6 +5,7 @@ com_dotnet
--SKIPIF-- --SKIPIF--
<?php <?php
if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms only"); if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms only");
if (!class_exists("dotnet")) die("skip mscoree not available");
?> ?>
--FILE-- --FILE--
<?php <?php

View file

@ -2,6 +2,10 @@
Bug #77177 (Serializing or unserializing COM objects crashes) Bug #77177 (Serializing or unserializing COM objects crashes)
--EXTENSIONS-- --EXTENSIONS--
com_dotnet com_dotnet
--SKIPIF--
<?php
if (!class_exists("dotnet")) die("skip mscoree not available");
?>
--FILE-- --FILE--
<?php <?php
$com = new COM("WScript.Shell"); $com = new COM("WScript.Shell");