Annotation of embedaddon/php/Zend/tests/bug52508.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #52508 (newline problem with parse_ini_file+INI_SCANNER_RAW)
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: $file = dirname(__FILE__) .'/bug52508.ini';
        !             7: 
        !             8: file_put_contents($file, "a = 1");
        !             9: 
        !            10: $ini_array = parse_ini_file($file, true, INI_SCANNER_RAW);
        !            11: var_dump($ini_array);
        !            12: 
        !            13: unlink($file);
        !            14: 
        !            15: ?>
        !            16: --EXPECT--
        !            17: array(1) {
        !            18:   ["a"]=>
        !            19:   string(1) "1"
        !            20: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>