Fundamentals: Keywords
Ara has a set of reserved keywords, which usually cannot be used as identifiers.
The list of keywords is:
abstract
as
async
await
break
case
catch
class
clone
concurrently
const
continue
default
dict
do
else
elseif
enum
exit
extends
false
final
finally
for
foreach
from
function
if
implements
in
instanceof
insteadof
interface
into
is
isset
namespace
new
null
parent
private
protected
public
readonly
return
self
static
static
throw
trait
true
try
type
unset
use
vec
where
while
yield
In addition the following keywords are reserved for historical reasons, but are not used in the current version of Ara:
and
array
callable
declare
echo
empty
enddeclare
endfor
endforeach
endif
endswitch
endwhile
global
goto
list
or
print
switch
var
xor