Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lua(3) [php man page]

LUA(3)									 1								    LUA(3)

The Lua class

INTRODUCTION
CLASS SYNOPSIS
Lua Lua Constants o const string$Lua::LUA_VERSIONLua 5.1.4 Methods o public mixed Lua::assign (string $name, string $value) o public mixed Lua::call (callable $lua_func, [array $args], [int $use_self]) o public mixed Lua::__call (callable $lua_func, [array $args], [int $use_self]) o public Lua::__construct (string $lua_script_file = NULL) o public mixed Lua::eval (string $statements) o public string Lua::getVersion (void ) o public mixed Lua::include (string $file) o public mixed Lua::registerCallback (string $name, callable $function) PREDEFINED CONSTANTS
o Lua::LUA_VERSION - PHP Documentation Group LUA(3)

Check Out this Related Man Page

ARRAYOBJECT(3)								 1							    ARRAYOBJECT(3)

The ArrayObject class

INTRODUCTION
This class allows objects to work as arrays. CLASS SYNOPSIS
ArrayObject ArrayObjectIteratorAggregateArrayAccessSerializableCountable Constants o const integer$STD_PROP_LIST1 o const integer$ARRAY_AS_PROPS2 Methods o public ArrayObject::__construct ([mixed $input = []], [int $flags], [string $iterator_class = "ArrayIterator"]) o public void ArrayObject::append (mixed $value) o public void ArrayObject::asort (void ) o public int ArrayObject::count (void ) o public array ArrayObject::exchangeArray (mixed $input) o public array ArrayObject::getArrayCopy (void ) o public int ArrayObject::getFlags (void ) o public ArrayIterator ArrayObject::getIterator (void ) o public string ArrayObject::getIteratorClass (void ) o public void ArrayObject::ksort (void ) o public void ArrayObject::natcasesort (void ) o public void ArrayObject::natsort (void ) o public bool ArrayObject::offsetExists (mixed $index) o public mixed ArrayObject::offsetGet (mixed $index) o public void ArrayObject::offsetSet (mixed $index, mixed $newval) o public void ArrayObject::offsetUnset (mixed $index) o public string ArrayObject::serialize (void ) o public void ArrayObject::setFlags (int $flags) o public void ArrayObject::setIteratorClass (string $iterator_class) o public void ArrayObject::uasort (callable $cmp_function) o public void ArrayObject::uksort (callable $cmp_function) o public void ArrayObject::unserialize (string $serialized) PREDEFINED CONSTANTS
ARRAYOBJECT FLAGS
o ArrayObject::STD_PROP_LIST -Properties of the object have their normal functionality when accessed as list (var_dump, foreach, etc.). o ArrayObject::ARRAY_AS_PROPS -Entries can be accessed as properties (read and write). CHANGELOG
+--------+---------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------+ | 5.3.0 | | | | | | | Implements Serializable. | | | | +--------+---------------------------+ PHP Documentation Group ARRAYOBJECT(3)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

evaluating variables

Hi I have a script in which I have several variables var1 var2 var3 var4 etc...... and field1 field2 field3 field4 etc....... The script similar to this: (6 Replies)
Discussion started by: Bab00shka
6 Replies

2. Shell Programming and Scripting

* character evaluating too soon - Help!

I have a user defined configuration file, which could contain the following type of entries: directory_001=/a/directory/structure pattern_001=fred* pattern_002=* I have a script which reads the file generically which will loop round loop 1 genvar=”directory” iteration=”001” ... (11 Replies)
Discussion started by: Bab00shka
11 Replies

3. Shell Programming and Scripting

for loop, calling and editing multiple files inside

hey guys, I'm trying to call and modify multiple files inside the for loop, i can't get it to work... ------------------------ AFILE=/dir/a_file.txt BFILE=/dir/b_file.txt CFILE=/dir/c_file.txt ADESTFILE=/dir/a_dest_file.txt BDESTFILE=/dir/b_dest_file.txt... (6 Replies)
Discussion started by: DeuceLee
6 Replies

4. UNIX for Dummies Questions & Answers

Alias /usr/bin to /bin in profile

Hi! All the basic linux commands, ie. echo, find, etc, are located in /bin. I have a couple of programs that have these commands pointed towards /usr/bin, ie, /usr/bin/echo (even though the actual 'echo' command is in /bin). How can I alias or redirect or link the /usr/bin to /bin just for this... (6 Replies)
Discussion started by: dancerat
6 Replies

