|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2019-06-05 20:18 UTC] v-altruo at microsoft dot com
Description:
------------
Test fails for TS build only regardless of opcache on/off.
Test File location: tests\basic\bug71273.phpt
Test script:
---------------
<?php
/* NOTE this file is required to be encoded in iso-8859-1 */
$cmd = getenv('TEST_PHP_EXECUTABLE') . " -n -d html_errors=on -d extension_dir=a/é/w -d extension=php_kartoffelbrei.dll -v 2>&1";
$out = shell_exec($cmd);
var_dump(preg_match(",.+a[\\/].+[\\/]w.php_kartoffelbrei.dll.+,s", $out));
?>
Expected result:
----------------
int(1)
==DONE==
Actual result:
--------------
int(0)
==DONE==
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 11:00:01 2025 UTC |
May be related to this bug. (PHP 7.2 -) opcache On : zend_extension=php_opcache.dll array (size=5) 'Error' => boolean true 0 => int 48 1 => int 255 2 => string '7.2.19' (length=6) 3 => string 'apache2handler' (length=14) opcache Off array (size=5) 'Error' => boolean false 0 => int 48 1 => int 48 2 => string '7.2.19' (length=6) 3 => string 'apache2handler' (length=14) test php code <?php $s = '012345'; var_dump(['Error'=>ord('0')!==ord($s[0]), ord('0'), ord($s[0]), PHP_VERSION, PHP_SAPI]);