Annotation of embedaddon/php/ext/standard/tests/strings/bug27295.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #27295 (memory leak inside sscanf())
                      3: --FILE--
                      4: <?php
                      5: $strings = array("foo = bar", "bar = foo");
                      6: foreach( $strings as $string )
                      7: {
                      8:        sscanf( $string, "%s = %[^[]]", $var, $val );
                      9:        echo "$var = $val\n";
                     10: }
                     11: ?>
                     12: --EXPECT--
                     13: foo = bar
                     14: bar = foo

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