mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
16 lines
309 B
PHP
16 lines
309 B
PHP
--TEST--
|
|
Attribute validation callback of internal attributes.
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('zend-test')) {
|
|
echo "skip requires zend-test extension\n";
|
|
}
|
|
--FILE--
|
|
<?php
|
|
|
|
@@ZendTestAttribute
|
|
function foo() {
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Only classes can be marked with @@ZendTestAttribute in %s
|