Annotation of embedaddon/php/ext/standard/tests/general_functions/parse_ini_basic.data, revision 1.1

1.1     ! misho       1: [basic]
        !             2: basicval = bar
        !             3: longval  = 12345
        !             4: with.dot = fooobar
        !             5: boolon = on
        !             6: booltrue = true
        !             7: boolyes = yes
        !             8: booloff = off
        !             9: boolfalse = false
        !            10: boolnone = none
        !            11: boolno = no
        !            12: string = asdadfsdjkslkj ¡@£$$ { }[ ]/%#¤
        !            13: sqstring = 'adsasdadasdasd'
        !            14: dqstring = "asdadfsdjkslkj ¡@£$$ { } !^~|¥¥{[()/)&/% ¤ # #"
        !            15: php_constant = E_ALL
        !            16: user_constant = TEST_CONSTANT
        !            17: 
        !            18: [basic with whitespace]
        !            19: basicval =              bar                            
        !            20: longval  =                     12345                           
        !            21: with.dot =                     fooobar                 
        !            22: boolon =               on                               
        !            23: booltrue =              true                            
        !            24: boolyes =                        yes                    
        !            25: booloff =                off                            
        !            26: boolfalse =             false                   
        !            27: boolnone =              none                    
        !            28: boolno =                 no                     
        !            29: sqstring =              'adsasdadasdasd'                
        !            30: dqstring =                              "asdadfsdjkslkj ¡@£$$€¥¥{[()/)&/%#¤"                    
        !            31: php_constant =                  E_ALL                   
        !            32: 
        !            33: [comments]
        !            34: ; some comment
        !            35:        ; some comment with whitespace           
        !            36: somecomment = comment follows;aaa@bbb ; comment here
        !            37: ;
        !            38: 
        !            39: [variables]
        !            40: var1 = ${basicval}
        !            41: var2 = ${basicval}/foo
        !            42: var3 = foo/${basicval}
        !            43: var4 = foo/${basicval}/foo
        !            44: quoted_var1 = "${basicqval}"
        !            45: quoted_var2 = "${basicqval}/foo"
        !            46: quoted_var3 = "foo/${basicqval}"
        !            47: quoted_var4 = "foo/${basicqval}/foo"
        !            48: 
        !            49: [offset values]
        !            50: foo1[] = "basic offset 1"
        !            51: foo1[  ] = "basic offset 2"
        !            52: foo2[123] = "long offset"
        !            53: foo3[abc] = "string offset"
        !            54: foo4[""] = "quoted offset 1"
        !            55: foo4[" "] = "quoted offset 2"
        !            56: foo4["sqfoobar"] = "quoted string offset"
        !            57: foo4['dqfoobar'] = "single quoted offset"
        !            58: foo6[${basicval}] = "variable"
        !            59: foo6[${basicval}/foo] = "variable with string 1"
        !            60: foo6[foo/${basicval}] = "variable with string 2"
        !            61: foo6[foo/${basicval}/foo] = "variable with string 3"
        !            62: foo7["${basicqval}"] = "quoted variable 1"
        !            63: foo7["${basicqval}/foo"] = "quoted variable 2"
        !            64: foo7["foo/${basicqval}"] = "quoted variable 3"
        !            65: foo7[ "foo/${basicqval}/foo" ] = "quoted variable 4"
        !            66: 
        !            67: [non value]
        !            68: novalue_option1                  =             
        !            69: novalue_option2=                       
        !            70: novalue_option3                  =
        !            71: novalue_option4=
        !            72: novalue_option4[]               =
        !            73: novalue_option4[]=              
        !            74: novalue_option4[]=
        !            75: 
        !            76: ["Quoted strings and variables in sections"]
        !            77: 
        !            78: [${basicval}]
        !            79: [${basicval}/foo]
        !            80: [foo/${basicval}]
        !            81: [foo/${basicval}/foo]
        !            82: 
        !            83: ["${basicqval}"]
        !            84: ["${basicqval}/foo"]
        !            85: ["foo/${basicqval}"]
        !            86: ["foo/${basicqval}/foo"]
        !            87: 
        !            88: [PATH=${basicval}/no/quotes]
        !            89: ; Invalid!
        !            90: ;[PATH="${basicval}/path/quoted"]
        !            91: ["PATH=${basicval}/all/quoted"]
        !            92: 
        !            93: ; This is test for bug #29306
        !            94: [01]
        !            95: e=e
        !            96: f=f
        !            97: [02]
        !            98: g=g
        !            99: h=h
        !           100: [1]
        !           101: a=a
        !           102: b=b
        !           103: [2]
        !           104: c=c
        !           105: d=d
        !           106: [0815]
        !           107: bla=bla
        !           108: 
        !           109: ;Test for bug #43923
        !           110: [bug #43923]
        !           111: curly1 = {
        !           112: curly2 = "{"
        !           113: curly3 = '{'
        !           114: 
        !           115: ;Test for bug #44019
        !           116: [bug #44019]
        !           117: concatenation_before = TEST_CONSTANT "+some_text_after"
        !           118: concatenation_middle = "some_text_before+" TEST_CONSTANT "+some_text_after"
        !           119: concatenation_after = "some_text_before+" TEST_CONSTANT
        !           120: concatenation_nows_before = TEST_CONSTANT"+some_text_after"
        !           121: concatenation_nows_middle = "some_text_before+"TEST_CONSTANT"+some_text_after"
        !           122: concatenation_nows_after = "some_text_before+"TEST_CONSTANT
        !           123: 
        !           124: ;Test for bug #43915
        !           125: [bug #43915]
        !           126: ini_with-hyphen = with hyphen and underscore
        !           127: ini.with-hyphen = dot and hyphen
        !           128: ini-with.hyphen = hyphen and dot
        !           129: 
        !           130: [windows paths]
        !           131: winpath1="c:\some windows\path\test\new\r\quote \" here\single ' quote\some more"
        !           132: winpath2="special case\"

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