5. UNIX for Dummies Questions & Answers

BASH: getting a script to "do" what's after "done"

The script: #!/bin/bash SAVEIFS=$IFS IFS=$(echo -en "\n\b") w=$(ls *.jpg | wc -l) x=1 z=0 for file in $(ls *.jpg); do echo "Evaluating #$x of $w, $file..." sleep 0.2s MANY=$(exiv2 -g Exif.Image.Software $file) if ] then exiv2 -M"del Exif.Image.Software" modify $file echo... (8 Replies)
Discussion started by: SilversleevesX
8 Replies

6. UNIX for Dummies Questions & Answers

cp command evaluation

Hi all! I'm writting one script to copy a file in various folders, but there are 2 things to validate. First that the folder where i'll be cpying exists, and second that i have permissions to copy the file in it. so far i have found the way to validate the folder exists, but when trying to... (6 Replies)
Discussion started by: feliperivera
6 Replies

7. Shell Programming and Scripting

[Solved] If doesn't evaluate the first test

Good afternoon, I am tearing hair out over this. It should be so simple. I have an if statement to evaluate whether or not replication is working. I am testing variables from mysql to see if they are both "Yes". I have put some echo statements in to see how far the code proceeds. It always... (6 Replies)
Discussion started by: jimm
6 Replies

8. UNIX for Dummies Questions & Answers

How does ||: evaluate?

In BASH, how does ||: get interpreted. I know || is logical or. And I believe : evaluates to true. Can someone give a thorough explanation for this usage? Example for i in $IGGY do && skipdb=1 || : (6 Replies)
Discussion started by: glev2005
6 Replies

9. Shell Programming and Scripting

awk evaluating a string as a math expression

Hi, I am writing a script in awk trying to replace strings that are math expressions with their result. For example, I have a file that looks like this: 5-1 32/8-1 4*12 17+1-3 I would like to get the following output: 4 3 48 15 I tried doing it the following way (using the "bc"... (8 Replies)
Discussion started by: avi.levi
8 Replies

10. Shell Programming and Scripting

Awk: Assigning a variable to be the value of FNR at a certain line

Sorry for the probably strangely worded title but I don't really know how else to put it. Background context: Post processing LAMMPS simulation data. tl;dr: I'm making two spheres collide, every defined timestep the simulation outputs a bunch of data including total energy of the particles,... (10 Replies)
Discussion started by: ThomasP
10 Replies

11. Shell Programming and Scripting

How to Force command substitution evaluation in bash?

OK, I'm striving to abide by all the rules this time. Here is a fragment of my windows10/cygwin64/bash script: export BUPLOG=$(BackupRecords --log "$src") robocopy $(BackupRecords -mrbd "$src" --path "$src") $(BackupRecords --appSwitches "$src") "$src" "$dst" $(BackupRecords --fileSwitches... (15 Replies)
Discussion started by: siegfried
15 Replies

12. UNIX for Beginners Questions & Answers

HTML color code and tabluar issue

input data in a file servic webservice.somthing 200 OK servic1 webservice.somthing 200 OK servic1 webservice.somthing 400 BAD REQEST Below script is making tabular form perfectly. but there are two thing i am not able to achive 1.how can i color the complete row as red when it see '400' in... (12 Replies)
Discussion started by: mirwasim
12 Replies

13. Shell Programming and Scripting

Problem evaluating condition

First, given this bit of code (line numbers included for reference: 59 get_all_db () { 60 #echo getting all db 61 dblist=`egrep -i "product/12" /etc/oratab |grep -v "listener"|\ 62 awk -F\: '{print $1}'|sort` 63 echo list is $dblist 64 echo 65 echo 66 echo "INSTANCE_NAME ... (15 Replies)
Discussion started by: edstevens
15 Replies

14. AIX

Older versions of the XL C/C++ Evaluation for AIX 5.3

Hello, IBM offers a evaluation version of their XL C/C++ compiler. Unfortunatly v16.1 (from Developerworks) can not be installed on AIX 5.3 (I can not upgrade my old 32 Bit RS/6000 to a later version) and I have not found any older versions on the IBM and Developerworks pages. Is there a... (8 Replies)
Discussion started by: eh2scqw
8 Replies