covert string to all uppercase 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:
- create auto image path folder in laravel 8
- displaying laravel error in below input field
- change font color if background is dark or light in php
- create array from string with commas php
- datetime format u
- enable error php
- codeigniter insert get id
- Exception handling for php
- PHP Fatal error: Uncaught Error: Call to undefined function curl_init
- creayte date in ph
- How to add days to $Date in PHP when click on button
- check if string includes substring php
- error_reporting all
- - phpunit/phpunit 8.5.x-dev requires ext-dom * -> the requested PHP extension dom is missing from your system.
- create a laravel project comand line
- content for php.ini created manually
- date('d/m/Y H:i:s') now
- auto generate password in php
- "Allowed memory size of 134217728 bytes exhausted (tried to allocate 56627200 bytes)" in wamp
- current time in php
- check if someone right click javascript
- change native password in phpmyadmin
- echo date
- current timestamp with sec in php to strstring