creating a new operator
Posted: Sat Aug 28, 2004 6:46 pm
Hey guys,
Just wanted to know if it were possible to use "define" or something of the like to create a new operator?
I want something like this:
So i can construct text based arguments:
Thanks guys
Just wanted to know if it were possible to use "define" or something of the like to create a new operator?
I want something like this:
Code: Select all
define ( "not" , ! , true );Code: Select all
<?php
if ( not $x )
{
return false;
}
?>