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