com php-src: Merge branch 'PHP-7.4': ext/ffi/tests/bug782 70_2.phpt
| From: | Christoph Michael Becker | Date: | Tue, 29 Oct 2019 08:57:27 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.4': ext/ffi/tests/bug782 70_2.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-109105@lists.php.net to get a copy of this message | ||
Commit: 657f7e898d6ed79704aa68f96393b68c99b0479e
Author: Christoph M. Becker <cmbecker69@gmx.de> Tue, 29 Oct 2019 09:57:27 +0100
Parents: 778a9c05b65f0f1420e5212918bd4bc5ef94d65e c5e1a0454f0bccf7f04f41390f66a2771c9b79e8
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=657f7e898d6ed79704aa68f96393b68c99b0479e
Log:
Merge branch 'PHP-7.4'
* PHP-7.4:
Skip test case on non Windows platforms
Changed paths:
MM ext/ffi/tests/bug78270_2.phpt
Diff:
diff --cc ext/ffi/tests/bug78270_2.phpt
index 6b577fa2878,60ba27853e3..a7cce3fc1e9
--- a/ext/ffi/tests/bug78270_2.phpt
+++ b/ext/ffi/tests/bug78270_2.phpt
@@@ -3,7 -3,9 +3,9 @@@ FR #78270 (Usage of __vectorcall conven
--SKIPIF--
<?php
require_once('skipif.inc');
+ if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms
only");
+
-$dll = 'php7' . (PHP_ZTS ? 'ts' : '') . (PHP_DEBUG ?
'_debug' : '') . '.dll';
+$dll = 'php8' . (PHP_ZTS ? 'ts' : '') . (PHP_DEBUG ?
'_debug' : '') . '.dll';
try {
FFI::cdef(<<<EOC
__vectorcall int zend_atoi(const char *str, size_t str_len);