'/\b\S+$/e' => strtoupper
//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"
Also in PHP:
- attach a file to email php
- check if character exists in string php
- custom factory in laravel 8
- count of string in laravel
- execute query and use die in php
- create seed in laravel
- add customer attributes via upgrad data in magento 2
- display data from two dimensional array in vew laravel
- PHP if contains string
- July 2, 2019 php date format
- array_push php
- clear date formatting php
- $data=['user_id'] = Auth::user()->id;
- "Allowed memory size of 134217728 bytes exhausted (tried to allocate 56627200 bytes)" in wamp
- authenticate user with phone laravel
- database date time format in php
- array has key pp
- array_key_exists not finding numbers
- .php how to run
- display message on laravel after post
- drupal/core 8.9.7 requires ext-dom * -> the requested PHP extension dom is missing from your system. docker
- error_reporting in php.ini file
- format DateTime object php
- convert y-m-d to timestamp php