How to define parameter with constant variables for function in php?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/254514/php-and-enums">PHP and Enums</a>  </p>
</blockquote>



<p>I want to create a function with several parameters that one of them has several constant variable.
for example:</p>

<pre><code>&lt;?php
function print($str, $num){...}
.
.
.
print("omid",one);
print("omid",two);
?&gt;
</code></pre>

<p>in this example $num consist of constant variable:"one,two, three"
Now, how to implement it? is there Enum in php?</p>

<p>thanks your time</p>
