Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

strtolower(3) [php man page]

STRTOLOWER(3)								 1							     STRTOLOWER(3)

strtolower - Make a string lowercase

SYNOPSIS
string strtolower (string $string) DESCRIPTION
Returns $string with all alphabetic characters converted to lowercase. Note that 'alphabetic' is determined by the current locale. This means that e.g. in the default "C" locale, characters such as umlaut-A (A) will not be converted. PARAMETERS
o $string - The input string. RETURN VALUES
Returns the lowercased string. EXAMPLES
Example #1 strtolower(3) example <?php $str = "Mary Had A Little Lamb and She LOVED It So"; $str = strtolower($str); echo $str; // Prints mary had a little lamb and she loved it so ?> NOTES
Note This function is binary-safe. SEE ALSO
strtoupper(3), ucfirst(3), ucwords(3), mb_strtolower(3). PHP Documentation Group STRTOLOWER(3)

Check Out this Related Man Page

UCWORDS(3)								 1								UCWORDS(3)

ucwords - Uppercase the first character of each word in a string

SYNOPSIS
string ucwords (string $str) DESCRIPTION
Returns a string with the first character of each word in $str capitalized, if that character is alphabetic. The definition of a word is any string of characters that is immediately after a whitespace (These are: space, form-feed, newline, car- riage return, horizontal tab, and vertical tab). PARAMETERS
o $str - The input string. RETURN VALUES
Returns the modified string. EXAMPLES
Example #1 ucwords(3) example <?php $foo = 'hello world!'; $foo = ucwords($foo); // Hello World! $bar = 'HELLO WORLD!'; $bar = ucwords($bar); // HELLO WORLD! $bar = ucwords(strtolower($bar)); // Hello World! ?> NOTES
Note This function is binary-safe. SEE ALSO
strtoupper(3), strtolower(3), ucfirst(3), mb_convert_case(3). PHP Documentation Group UCWORDS(3)
Man Page

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SIMPLE HTTP PROXY SERVER CHECKER (Completed)

Simple Http Proxy Server Checker Script with curl mirror proxies-scripts/proxc at master * Anoncheg1/proxies-scripts * GitHub output in terminal HTTP, HTTP Connect (HTTPS not supported) command line: proxc filename where filename is file like 119.110.69.185:8080 119.235.16.41:8080... (4 Replies)
Discussion started by: 654321
4 Replies

2. Shell Programming and Scripting

How to fix my IMDB Script

Hello, I am using IMDB bot file for my movie site.. But I get this message like this---Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in... (2 Replies)
Discussion started by: lg2013
2 Replies

3. Shell Programming and Scripting

Sed/replace help

How can we empty or replace with null, following block of code (within the php quotes including the quotes) from inside a file. *** some other data above this code <? #317008# ... (5 Replies)
Discussion started by: fed.linuxgossip
5 Replies

4. UNIX for Dummies Questions & Answers

Deleting from .php files

Hello, I have infected .php files on my server with some code (example at the bottom,code marked red must be deleted, all .php files were infected with this same code). I was wondering how can i delete the first <?php ?> with that all code inside ?:confused: I already tried with : find . -name... (20 Replies)
Discussion started by: Corlex31
20 Replies

5. What is on Your Mind?

New Icons Coming from Font Awesome

Finally making some progress on getting rid of the 10 year old buttons with modern day fonts and icons thanks to a responsive web design tutorial by Brad Traversy who's video pointed me to Font Awesome. The buttons and icons were pretty easy to implement but it too me a number of hours... (39 Replies)
Discussion started by: Neo
39 Replies

6. What is on Your Mind?

Man Page Reformatted on Mobile (and Desktop)

After experimenting with various Linux utilities like man2html and mandocs and other formats and software, none of them worked as well (or as clear) as by formatting by using PHP preg_replace() to add some CSS elements (wrappers) and then using the <pre> element combined with using jQuery to... (1 Reply)
Discussion started by: Neo
1 Replies

7. Web Development

Creating a Simple Linux Dashboard with Oracle Jet

Creating a Simple Linux Dashboard with Oracle Jet - Part 1 the Server Side PHP Code Creating a simple Linux dashboard with Oracle Jet is easy and fun. It's simple to create a dashboard to monitor your Linux server using Oracle JET. The sky is the limit with indicators and gauges. ... (7 Replies)
Discussion started by: Neo
7 Replies