• PHP Video Tutorials

PHP - Lua Functions



The Lua is a powerful, fast, light-weight, embeddable scripting language. This extension can embed the Lua interpreter and offer an OO-API to Lua variables and functions.

Sr.No Functions & Description
1

Lua::assign Function

This function can assign a PHP variable to Lua.

2

Lua::call() Function

Lua::__call — Call Lua functions

3

Lua class Function

Lua Class Function

4

Lua::__construct() Function

This function is the Lua constructor.

5

Lua::eval() Function

This function can evaluate a string as Lua code.

6

Lua::getVersion() Function

This function can be used for getversion purpose.

7

Lua::include() Function

This function can parse a Lua script file.

8

Lua::registerCallback() Function

This function can register a PHP function to Lua.

Advertisements