1--TEST-- 2Attribute flags type is validated. 3--FILE-- 4<?php 5 6#[Attribute("foo")] 7class A1 { } 8 9?> 10--EXPECTF-- 11Fatal error: Attribute::__construct(): Argument #1 ($flags) must be of type int, string given in %s 12