]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-7.4'
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 29 Oct 2019 08:57:27 +0000 (09:57 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 29 Oct 2019 08:57:27 +0000 (09:57 +0100)
* PHP-7.4:
  Skip test case on non Windows platforms

1  2 
ext/ffi/tests/bug78270_2.phpt

index 6b577fa2878695aa908979fc1dd098e4fc86944d,60ba27853e3a0c77b0aa548513825b2f8612533a..a7cce3fc1e9c1c45d9aa29f388c11b4049ec2e10
@@@ -3,7 -3,9 +3,9 @@@ FR #78270 (Usage of __vectorcall conven
  --SKIPIF--
  <?php
  require_once('skipif.inc');
 -$dll = 'php7' . (PHP_ZTS ? 'ts' : '') . (PHP_DEBUG ? '_debug' : '') . '.dll';
+ if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only");
 +$dll = 'php8' . (PHP_ZTS ? 'ts' : '') . (PHP_DEBUG ? '_debug' : '') . '.dll';
  try {
      FFI::cdef(<<<EOC
          __vectorcall int zend_atoi(const char *str, size_t str_len);