On Tue, Jul 31, 2012 at 7:52 PM, Richard Lynch <c...@l-i-e.com> wrote:

> I must be doing something incredibly stupid, because it's only 11
> lines...
>
> --TEST--
> Check that an opponent response works
> --COOKIE--
> side=left;game_id=1
> --FILE--
> <?php
>   error_log(print_r($_COOKIE, 1)."\n", 3, './003_log.txt');
>   require '../client.php';
> ?>
> --EXPECTF--
> {"opponent":"%r[0-9a-f]{32}%r"}
>
> ACTUAL OUTPUT in 003_log.txt
> Array
> (
> )
>
> EXPECTED OUTPUT
> Array
> (
>     [side] => left
>     [game_id] => 1
> )
>
>
>
>
hi,

running your snippet generates the expected output for me(apart the fact
that I don't have ../client.php so I commented out that line)
if you still have this problem could you paste your configure line, the
command what you use for executing the test and the contents of
your tmp-php.ini in your php-src directory?

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

Reply via email to