01-17-2013
Quote:
Originally Posted by
bakunin
First off: we have "CODE"-tags and "PHP"-tags. Please use "CODE"-tags for terminal output and data, not "PHP"-tags, because the latter are expecting PHP-code inside, which you are not posting. The button to add "CODE"-tags is labeled "CODE", the button for PHP-tags is labeled "PHP. This should make it possible to discern one from the other with finite effort. Thanks.
It might be that the information in your ODM is somehow corrupted (this happens sometime). Try to correct this by using the "synclvodm" command and "cfgmgr". You can even dump the contents of the ODM by using the "odmget" command. See the man pages of the respective commands for details.
I hope this helps.
bakunin
sorry for PHP code
my friend is restarting the system in this case can be a sloution becouse i can not extend any mount point under rootvg
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
how can i determine that
what percentage of stack region is currently is used?
(i am using tru64 unix) (2 Replies)
Discussion started by: yakari
2 Replies
2. AIX
Dear All,
I have two h.disks.
Please advice for how to create a new folder/directory in hdisk1 instead of the hdisk0? I need to use the folder to store for xmlfiles for my application accessing to read it.
Thank a lots.
Best Regards,
Tom (3 Replies)
Discussion started by: lwy2020
3 Replies
3. Solaris
Hello experts,
I am using Veritas Volume Manager 5.0. How can i take private region backup and restoration.
thanks in advance... (3 Replies)
Discussion started by: younus_syed
3 Replies
4. UNIX for Advanced & Expert Users
Hello all,
I have a question about what you think the best practice is to determine what region you are running on when you have a system setup with a DEV/TEST, QA, and PROD regions running the same scripts in all.
So, when you run in DEV, you have a different directory structure, and you... (4 Replies)
Discussion started by: Rediranch
4 Replies
5. Programming
Hi guys,
I hope everybody is doing fine. I have written this small program which solves the critical region problem. Only on of the two threads can make changes to a common variable called counter. I am using two semaphores, is it possible to write the same program using only one semaphore? Here... (0 Replies)
Discussion started by: gabam
0 Replies
6. Shell Programming and Scripting
How can I find the regions between specific lines?
I have a file which contains lines like this:
chr1 0 17388 0
chr1 17388 17444 1
chr1 17444 17599 2
chr1 17599 17601 1
chr1 17601 569791 0
chr1 569791 569795 1
chr1 569795 569808 2
chr1 569808 569890 3
chr1 569890 570047 4 ... (9 Replies)
Discussion started by: linseyr
9 Replies
7. Shell Programming and Scripting
portsuf=25
port=20925
I need to replace 09 with 25
It should be like 22525.
Can some please help with command or script. (4 Replies)
Discussion started by: bhas85
4 Replies
8. Programming
Hello, I am trying to concatenate two strings by merging the overlapped region. E.g.
Seq1=ACGTGCCC
Seq2=CCCCCGTGTGTGT
Seq_merged=ACGTGCCCCCGTGTGTGTFunction strcat(char *dest, char *src) appends the src string to the dest string, ignoring the overlapped parts (prefix of src and suffix of dest).... (30 Replies)
Discussion started by: yifangt
30 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I would like to know how can I get a mean score value by ID over a defined genomic region. Here it is an example:
file1
12 100 103 id1
12 110 112 id1
12 200 203 id2
file2
12 100 101 1
12 101 102 0.8
12 102 103 0.7
12 110 111 2.5
12 111 112 2.8
12 200 201 10.1
12 201 202... (7 Replies)
Discussion started by: fadista
7 Replies
10. AIX
Hello,
I have a P-series running AIX 5.3 and hdisk1 is failing.
hdisk0 and hdisk1 are mirrored rootvg.
My question is, I have an expansion cabinet that has two disks in it that I believe have never been used. I want to replace hdisk1 with one of the unused disks. (hdisk36 or hdisk37)
... (1 Reply)
Discussion started by: DanCampbell
1 Replies
LEARN ABOUT PHP
token_get_all
TOKEN_GET_ALL(3) 1 TOKEN_GET_ALL(3)
token_get_all - Split given source into PHP tokens
SYNOPSIS
array token_get_all (string $source)
DESCRIPTION
token_get_all(3) parses the given $source string into PHP language tokens using the Zend engine's lexical scanner.
For a list of parser tokens, see "List of Parser Tokens", or use token_name(3) to translate a token value into its string representation.
PARAMETERS
o $source
- The PHP source to parse.
RETURN VALUES
An array of token identifiers. Each individual token identifier is either a single character (i.e.: ;, ., >, !, etc...), or a three ele-
ment array containing the token index in element 0, the string content of the original token in element 1 and the line number in element 2.
EXAMPLES
Example #1
token_get_all(3) examples
<?php
$tokens = token_get_all('<?php echo; ?>'); /* => array(
array(T_OPEN_TAG, '<?php'),
array(T_ECHO, 'echo'),
';',
array(T_CLOSE_TAG, '?>') ); */
/* Note in the following example that the string is parsed as T_INLINE_HTML
rather than the otherwise expected T_COMMENT (T_ML_COMMENT in PHP <5).
This is because no open/close tags were used in the "code" provided.
This would be equivalent to putting a comment outside of <?php ?> tags in a normal file. */
$tokens = token_get_all('/* comment */'); // => array(array(T_INLINE_HTML, '/* comment */'));
?>
CHANGELOG
+--------+----------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+----------------------------------------+
| 5.2.2 | |
| | |
| | Line numbers are returned in element 2 |
| | |
+--------+----------------------------------------+
PHP Documentation Group TOKEN_GET_ALL(3)