Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

parse_ini_file parse_ini_string bug when when INI_SCANNER_TYPED #11010

Closed
@GajowyJ

Description

@GajowyJ

Description

The following code:

<?php$txt ="variable = -00 20 30";$ret=parse_ini_string($txt,FALSE,INI_SCANNER_TYPED);var_dump($ret['variable']);

Resulted in this output:

string(7) "0 20 30"

But I expected this output instead:

string(9) "-00 20 30"

or

int(0)

PHP Version

PHP 8.1.17

Operating System

Windows 10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp