1--TEST--
2Test strict declaration being first operation only 002
3--FILE--
4<?php
5
6namespace Foo;
7
8declare(strict_types=1);
9
10var_dump(strlen("abc"));
11
12?>
13--EXPECTF--
14Fatal error: strict_types declaration must be the very first statement in the script in %s on line %d
15