1--TEST--
2Attribute validation callback of internal attributes.
3--EXTENSIONS--
4zend_test
5--FILE--
6<?php
7
8#[ZendTestAttribute]
9function foo() {
10}
11?>
12--EXPECTF--
13Fatal error: Only classes can be marked with #[ZendTestAttribute] in %s
14