]> granicus.if.org Git - php/commitdiff
Fix test cases for master
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 29 Oct 2019 08:34:15 +0000 (09:34 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 29 Oct 2019 08:35:16 +0000 (09:35 +0100)
ext/ffi/tests/bug78270_1.phpt
ext/ffi/tests/bug78270_2.phpt

index 5d5c88b24ef52654f8f350b728692b04c374f16f..7ad9776c7f6f6e2a0e8465614c64ea599049748a 100644 (file)
@@ -5,7 +5,7 @@ FR #78270 (Usage of __vectorcall convention with FFI)
 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);
@@ -16,7 +16,7 @@ try {
 ?>
 --FILE--
 <?php
-$dll = 'php7' . (PHP_ZTS ? 'ts' : '') . (PHP_DEBUG ? '_debug' : '') . '.dll';
+$dll = 'php8' . (PHP_ZTS ? 'ts' : '') . (PHP_DEBUG ? '_debug' : '') . '.dll';
 $ffi = FFI::cdef(<<<EOC
     __vectorcall int zend_atoi(const char *str, size_t str_len);
 EOC, $dll);
index 965830caf3cc93bcac728875630656215ca20599..6b577fa2878695aa908979fc1dd098e4fc86944d 100644 (file)
@@ -3,7 +3,7 @@ FR #78270 (Usage of __vectorcall convention with FFI)
 --SKIPIF--
 <?php
 require_once('skipif.inc');
-$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);