can someone tell me a good site to go to in order to learn this. please do not recommen nay books because i dont have interest in that. if you know of any good sites with good straight forward explanation on how to split loads on machines that has excessive loading, please let me know
Also,... (1 Reply)
I have an Apache 1.3.27 on a Solaris 8 Sun box that I am trying to tweek out for max performance. The only documentation I have run accross is on apache.org. I also have the O'Reilly Apache book. Anyone have another source I can refer to? (2 Replies)
Hi to all,
I'm interested in finding an introduction about Performance Tuning under Unix (or Linux); can somebody please point me in the right direction?
Best regards (1 Reply)
Does anyone had perfomed a tuning with SAS on Solaris???
Performance is not so good and I found out that Share Memory an Semaphores are the same that initial instalation, I havent found info at internet
Please help (1 Reply)
Hi
I am trying to investigate a disk performance issue, and we are not seem to be hitting the right direction in our analysis.
This is a FC disk running on USP1000 HDS system. The application is an IO intensive application, but our opinion is that it is not performing due to perceived disk... (1 Reply)
Hi All,
In last one week, i have posted many questions in this portal. At last i am succeeded to make my 1st unix script.
following are 2 points where my script is taking tooooo long.
1. Print the total number of records excluding header & footer. I have found that awk 'END{print NR -... (2 Replies)
We have been tuning MySQL lately and I ran accoss two useful tools that you might be interested in:
mysqltuner.pl
tuning-primer.sh
Both of these scripts are quite useful for MySQL tuning. Here is some sample output of mysqltuner.pl
>> MySQLTuner 0.9.8 - Major Hayden... (3 Replies)
Hi all, I would like to tune the nxge card as suggested by this link, but got some confusion. Can anyone advise me ?
We have
SunOS hsbc02 5.10 Generic_137137-09 sun4v sparc SUNW,Netra-CP3260
Do I have to install any patches ?
The tunning link
Networks - Siwiki
In our nxge.conf, I... (0 Replies)
Discussion started by: dehetoxic
0 Replies
LEARN ABOUT PHP
boolval
BOOLVAL(3) 1 BOOLVAL(3)boolval - Get the boolean value of a variableSYNOPSIS
boolean boolval (mixed $var)
DESCRIPTION
Returns the boolean value of $var.
PARAMETERS
o $var
- The scalar value being converted to a boolean.
RETURN VALUES
The boolean value of $var.
EXAMPLES
Example #1
boolval(3) examples
<?php
echo '0: '.(boolval(0) ? 'true' : 'false')."
";
echo '42: '.(boolval(42) ? 'true' : 'false')."
";
echo '0.0: '.(boolval(0.0) ? 'true' : 'false')."
";
echo '4.2: '.(boolval(4.2) ? 'true' : 'false')."
";
echo '"": '.(boolval("") ? 'true' : 'false')."
";
echo '"string": '.(boolval("string") ? 'true' : 'false')."
";
echo '"0": '.(boolval("0") ? 'true' : 'false')."
";
echo '"1": '.(boolval("1") ? 'true' : 'false')."
";
echo '[1, 2]: '.(boolval([1, 2]) ? 'true' : 'false')."
";
echo '[]: '.(boolval([]) ? 'true' : 'false')."
";
echo 'stdClass: '.(boolval(new stdClass) ? 'true' : 'false')."
";
?>
The above example will output:
0: false
42: true
0.0: false
4.2: true
"": false
"string": true
"0": false
"1": true
[1, 2]: true
[]: false
stdClass: true
SEE ALSO floatval(3), intval(3), strval(3), settype(3), is_bool(3), Type juggling.
PHP Documentation Group BOOLVAL(3)