converting string to uppper case in PHP
//string to all uppercase
$string = "String with Mixed use of Uppercase and Lowercase";
//php string to uppercase
$string = strtoupper($string);
// = "STRING WITH MIXED USE OF UPPERCASE AND LOWERCASE"$lowercase = "this is lower case";
$uppercase = strtoupper($lowercase);
echo $uppercase;
// THIS IS LOWER CASE
Also in PHP:
- check type of variable laravel
- $testing_recipient_email_list = str_replace('@', "+{$recipient}@", $testing_recipient_email);
- How to add days to $Date in PHP when click on button
- ccreate array php
- Artisan call Cache:clear
- buddypress author link
- exceptions in php
- autoloading classes
- check substring in string php
- 'laravel collective"Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52
- Warning: mysqli_fetch_all() expects parameter 1 to be mysqli_result, bool given in C:\newxammp\htdocs\learn\index.php on line 11
- find string in a string php
- Activate errors tracking in your script using the ini_set() function
- exception php throw
- codeigniter get last query
- blocklab post loop
- encryption and decryption in codeigniter
- creat folder in php
- clear laragon cache
- date format php keep string
- display date format in php
- Add 2 hours to current time in cakephp
- dateformat j/m/a php
- Create image data URIs (base64) using PHP Raw