repo.or.cz
/
phplua.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version
[phplua.git]
/
examples
/
lua.php
blob
2b53a7c064d75b5cac184afb367cae476b221bbc
1
<
?php
2
class
testung
3
{
4
public function
hass
(
$string
)
5
{
6
print
"HAHAHAHA"
;
7
}
8
}
9
try
{
10
$l
=
new
lua
();
11
$l
->
print
(
"hmm"
);
12
$l
->
evaluatefile
(
$_SERVER
[
"argv"
][
1
]);
13
14
}
15
16
catch
(
Exception
$e
) {
17
18
print_r
(
$e
);
19
}
20
21
?
>