1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 15:12:39 +02:00
Files
archived-php-src/Zend/tests/constants_008.phpt
Felipe Pena 77e7f1c191 - New tests
2008-08-25 19:36:01 +00:00

18 lines
207 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