all words capital 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"$foo = 'hello world!';
$foo = ucwords($foo); // Hello World!
$bar = 'HELLO WORLD!';
$bar = ucwords($bar); // HELLO WORLD!
$bar = ucwords(strtolower($bar)); // Hello World!
//With custom delimiter
$foo = 'hello|world!';
$bar = ucwords($foo); // Hello|world!
$baz = ucwords($foo, "|");
Also in PHP:
- array_merge() does not accept unknown named parameters laravel
- blob image to base64 php
- php auto refresh page
- convert base64 to image php
- $_server url
- catch error exception php
- clear file cache laravel
- find key in array php
- all uppercase php
- console.log on php
- convert string to int php 7
- clearn route cacje laravel
- append rand php to string
- find string php
- 500 SERVER ERROR from laravel
- dispaly eroor php
- Databases supported by php
- Allowed memory size of 1610612736 bytes exhausted laragon
- check substring php
- HTML form, add the data into it and submit it to the database by connecting it to MySQL database using PHP.
- The key "initial" is not recognized and ignored.
- after create a new laravel project and copy old project on it how insatall all packages
- Woocommerce Getting Session Variable Value direct in Billing Address [php Session]
- check if string contain element php