|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-09-21 22:17 UTC] cmb@php.net
[2024-01-04 20:28 UTC] bukka@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: bukka
[2024-01-04 20:28 UTC] bukka@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 05:00:01 2025 UTC |
Description: ------------ Information about the software on which the problem is observed: > php -v PHP 7.4.10 (cli) (built: Sep 10 2020 14:00:50) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.10, Copyright (c), by Zend Technologies with Xdebug v2.9.6, Copyright (c) 2002-2020, by Derick Rethans > php test.php /var/www/test.php:3: string(36) " экрана 2020-09-21 в 13.05.29" Information about the software on which the correct behavior: >php -v PHP 7.3.2 (cli) (built: Feb 5 2019 22:19:09) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.2, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.2, Copyright (c) 1999-2018, by Zend Technologies > php test.php string(48) "Снимок экрана 2020-09-21 в 13.05.29" Test script: --------------- <?php var_dump(pathinfo('Снимок экрана 2020-09-21 в 13.05.29.png', PATHINFO_FILENAME)); Expected result: ---------------- string(48) "Снимок экрана 2020-09-21 в 13.05.29" Actual result: -------------- string(36) " экрана 2020-09-21 в 13.05.29"