Tempnam notice message incorrect
オープン
Bug
Category: Streams
Extension: standard
Status: Verified
- 主要言語
- C
- スター
- 40.4k
- フォーク
- 8.1k
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 96
説明
Description
The following code:
<?php
tempnam(sys_get_temp_dir(), '');
// sys_get_temp_dir() = '/tmp'
Resulted in this output:
false
tempnam(): file created in the system's temporary directory
But I expected this output instead:
Correct error message
PHP Version
PHP 8.4.13 (cli) (built: Oct 7 2025 06:01:58) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.13, Copyright (c) Zend Technologies
with Zend OPcache v8.4.13, Copyright (c), by Zend Technologies
Operating System
CentOS Stream release 9
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。