File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests / ns_046.phpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:47:52 2012 UTC (12 years, 4 months ago) by misho
CVS tags: MAIN, HEAD
Initial revision

--TEST--
046: Run-time name conflict and constants (ns name)
--FILE--
<?php
namespace test\ns1;

const INI_ALL = 0;

var_dump(constant("test\\ns1\\INI_ALL"));
--EXPECT--
int(0)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>