define constant in php
Posted
by jera
on Stack Overflow
See other posts from Stack Overflow
or by jera
Published on 2010-05-03T04:13:36Z
Indexed on
2010/05/03
4:18 UTC
Read the original article
Hit count: 485
how do I define a constant inside a function
eg.
class {
public test;
function tester{
const test = "abc";
}
}
© Stack Overflow or respective owner