1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00
Files
archived-php-src/Zend/tests/constants_008.phpt
T
2020-02-03 22:52:20 +01:00

18 lines
210 B
PHP

--TEST--
Defining constant twice with two different forms
--FILE--
<?php
define('a', 2);
const a = 1;
if (defined('a')) {
print a;
}
?>
--EXPECTF--
Notice: Constant a already defined in %s on line %d
2