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
lua callbacks are now object bound
[phplua.git]
/
examples
/
example1.php
blob
4b65989154394907d9d086127c044074236422c6
1
<
?php
2
3
try
{
4
$l
=
new
lua
();
5
$l
->
evaluatefile
(
"script.lua"
);
6
7
}
8
9
catch
(
Exception
$e
) {
10
11
print_r
(
$e
);
12
}
13
?
>